populateFromJSON

Populate an entity with a JSON structure packet. Make sure the names of the properties match the keys in the structure.

Returns

  • This function returns the populated object

Arguments

Examples

var user = ormService.populateFromJSON( ormService.new("User"), jsonString );

Last updated