couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCaffrey" <>
Subject valid json string for mochijson2
Date Mon, 31 Aug 2009 18:01:52 GMT


I'm trying to get a couchdb function to return a simple json doc and I
can't get it to validate thru mochijson2.encoder.


Just trying to return {"fld","data"} and get the


Running the encoder I see it expects {[{"fld","data"}]}  format which I
cannot get the couchdb function to produce.


Any help on how to format this list of json docs in a couchdb function? 







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