You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`@PropertyName()`|**Field**| Sets the name of the field when serialized. This is useful if you want to use a different name for the field in the serialized data than in the class. |
286
+
|`@EnumProperty()`|**Field**| The name of the enum constant can be overridden using the `name` parameter. Additionally, a single constant can be marked as `fallback` to handle invalid enum values. |
287
+
|`@DefaultValue()`|**Field**| Sets a default value for the field. If the field is not present in the serialized data, the default value will be used. If the field is present, the default value will be ignored. If `keep` is set to `true`, the field will be included in the output even if it is equal to the default value. |
288
+
|`@excludeNull`|**Field**, **Class**| Excludes the field from serialization if it is null. This is useful for fields that are optional and should not be serialized if they are not set. Can also be applied to a class to exclude all null values from serialization. |
289
+
|`@LightweightMigration()``@RevisionMigration()`|**Class**| Specifies migrations that can be applied before the data is deserialized. |
0 commit comments