Deserialize given data structure from JSON data objects to JavaScript objects.
Types that are already correct will be used as-is.
interface Data { created: Date;}const data = deserialize<Data>({created: '2009-02-13T23:31:30.123Z'});//data is {created: Date(2009-02-13T23:31:30.123Z)}@throws ValidationError when serialization or validation fails.
Optional
Generated using TypeDoc
Deserialize given data structure from JSON data objects to JavaScript objects.
Types that are already correct will be used as-is.