diff options
author | Petri Lehtinen <petri@digip.org> | 2013-09-23 09:34:00 +0300 |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2013-09-23 09:34:28 +0300 |
commit | e4d6a9f6f4f90aa7bb1b5e09d146ac8d2cb3cd1d (patch) | |
tree | 81706279f66bdcea802a0140446cfc323daceac7 | |
parent | 641002da378d922539d655a8017ee2ee0f6b940c (diff) | |
download | jansson-e4d6a9f6f4f90aa7bb1b5e09d146ac8d2cb3cd1d.zip jansson-e4d6a9f6f4f90aa7bb1b5e09d146ac8d2cb3cd1d.tar.gz jansson-e4d6a9f6f4f90aa7bb1b5e09d146ac8d2cb3cd1d.tar.bz2 |
Add versionadded to the new json_pack() format specifiers
-rw-r--r-- | doc/apiref.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/apiref.rst b/doc/apiref.rst index cfab058..463966b 100644 --- a/doc/apiref.rst +++ b/doc/apiref.rst @@ -1082,14 +1082,20 @@ arguments. ``s#`` (string) [const char \*, int] Convert a UTF-8 buffer of a given length to a JSON string. + .. versionadded:: 2.5 + ``+`` [const char \*] Like ``s``, but concatenate to the previous string. Only valid after ``s``, ``s#``, ``+`` or ``+#``. + .. versionadded:: 2.5 + ``+#`` [const char \*, int] Like ``s#``, but concatenate to the previous string. Only valid after ``s``, ``s#``, ``+`` or ``+#``. + .. versionadded:: 2.5 + ``n`` (null) Output a JSON null value. No argument is consumed. |