DS.Serializer#serialize()

serialize (record, options) Object

Defined in addon/serializer.js:57

The serialize method is used when a record is saved in order to convert the record into the form that your external data source expects.

serialize takes an optional options hash with a single option:

  • includeId: If this is true, serialize should include the ID in the serialized object it builds.

Parameters:

record DS.Model
options [Object]

Returns:

Object
doc_EmberJs
2016-11-30 16:50:39
Comments
Leave a Comment

Please login to continue.