views:

46

answers:

2

I'm just wondering if anyone has already created a tool that will take a given JSON string and write the code for an identical struct in C along with the parser code specific to that struct.

I'm about to do this myself using JSON-C, but I thought I'd ask first.

A: 

If you want to use JSON-RPC I recommend using this method. If this doesn't work for you I would use the JSON-C library.

Rook
A: 

I think protobuf is my best bet. A guy on the NodeJS list led me on to this.

CoolAJ86