Javatpoint Logo
Javatpoint Logo

Backbone.js model.parse()

The Backbone.js parse model is used by the server to return the model's data by passing through the response object. It represents the data in JSON format.

Syntax:

Parameter explanation:

response: It is passed using response raw object and returns attributes to be set on the model.

options: It represents data in JSON format if the option is true.

Let's take an example.

See this example:

Test it Now

Output:

Save the above code in parse.html file and open this file in a new browser.

BackboneJS parse Model
Next TopicBackbone.js Clone





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA