Top | ![]() |
![]() |
![]() |
![]() |
JsonNode * json_from_string (const char *str
,GError **error
);
Parses the string in str
and returns a JsonNode representing
the JSON tree.
In case of parsing error, this function returns NULL
and sets
error
appropriately.
Since 1.2
char * json_to_string (JsonNode *node
,gboolean pretty
);
Generates a stringified JSON representation of the contents of
the passed node
.
Since 1.2