src/app/shared/model/serialization/serializable.model.ts
Interface to be implemented by model classes to ensure deserialization of JSON data.
Methods |
deserialize | ||||||||
deserialize(inputJson: Object)
|
||||||||
Parameters :
Returns :
T
|
export interface Serializable<T> {
deserialize(inputJson: Object): T;
}