I wan't to access to a specific level of a JSON
who look like this :
var data = { "Nodes": [{"lvl": 0, "name": "830010000C2733", "date_modification": ""},{"lvl":1, "name": "830010000C2219", "date_modification": "2014-04-28"}],"links": [{"source": "830010000C2733", "target": "830010000C2219"}] };
I can access to the full data with console.log(data)
, but I can't access to my Nodes level. I tried console.log(data.Nodes)
but the browser returns me data.Nodes is undefined
.
How to access to this level and in general to a specific level of a JSON
?