Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 870 Bytes

File metadata and controls

13 lines (12 loc) · 870 Bytes

Available attributes

  • Serialization

    • #[DoNotSerialize] - Use this attribute to mark a class or a class property for skipping during serialization/normalization. Can be used in custom serializers or normalizers.

    • #[TransformPropertyName] - Use this attribute to transform a name of your property during serialization. Runtime resolved arguments.

    • #[TransformPropertyValue] - Use this attribute to transform the value of your property. Runtime resolved arguments.

  • Validation

    • #[ValidateProperty] - Use this attribute to validate the value of your property. Runtime resolved arguments.