You are viewing a plain text version of this content. The canonical link for it is here.
Posted to erlang@couchdb.apache.org by Stanley Iriele <si...@gmail.com> on 2013/11/07 17:17:15 UTC

Parsing request body as json in Erlang

I am trying to rewrite a lot of my JavaScript code in Erlang and I'm
hitting a few weird spots

Maybe this is a dumb question... In an update handler or a list
function....or whatever.... How do you parse incoming request bodies into
binary Erlang objects or proplists... In these functions?... I'm not seeing
anywhere in the docs where this is made clear