We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
This library allows you to nest Backbone models inside one and another and will walk down the hierarchy of models.
If you want values from model A to be merged into model B then you should set merge:true in a set.
modelB.set(modelA, {merge: true});
if modelA is POJO and you want POJO objects to be mapped into child Backbone.Models then you should also set parse: true.
modelB.set(modelA, {merge:true, parse:true});