doc: Clarify the result of 's' format of json_unpack()
Fixes GH-31.
This commit is contained in:
parent
889f295958
commit
e4cc77ce52
@ -997,7 +997,9 @@ type whose address should be passed.
|
|||||||
|
|
||||||
``s`` (string) [const char \*]
|
``s`` (string) [const char \*]
|
||||||
Convert a JSON string to a pointer to a NULL terminated UTF-8
|
Convert a JSON string to a pointer to a NULL terminated UTF-8
|
||||||
string.
|
string. The resulting string is extracted by using
|
||||||
|
:func:`json_string_value()` internally, so it exists as long as
|
||||||
|
there are still references to the corresponding JSON string.
|
||||||
|
|
||||||
``n`` (null)
|
``n`` (null)
|
||||||
Expect a JSON null value. Nothing is extracted.
|
Expect a JSON null value. Nothing is extracted.
|
||||||
|
Loading…
Reference in New Issue
Block a user