Google News
logo
Backbone - Interview Questions
What is the main function of to JSON in Backbone.js?
The main function of to JSON in Backbone.js is to return a shallow copy of the model's attribute for JSON stringification. It does not return a JSON string and provides persistence, serialization, and augmentation before being sent to the server.
Advertisement