summaryrefslogtreecommitdiff
path: root/json-glib/json-gobject.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2009-10-26 22:36:01 +0000
committerEmmanuele Bassi <ebassi@linux.intel.com>2009-10-26 22:36:01 +0000
commitcba7db96581343e3cbd8e5eb067026efb8cac24e (patch)
treeb1f21cf077c394293c175debe180b7e336ca2816 /json-glib/json-gobject.c
parentd5bebce0286aef5c4b4110c16c22a8ef3dc38405 (diff)
downloadjson-glib-cba7db96581343e3cbd8e5eb067026efb8cac24e.tar.gz
object: Guarantee insertion order
When iterating over the members of a JsonObject, or when retrieving the list of members, the insertion order should be preserved by the JsonObject. This is simply implemented by keeping a mirror list of the member names. Apparently, though JSON does not guarantee any ordering, it is somewhat expected by JSON (and ECMAScript) users.
Diffstat (limited to 'json-glib/json-gobject.c')
0 files changed, 0 insertions, 0 deletions