summaryrefslogtreecommitdiff
path: root/json-glib/json-array.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@openedhand.com>2007-11-20 18:20:33 +0000
committerEmmanuele Bassi <ebassi@openedhand.com>2007-11-20 18:20:33 +0000
commit1110e098fa879abf7f67f24af2a1b736ce359dd6 (patch)
tree84a09740b042d01479727e60dc06bcb0354d772d /json-glib/json-array.c
parent2674ce68e574cebeca147944cf748b41fbe27507 (diff)
downloadjson-glib-1110e098fa879abf7f67f24af2a1b736ce359dd6.tar.gz
Allow deserialization of strings into enums/flags
If the target value is a G_TYPE_ENUM or a G_TYPE_FLAGS we can effectively deserialize a string into the corresponding value (or bit mask) using the introspection API for the GEnum and GFlags types. This code is taken from ClutterScript and it was adapted from GtkBuilder.
Diffstat (limited to 'json-glib/json-array.c')
0 files changed, 0 insertions, 0 deletions