> So I've got a simple function that just returns a json doc.
> {
>   "getData": "function(doc){ return {\"fld\":\"data\"};}"
> }
>
> It is called from an erlang module which gets back a FormResp and then calls
>
> couch_httpd:send_json(Req, FormResp)

Can you paste this bit of Erlang that you're using? If you're using
the map docs interface, then it should be returned as a proper ErlJSON
object but its hard to guess.

Paul

Reply via email to