Re: json: python 2.5: error in browser

2011-09-03 Thread Chris Rebert
On Sat, Sep 3, 2011 at 1:58 AM, Vineet Deodhar wrote: > Opera Dragonfly shows this error:-- > > Uncaught exception: SyntaxError: JSON.parse: Unable to parse value: A,B,C > Error thrown at line 3, column 0 in http://127.0.0.1:8000/mywheels/test/cat: >     var ctg = JSON.parse(["A", "B", "C"]); > ~~

json: python 2.5: error in browser

2011-09-03 Thread Vineet Deodhar
> Any idea on converting list to json in python 2.5? http://pypi.python.org/pypi/simplejson/ Cheers, Chris = Now I built json from simplejson. While trying to render the same in browser, nothing is displayed. Opera Dragonfly shows this error:--   Uncaught exception: SyntaxError: JSON.pa