I have a web page which has a JavaScript defining some data in a form:<br><pre>var Categories = [<br> {name:"Cat1 ", caption:escape("Category 1")},<br> {name:"Cat2 ", caption:escape("Category 2")}<br>
];<br><br> var DB = new Object();<br> DB[Categories[0].name] = [<br> {name:escape("Item1"), item-num:8}<br> ];<br></pre>
etc...<br><br><br>When I try to parse it with cl-json (using decode-json-from-string), I got errors because it can't accept things like variable definitions. <br>Can I use cl-json to create a CL data from the JS data I mentioned or I should use some other tool?<br>
<br>Thank you,<br>Andrew<br><br>