Optional
constructorOptional
deserializerCustom deserializer for member
Optional
emitWhen set, a default value is emitted if the property is uninitialized/undefined.
Optional
indexCreate an index on this attribute. Possible values are true/false or a string for specifying this attribute as part of multiple attributes in an index.
Optional
isWhen set, indicates that the member must be present when deserializing.
Optional
nameWhen set, the key on the JSON that should be used instead of the class property name.
Optional
numberExperimental number type
Optional
preserveWhether to preserve null in the JSON output. When false it will not emit nor store the property if its value is null. Default: false.
Optional
primaryIdentify this attribute as a primary key
Optional
serializerCustom serialized for member
Optional
uniqueIdentify this attribute as unique
Sets the constructor of the property. Optional with ReflectDecorators.