the json to deserialize
Optional
callback: (err: any, result: T) => voidthe callback to invoke once deserialization has completed.
Optional
customArgs: anycustom arguments that are available as context.args
during the deserialization process. This can be used as dependency injection mechanism to pass in, for example, stores.
deserialized object, possibly incomplete.
Similar to deserialize, but updates an existing object instance. Properties will always updated entirely, but properties not present in the json will be kept as is. Further this method behaves similar to deserialize.
the json to deserialize
Optional
callback: (err: any, result: T) => voidthe callback to invoke once deserialization has completed.
Optional
customArgs: anycustom arguments that are available as context.args
during the deserialization process. This can be used as dependency injection mechanism to pass in, for example, stores.
deserialized object, possibly incomplete.
Similar to deserialize, but updates an existing object instance. Properties will always updated entirely, but properties not present in the json will be kept as is. Further this method behaves similar to deserialize.