Backbone-NestedJSON
A simple replacement for #toJSON
that can handle nested Backbone models.
Usage
npm install -S backbone-nestedjson
var Backbone = ;var toJSON = ;var TestModel = BackboneModel;TestModelprototypetoJSON = toJSON;var tm = ; tm; tm foo: 'bar' boo: 'a''b' baz: back: 'front' test: hello: 'goodbye' ;