RaphaelJS: O'Reilly - Safari Books Online
Dashboard - JSFiddle - Online JavaScript Editor - jQuery, Angular, Backbone, Underscore, Knockout, YUI
RaphaĆ«l—JavaScript Library
{
videoLists: {
“0”: {
“name”: “Thrillers”,
“0”: {
id: 2654,
name: “Die hard”,
rating: 4.0
},
// more titles
length: 74,
},
“1”: {
“name”: “Action Movies”,
“0”: {
id: 2654, // duplication!
name: “Die hard”,
rating: 4.0
},
// more titles
length: 74
}, // more lists…
length: 25
}
}
{
videoLists: {
“0”: {
“name”: “Thrillers”,
“0”: [“videos”, 2654], // effectively a link in a graph!
// more titles
length: 74,
},
“1”: {
“name”: “Action Movies”,
“0”: [“videos”, 2654],
// more titles
length: 74
}, // more lists…
length: 25
},
videos: {
2654: { // avoid duplication
name: “Die hard”,
rating: 4.0
}
}
}
Hierarchical API: JSONG Path
[videoLists’][0][0][‘name’]