mirror of
https://github.com/akheron/jansson.git
synced 2025-04-07 06:25:02 +00:00
docs: Add a note that object iteration doesn't give any particular order
Closes GH-15.
This commit is contained in:
parent
636d5f60f9
commit
ab723c7fb5
1 changed files with 4 additions and 1 deletions
|
@ -563,7 +563,10 @@ Unicode string and the value is any JSON value.
|
|||
existing keys. Returns 0 on success or -1 on error.
|
||||
|
||||
|
||||
The following functions implement an iteration protocol for objects:
|
||||
The following functions implement an iteration protocol for objects,
|
||||
allowing to iterate through all key-value pairs in an object. The
|
||||
items are not returned in any particular order, as this would require
|
||||
sorting due to the internal object representation.
|
||||
|
||||
.. function:: void *json_object_iter(json_t *object)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue