mirror of
https://github.com/akheron/jansson.git
synced 2025-04-06 05:55:05 +00:00
Add versionadded to the new json_pack() format specifiers
This commit is contained in:
parent
641002da37
commit
e4d6a9f6f4
1 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue