diff options
| author | Emmanuele Bassi <ebassi@linux.intel.com> | 2009-10-26 22:36:01 +0000 |
|---|---|---|
| committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2009-10-26 22:36:01 +0000 |
| commit | cba7db96581343e3cbd8e5eb067026efb8cac24e (patch) | |
| tree | b1f21cf077c394293c175debe180b7e336ca2816 /json-glib/json-gobject.c | |
| parent | d5bebce0286aef5c4b4110c16c22a8ef3dc38405 (diff) | |
| download | json-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
