3 ms·
Thanks, I've been looking for something like this for a project I have (https://github.com/caldwell/daemon-manager https://github.com/caldwell/daemon-manager).
by __david__ 14y ago
Thanks, I've been looking for something like this for a project I have (https://github.com/caldwell/daemon-manager https://github.com/caldwell/daemon-manager). I did a survey of all the JSON libs for C and C++ about a year ago and found reasons to dislike them all. This actually looks like a reasonable interface, the code itself looks good so far, and I love the fact that it is just a couple files I can drop in.
- udp 14y agoJust out of curiosity, was json-parser one of the ones you looked at? If so, what did you dislike about it?
- __david__ 14y agoNo, I haven't seen that one (looks like you wrote it?). I was looking for them at the tail end of 2011 and it looks like json-parser came into existence in march, 2012. json-parser, at first glance, appears to be nice, too. The ones I looked at before were all multiple files and seemingly very complicated--either to use or to build/integrate with my code. I'll keep a pointer to this one too for when I get back on that project.
- IgorPartola 14y agoI've been using http://cjson.sourceforge.net/ http://cjson.sourceforge.net/ for a while. Single file, reasonable interface. It lets you both serialize and de-serialize JSON. Was this a library you looked at when you did your survey?