tags:

views:

20

answers:

2

Hi this sreenivasulu,

                 I am developing JMAKI widgets,my task is to display the json data in a html page through javascript.what's the best way to access the json data through javascript.
A: 

use eval(json-object), if you trust the source, or you can use the json parser here

Adeel
A: 

You can use

object = eval("(" + json_string + ")")

or

object = JSON.parse(json_string)`
jcubic