Home
last modified time | relevance | path

Searched refs:type_json (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/tools/json_schema_compiler/
Dmodel.py209 def generate_type_name(type_json): argument
210 if 'items' in type_json:
211 return '%ss' % generate_type_name(type_json['items'])
212 if '$ref' in type_json:
213 return type_json['$ref']
214 if 'type' in type_json:
215 return type_json['type']
525 for type_json in json.get('types', []):
526 type_ = Type(parent, type_json['id'], type_json, namespace, origin)