serialize (record, options) private
Returns a JSON representation of the record using a custom type-specific serializer, if one exists.
The available options are:
- 
includeId:trueif the record's ID should be included in the JSON representation 
Parameters:
- 
record 
DS.Model - the record to serialize
 - 
options 
Object - an options hash
 
Please login to continue.