Function serialize

  • Decorator to mark a class property as serializable using the Serialization class.


    • Requires "experimentalDecorators": true in tsconfig.json


    • Optional key: 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

Generated using TypeDoc