If I try the following code:
var c = new Backbone.Collection();
c.localStorage = new Backbone.LocalStorage("items");
c.add({title: 'exemple'});
c.toJSON(); // [object]
If I try to see the localStorage.items I can not see anything.
How should I store the data in localStorage?