aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2015-05-19 08:48:52 +0300
committerPetri Lehtinen <petri@digip.org>2015-05-19 08:49:10 +0300
commit69678aaa35aa9374672f2c7c9b70c97f9be58aca (patch)
tree32853bb61c3d04a5c6e17ef1d1213bacfc433375 /doc
parentd384acd706c78918766a1ec925b66ac3d2d30278 (diff)
downloadjansson-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.rst4
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