incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Garvin <coderif...@gmail.com>
Subject Re: parsing JSON in update function
Date Fri, 05 Mar 2010 15:25:53 GMT
Hi Mirko,

I had this exact same issue a few days back.  See this thread:

http://mail-archives.apache.org/mod_mbox/couchdb-user/201003.mbox/<33bc4c3c1003011453p6815da72t5b3c5f419999522f@mail.gmail.com><http://mail-archives.apache.org/mod_mbox/couchdb-user/201003.mbox/%3C33bc4c3c1003011453p6815da72t5b3c5f419999522f@mail.gmail.com%3E>

I'm not sure if there's a better way to reference threads from this list.
 Anyways, that thread has me ultimately getting JSON.parse() to be available
in the _udpate handlers and also dealing with a goofy issue when upgrading
CouchDB without `make uninstall`ing the earlier version first.

Regards,
Jim

On Fri, Mar 5, 2010 at 5:27 AM, Mirko Kiefer <mirko.kiefer@arcor.de> wrote:

>
> On Mar 5, 2010, at 9:56 AM, Brian Candler wrote:
>
> > On Fri, Mar 05, 2010 at 12:38:22PM +0900, km wrote:
> >> Hi,
> >>
> >> Native JSON parsing is available in latest browsers like firefox 3.1+
> and IE
> >> 8 and others.
> >> so check if ur using latest browser versions.
> >
> > I think he is talking about Javascript running server-side in couchdb,
> not
> > in the client.
> >
> > It depends which Spidermonkey couchdb was built with. In trunk it now
> adds
> > JSON into the sandbox for those implementations which don't have a native
> > JSON, so he should be OK when 0.11 is out.
>
> Thanks, that sounds good! Yes, I'm talking about an update function in a
> CouchDB design document which is executed on the server.
> I wonder what CouchDB uses internally to parse the docs to JSON?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message