So I am writing a CGI program that returns JSON. And naturally I'm using YAJL, since it has the capability of outputting directly to stdout. The JSON is being built with yajl_beginObj() etc.
And it occurred to me - it would be really handy if I could import some existing JSON into this JSON. E.g. say I had an embedded SQL statement generating JSON into a host varchar, and I then wanted to include that JSON as part of YAJL's JSON generation.
Is that possible?
And it occurred to me - it would be really handy if I could import some existing JSON into this JSON. E.g. say I had an embedded SQL statement generating JSON into a host varchar, and I then wanted to include that JSON as part of YAJL's JSON generation.
Is that possible?
Comment