Michael, Are you working in Erlang with something? If so, could you paste a short snippet of what you're trying to accomplish?
Paul Davis On Mon, Aug 31, 2009 at 2:01 PM, Michael McCaffrey<[email protected]> wrote: > 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 > > > > > > > > > >
