File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -487,15 +487,15 @@ The default is `PropertyMatchingRule.CASE_STRICT`.
487487
488488#### Serializing (TypeScript to JSON )
489489
490- `(any ) serialize (data : any )`
490+ `(any ) serialize (data : T | T [] )`
491491
492492Tries to serialize a TypeScript object or array of objects to JSON .
493493
494494> Tip : The return value is not a string . In case you need a string as result , use `JSON .stringify ()` after calling the serialize method .
495495
496496#### Deserializing (JSON to TypeScript )
497497
498- `(any ) deserialize (json : any , classReference : { new (): T | T [] })`
498+ `(T | T [] ) deserialize (json : any , classReference : { new (): T | T [] })`
499499
500500Tries to deserialize given JSON to a TypeScript object or array of objects.
501501
You can’t perform that action at this time.
0 commit comments