diff options
author | Petri Lehtinen <petri@digip.org> | 2015-05-19 08:48:52 +0300 |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2015-05-19 08:49:10 +0300 |
commit | 69678aaa35aa9374672f2c7c9b70c97f9be58aca (patch) | |
tree | 32853bb61c3d04a5c6e17ef1d1213bacfc433375 /doc | |
parent | d384acd706c78918766a1ec925b66ac3d2d30278 (diff) | |
download | jansson-69678aaa35aa9374672f2c7c9b70c97f9be58aca.zip jansson-69678aaa35aa9374672f2c7c9b70c97f9be58aca.tar.gz jansson-69678aaa35aa9374672f2c7c9b70c97f9be58aca.tar.bz2 |
doc: Copying doesn't preserve key insertion order
Fixes #237.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/apiref.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/apiref.rst b/doc/apiref.rst index a330089..7cd2483 100644 --- a/doc/apiref.rst +++ b/doc/apiref.rst @@ -1510,6 +1510,10 @@ the same child values in the copied value. Deep copying makes a fresh copy of the child values, too. Moreover, all the child values are deep copied in a recursive fashion. +Copying objects doesn't preserve the insertion order of keys. Deep +copying also loses the key insertion order of any objects deeper in +the hierarchy. + .. function:: json_t *json_copy(json_t *value) .. refcounting:: new |