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:54:09 +0300 |
commit | 1dab656dee2f5c3df57ee5ba8aeeb1059f65530b (patch) | |
tree | b5f6cc61af8126750046d8c919d97e057517ea55 | |
parent | d7a6269a17912b10005875c86b5c1fd7bf3e3af4 (diff) | |
download | jansson-2.7.zip jansson-2.7.tar.gz jansson-2.7.tar.bz2 |
doc: Copying doesn't preserve key insertion order2.7
Fixes #237.
-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 b60a521..1d35125 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 |