kgabis/parson — pull request #2 by HarryR (2012-11-27 18:50:39+00:00)
Title: Serialize support for JSON

I've added serialization support to parson because while I like the library, it is missing this feature.

I am using printer callbacks so it can be plugged into libevent/sockets/files etc. rather than just strings.

The string encoding (with utf8 codepoint support etc.) was borrowed from https://github.com/akheron/jansson/blob/master/src/dump.c and https://github.com/akheron/jansson/blob/master/src/utf.c - a similar project under the MIT license.

Can you think of any interesting methods of testing that would ensure there are few to zero transcoding bugs?

I am happy to write unit tests for this, I just need to be primed with stuff to look out for.

I also plan to add 'dotset' methods once this is out of the way.