Static Protected Readonly deserializerStatic Protected eventStatic Protected Readonly knownStatic Protected Readonly serializerStatic cloneStatic deserializeDeserialize data
Data to deserialze
Optional dataType: Constructor<T>Optional data type to specify deserialization type
Optional config: DataSerializerConfigData serializer configuration
Optional dataType: Constructor<T>Optional config: DataSerializerConfigStatic findFind the root TypedJSON metadata
Prototype of target
Root object metadata
Static findStatic getGet the TypedJSON metadata
Prototype of target
Root object metadata
Static getGet the root TypedJSON metadata
Prototype of target
Root object metadata
Static registerManually register a new type
Type to register
Optional converters: MappedTypeConverters<T>Optional converters
Static serializeSerialize data
Data to serialize
Optional config: DataSerializerConfig = {}Data serializer configuration
Serialized data
Static unregisterUnregister a type
Type to unregister
Allows the serialization and deserialization of objects using the SerializableObject decorator.
Usage
Registration
Objects are registered upon loading with the SerializableObject decorator. Manual registration is possible using: