[BZ#728951] No way to clear the data owned by JsonParser
Submitted by Stef Walter <<ste..@..org>>
Assigned to json-glib-maint@gnome.bugs
Link to original bug (#728951)
Description
If you hang onto a JsonParser to parse multiple strings (ie: messages coming through) then the parser holds onto the last parsed node (and any contents) until the next message is parsed.
It would be useful to make json_parser_clear() public to solve this.