Re: map reduce -> JSON.parse error

2010-08-29 Thread Nils Petersohn
yes :) i removed the comment entry, which indeed had some \r chars in it now i am able to let the mapreduce function run. hope you can fix this issue 525 soon. nils On Aug 29, 2010, at 5:01 PM, Sean Cribbs wrote: > I have found that error comes from json2.js, and in the future we should just

Re: map reduce -> JSON.parse error

2010-08-29 Thread Sean Cribbs
I have found that error comes from json2.js, and in the future we should just use Spidermonkey's builtin. https://issues.basho.com/show_bug.cgi?id=525 Sean Cribbs Developer Advocate Basho Technologies, Inc. http://basho.com/ On Aug 29, 2010, at 10:05 AM, James Sadler wrote: > Hi Nils, > > I

Re: map reduce -> JSON.parse error

2010-08-29 Thread James Sadler
Hi Nils, I ran into a similar problem last week. It seems that certain characters can cause the JSON parser that ships as part of the Spidermonkey JavaScript interpreter that Riak uses to throw an exception. Off the top of my head, I think I managed to make it barf with a \r embedded within a str