Using the knockout mapping plugin ( http://knockoutjs.com/documentation/plugins-mapping.html ) can you map a deeply hierachical object?
If I have an object with mult
From my experience, I would say that it shouldn't have any problems.
I would use the following line -
var grahamModel = ko.mapping.fromJS(data);
Then set a breakpoint on the next line at look at the generated object in your debugger (chrome or FF+Firebug works best). This way you will know if ko.mapping will generate a viewmodel that meets your needs.
Normally, it generates an object where only the end points (variables with values) are ko.observables. Any of the other data times that you can use for navigation through the data, like ... children: [...
are shown as ordinary javaScript objects.