core/parser/json_parser library
Classes
- JsonParser
-
Parses JSON into a tree of WidgetDescriptor. Supports optional
schemaVersionanduiwrapper. Normalizes tochildrenfor layout nodes. ValidatesschemaVersionwhen present; backward compatibility within major version. - ParsedUi
- Result of parsing root JSON (may include schemaVersion and ui wrapper).
- WidgetDescriptor
- Descriptor for a single widget node in the JSON tree.
Constants
-
supportedSchemaVersions
→ const List<
String> -
Supported schema versions. If
schemaVersionis present in JSON and not in this list, JsonParser.parseMap throws JsonParserException.