summaryrefslogtreecommitdiff
path: root/json-glib/json-serializable.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2012-10-25 17:08:58 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2012-10-25 17:08:58 +0100
commit6e9c38dd0c82c322a9e98315cb22c2b771b1830f (patch)
treeadf352fe4b72c43bc5ef4f46a4bf1899a7768fb4 /json-glib/json-serializable.c
parent5f6ef962097916ae2908e9190d5ba62533ae33ca (diff)
downloadjson-glib-6e9c38dd0c82c322a9e98315cb22c2b771b1830f.tar.gz
parser: Consolidate value parsing
Instead of doing a preliminary check when parsing arrays and objects, we should just call json_parse_value() and let it handle all the valid values and eventual error cases. This simplifies error handling and makes it more reliable.
Diffstat (limited to 'json-glib/json-serializable.c')
0 files changed, 0 insertions, 0 deletions