Decorator to mark a class property as serializable using the Serialization class.
Parameters
Optionalkey: string
The key to use when serializing the property. If not provided, the property name is used (for this make sure the property name is not mangled during minification).
Returns PropertyDecorator
Note
Requires "experimentalDecorators": true in tsconfig.json
Decorator to mark a class property as serializable using the Serialization class.