Decorator to mark a class property as serializable using the Serialization class.
Note
Requires "experimentalDecorators": true in tsconfig.json
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).
Decorator to mark a class property as serializable using the Serialization class.
Note