Modules.jsonio_lib¶
Wraps araound the json and the json schema module. It also converts JSON and JSON schema into appropriate data structures for Python and QT.
Functions
|
Wrapper for the JSONDecoder function. |
|
takes a dict generated either from a schema or a JSON and a reference dict from a schema and builds the tree model needed for the TreeView. |
|
A function generating a blank JSON-like python structure from the schema. |
|
converts the tree back to a nested dict. |
|
a small helper function for simplifying type guessing for a JSON that does not have a proper schema. |
|
The validator function shall wrap around json.load and validate a JSON file against a Schema file. |
|
Similarly to validator_files, but instead with a string representation of the JSON |