couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Travis Paul>
Subject Re: Simplest path from couch to C?
Date Thu, 12 Dec 2013 14:01:25 GMT
I use WJElement for working with JSON in C. The main reason I chose this
library is because it's the only JSON library for C that has JSON schema
support (that I know of). It's also pretty easy to use and has some nice

On Thu, Dec 12, 2013 at 8:45 AM, Dan Santner <> wrote:

> Hey guys I know this is more of a JSON question than a specific couchdb
> question but...
> I know someone on this list has run into this before somewhere.  I need to
> bring my couch docs into C structs to work with them.  So right now I'm
> dropping them into file, reading the file, and parsing them field by field
> into a struct with CJSON.  Seems there has to be a quicker path.  I do
> still have to have a little work between the doc and the struct, like
> converting string constants into enums and stuff like that so it can't be
> too automatic if you know what I mean.
> Any ideas?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message