On Wed, Nov 25, 2009 at 11:58 AM, Scott Robinson <scott at quadhome.com> wrote: > > I selected cJSON because it was simple for integration. Given how libsha1.c is > included in lib/, I figured adding a depedency wouldn't be very popular.
Oh, I noticed libsha1.c as well, and it bugs the heck out of me. I just haven't gotten around to doing anything about it yet. > Would it be better to link with a previously existing library? IMHO yes. I was looking at json-glib because it seems to be the only C JSON API in Fedora, plus it's based upon glib. From what I've read it should be really easy to serialize a GMimeObject to a JSON structure with very few calls using json-glib. -- Jeff Ollie