Searched refs:json_type (Results 1 – 3 of 3) sorted by relevance
72 def get_js(json_type): argument73 if json_type == "boolean":75 elif json_type == "string":77 elif json_type == "array":79 elif json_type == "object":81 elif json_type == "integer":83 elif json_type == "number":85 elif json_type == "any":88 raise Exception("Unknown type: %s" % json_type)92 def __init__(self, json_type): argument[all …]
179 json_type = json.get('type', None)180 if json_type == 'array':187 elif 'enum' in json and json_type == 'string':190 elif json_type == 'any':192 elif json_type == 'binary':194 elif json_type == 'boolean':196 elif json_type == 'integer':198 elif (json_type == 'double' or199 json_type == 'number'):201 elif json_type == 'string':[all …]
177 def get(json_type): argument178 if json_type == "boolean":180 elif json_type == "string":182 elif json_type == "array":184 elif json_type == "object":186 elif json_type == "integer":188 elif json_type == "number":190 elif json_type == "any":193 raise Exception("Unknown type: %s" % json_type)800 json_type = type_data.get_json_type()[all …]