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/<[email protected]><http://mail-archives.apache.org/mod_mbox/couchdb-user/201003.mbox/%[email protected]%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 <[email protected]> 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?

Reply via email to