[BZ#785750] Add json_generator_to_gstring() helpers
Submitted by Garrett Regier <<gar..@..com>>
Assigned to json-glib-maint@gnome.bugs
Link to original bug (#785750)
Description
Add a simple utility function for json_generator_to_gstring() with the same API as json_to_string().