Question

I have a program written in C that has to input and output JSON over a local domain socket. I've found several C / JSON libraries that 'almost work' through searches. Prior to taking one of the libraries that I found .. I want to be sure that I'm not over-looking a library that is commonly found on modern Linux distros.

I'd also really appreciate links to libraries that you use. Most likely, I'll just drop it in tree, unless I realize that I've over looked something widely distributed.

I am tagging this as subjective because the answer that I select is the one linking to a library that works for me, that does not mean its the 'best' library.

I want to take an existing array and easily convert it to a buffer that can be sent, or take a buffer and easily convert it into an allocated array.

Thanks in advance!

Was it helpful?

Solution

json-Glib seems to be in the repositories for most distributions, I have not used it, so I cant speak as to its quality or stability.

OTHER TIPS

I'm not too much into C, but, MJSON just reached 1.0 ( http://sourceforge.net/projects/mjson/ ), and also, another recently updated project is json-c ( http://oss.metaparadigm.com/json-c/ )...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top