<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="RIGHT: auto">> Any idea on converting list to json in python 2.5?<BR><A href="http://pypi.python.org/pypi/simplejson/" target=_blank>http://pypi.python.org/pypi/simplejson/</A><BR>Cheers,<BR>Chris<BR>=============</div>
<div style="RIGHT: auto">Now I built json from simplejson.</div>
<div style="RIGHT: auto">While trying to render the same in browser, nothing is displayed.</div>
<div style="RIGHT: auto">Opera Dragonfly shows this error:--</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">Uncaught exception: SyntaxError: JSON.parse: Unable to parse value: A,B,C<BR>Error thrown at line 3, column 0 in <A href="http://127.0.0.1:8000/mywheels/test/cat">http://127.0.0.1:8000/mywheels/test/cat</A>:<BR>    var ctg = JSON.parse(["A", "B", "C"]);</div>
<div style="RIGHT: auto">~~~~~~~~~~~~~~~~</div>
<div style="RIGHT: auto">I validated this json --  ["A", "B", "C"]   in jsonlin<VAR id=yui-ie-cursor></VAR>t.com<BR style="RIGHT: auto">It is valid json.</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">Why the method "JSON.parse" is unable to parse JSON?</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">--Vineet</div></div></body></html>