From e9e34f430e726462e13e2349c50392f5f2a8d6e6 Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Sat, 14 May 2011 20:46:13 +0300 Subject: [PATCH] doc: Add "New in version 2.1" notes to new features --- doc/apiref.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/apiref.rst b/doc/apiref.rst index 438cfdd..ea1877d 100644 --- a/doc/apiref.rst +++ b/doc/apiref.rst @@ -738,6 +738,8 @@ can be ORed together to obtain *flags*. with other JSON systems. Even Jansson itself doesn't have any means to decode JSON texts whose root value is not object or array. + .. versionadded:: 2.1 + The following functions perform the actual JSON encoding. The result is in UTF-8. @@ -798,6 +800,8 @@ affect especially the behavior of the decoder. need to be null-terminated. *flags* is currently unused, and should be set to 0. + .. versionadded:: 2.1 + .. function:: json_t *json_loadf(FILE *input, size_t flags, json_error_t *error) .. refcounting:: new