I have a JSON of following format,
{
"A.B.C" : "a.b.c",
"C.D.E" : "c.d.e"
}
but I’m unable to parse this json in javascript.How can I get the value of “A.B.C”?
And I want to load this JSON in the content[] of Ember.ResourceController using load() in ember-rest.js
while loading this i got an error “Object in path A.B could not be found or was destroyed”
According to jsonlint, that JSON is valid, which means you can parse it regularly:
http://jsfiddle.net/88vFv/
The trick is you need to use bracket notation instead of dot notation, since your property names contain dots.