serialize (options) Object
Create a JSON representation of the record, using the serialization strategy of the store's adapter.
serialize
takes an optional hash as a parameter, currently supported options are:
-
includeId
:true
if the record's ID should be included in the JSON representation.
Parameters:
-
options
Object
Returns:
-
Object
- an object whose values are primitive JSON values only
Please login to continue.