ConstOptionalsourceTypeMetadata: JsonObjectMetadataConstructor of array elements (e.g. 'Number' for 'number[]', or 'Date' for 'Date[]').
Optionaloptions: IJsonArrayMemberOptions
Additional options.
Specifies that the property is part of the object when serializing. Use this decorator on properties of type Map<K, V>.
Constructor of map keys (e.g. 'Number' for 'Map<number, Date>').
Constructor of map values (e.g. 'Date' for 'Map<number, Date>').
Optionaloptions: IJsonMapMemberOptions
Additional options.
Specifies that a property is part of the object when serializing. Requires ReflectDecorators.
Specifies that a property is part of the object when serializing, with additional options. Requires ReflectDecorators.
Specifies that a property is part of the object when serializing, with a defined type and extra options.
Optionaloptions: IJsonMemberOptionsMarks that a class with a parameterized constructor is serializable using TypedJSON, with additional settings. The 'initializer' setting must be specified.
Optionaloptions: IJsonObjectOptionsWithInitializer<T>
Configuration settings.
Marks that a class is serializable using TypedJSON, with additional settings.
Optionaloptions: IJsonObjectOptions<T>
Configuration settings.
Marks that a class with a parameterless constructor is serializable using TypedJSON.
Specifies that the property is part of the object when serializing.
Use this decorator on properties of type Set
Constructor of set elements (e.g. 'Number' for Set
Optionaloptions: IJsonSetMemberOptions
Additional options.
Optionaloptions: Partial<MapOptions>Decorator that will generate toJSON function on the class prototype that allows JSON.stringify to be used instead of TypedJSON.stringify. Under the hood it will simply delegate to TypedJSON. By default it will throw if the prototype already has a toJSON function defined.
the class which prototype should be modified.
Decorator factory that accepts the options interface.
for configuring the toJSON creation.
Specifies that a property, of type array, is part of an object when serializing.