From: Petri Lehtinen Date: Fri, 2 Sep 2011 18:29:01 +0000 (+0300) Subject: doc: json_dump_callback was added in v2.2 X-Git-Tag: 1.0_branch~62 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68809cd913e2ec3215113c5c744014dfb1bd1741;p=profile%2Fivi%2Fjansson.git doc: json_dump_callback was added in v2.2 --- diff --git a/doc/apiref.rst b/doc/apiref.rst index 45cb43e..4ea336f 100644 --- a/doc/apiref.rst +++ b/doc/apiref.rst @@ -779,12 +779,16 @@ is in UTF-8. On error, the function should return -1 to stop the encoding process. On success, it should return 0. + .. versionadded:: 2.2 + .. function:: int json_dump_callback(const json_t *json, json_dump_callback_t callback, void *data, size_t flags) Call *callback* repeatedly, passing a chunk of the JSON representation of *root* each time. *flags* is described above. Returns 0 on success and -1 on error. + .. versionadded:: 2.2 + .. _apiref-decoding: