Function
Jsonto_string
since: 1.2
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
-
Type:
JsonNode
A JSON tree.
The data is owned by the caller of the function. pretty
-
Type:
gboolean
Whether the output should be prettyfied for printing.