Backbone-relational can define the way how to serialize model into JSON using relations.
So by using method "toJSON" instead of accessing attributes model's property it's impossible to access some relations (e.g. if relation has includeInJSON : 'id').
Backbone-relational can define the way how to serialize model into JSON using relations. So by using method "toJSON" instead of accessing attributes model's property it's impossible to access some relations (e.g. if relation has includeInJSON : 'id').