Function
Jsonto_string
Declaration [src]
char*
json_to_string (
JsonNode* node,
gboolean pretty
)
Description [src]
Generates a stringified JSON representation of the contents of
the given node
.
Available since: | 1.2 |
Parameters
node |
JsonNode |
A JSON tree. |
|
The data is owned by the caller of the function. | |
pretty |
gboolean |
Whether the output should be prettyfied for printing. |