projects
/
jansson.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cd7777
)
json_dumpf: Document the output shortage on error
author
Petri Lehtinen
<petri@digip.org>
Thu, 15 Oct 2009 18:06:59 +0000
(21:06 +0300)
committer
Petri Lehtinen
<petri@digip.org>
Thu, 15 Oct 2009 18:06:59 +0000
(21:06 +0300)
doc/apiref.rst
patch
|
blob
|
history
diff --git
a/doc/apiref.rst
b/doc/apiref.rst
index
818ec51
..
9c28fb8
100644
(file)
--- a/
doc/apiref.rst
+++ b/
doc/apiref.rst
@@
-514,6
+514,9
@@
is in UTF-8.
Write the JSON representation of *root* to the stream *output*.
*flags* is described above. Returns 0 on success and -1 on error.
+ If an error occurs, something may have already been written to
+ *output*. In this case, the output is undefined and most likely not
+ valid JSON.
.. cfunction:: int json_dump_file(const json_t *json, const char *path, unsigned long flags)