Hello,
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
{"error":"json_encode","reason":"{bad_term,{<<\"fld\">>,<<\"data\">>}}"}
error
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?
Thanks
