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 string.
I don't have the links handy, but I do believe that this is fixed in Spidermonkey, and it's a simple matter of waiting until the fixes are merged into Riak. Hope that helps :) James. On 29 August 2010 23:31, Nils Petersohn <[email protected]> wrote: > hello, > > when i have a simple json bucket entry like this: http://pastebin.com/XcWcvmYe > than i always get an error: > > {"lineno":483,"message":"JSON.parse","source":"unknown"} > > the stacktrace is here: http://pastebin.com/EGzUKqps > > when i try to use a much simpler JSON string than there is no error. > > this must be some fault of the JSON.parse method ... > > thx for pointing me in the right direction ... > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > -- James _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
