Return-Path: X-Original-To: apmail-couchdb-erlang-archive@minotaur.apache.org Delivered-To: apmail-couchdb-erlang-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A79D6102E2 for ; Thu, 7 Nov 2013 19:14:24 +0000 (UTC) Received: (qmail 61046 invoked by uid 500); 7 Nov 2013 19:14:24 -0000 Delivered-To: apmail-couchdb-erlang-archive@couchdb.apache.org Received: (qmail 61024 invoked by uid 500); 7 Nov 2013 19:14:24 -0000 Mailing-List: contact erlang-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: erlang@couchdb.apache.org Delivered-To: mailing list erlang@couchdb.apache.org Received: (qmail 61016 invoked by uid 99); 7 Nov 2013 19:14:24 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 19:14:24 +0000 Received: from localhost (HELO mail-lb0-f171.google.com) (127.0.0.1) (smtp-auth username rnewson, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 19:14:24 +0000 Received: by mail-lb0-f171.google.com with SMTP id x18so811649lbi.16 for ; Thu, 07 Nov 2013 11:14:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=RxyAst15gWKZ7DBy7E1LMzgYtAC4HX/xEZ8NKZwl4Cg=; b=HagMl0jBHlv763wiXv7Wg79ywOMDGimEnPz2m9m/St9AQyWOzR+pONQf/ahCbS2LDz u3U1uMk8/NYfDbHz0FbbZA4Vn5PkY+c4/+Ji9aH/I33KeSlgiNG2RZL9O5goFTSplQXZ 4HuX0F7XoNiK7gjT+8isozannQc3Vpw/Z/POM+WH+VDUWKl9BVsVWcbT0Q32mn69n0jA 7mZaWOZRkKXL2Cc8FbjuSFnwxE3EmR1oxandWmyAmvUBjqETCdpZtPdsdraRfTB5KMMy 841NI8hWNyI0a+zSkqXa1onwwXcj7kPPpQE/2Ogj49gx8BrT2UM+EHFp4qkKiL8Wo0um TUAw== MIME-Version: 1.0 X-Received: by 10.112.171.228 with SMTP id ax4mr7511442lbc.6.1383851662208; Thu, 07 Nov 2013 11:14:22 -0800 (PST) Received: by 10.112.67.12 with HTTP; Thu, 7 Nov 2013 11:14:22 -0800 (PST) In-Reply-To: References: Date: Thu, 7 Nov 2013 19:14:22 +0000 Message-ID: Subject: Re: Parsing json request body into usable object From: Robert Newson To: erlang@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Please stop opening more identical threads if you don't get an immediate answer. The native view server is not documented, it's not much more than an afterthought. It has no sandbox (map functions can read/write/delete any file the user it runs as can, open network sockets, etc). B. On 7 November 2013 16:55, Stanley Iriele wrote: > 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