[BZ#773410] Add JCON, JSON C Object Notation
Submitted by Christian Hergert <<chr..@...me>>
Assigned to json-glib-maint@gnome.bugs
Link to original bug (#773410)
Description
Adding a bug here to track support for JCON.
I'm going to attach patches for JCON support. I don't expect them to be committed as is, but figured I'd land things here as a place for us to collaborate on features and make progress.
One thing I don't like about the current implementation is the difference of JCON_STRING() vs JCONE_STRING() (for all the data types). I think we can unify these macros and do the right thing based on the context of either creation (JCON_NEW) or extraction (JCON_EXTRACT).
Feel free to iterate on the patches, or let me know and I can find some time to do it.