def json_value(xml_node, xml_node_value):
    if hasattr(xml_node, "disp_meta_"):
        json_type = PROPERTY_TYPE_TO_JSON_TYPE.get(
            get_instance_type_name(xml_node.disp_meta_))
        if(json_type):
            xml_node_value = json_type(xml_node_value)
    return xml_node_value
Returns the given xml node's value as the appropriate json type.
dataset/ETHPy150Open jahlborn/appengine-rest-server/src/main/python/rest/__init__.py/json_value