applyTransforms (typeClass, data) Object
private
Given a subclass of DS.Model
and a JSON object this method will iterate through each attribute of the DS.Model
and invoke the DS.Transform#deserialize
method on the matching property of the JSON object. This method is typically called after the serializer's normalize
method.
Parameters:
-
typeClass
DS.Model
-
data
Object
- The data to transform
Returns:
-
Object
- data The transformed data object
Please login to continue.