DS.Model#serialize()

serialize (options) Object

Defined in addon/-private/system/model/model.js:382

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
doc_EmberJs
2016-11-30 16:50:13
Comments
Leave a Comment

Please login to continue.