Package io.avaje.jsonb
Annotation Type Json.Ignore
-
@Retention(CLASS) @Target(FIELD) public static @interface Json.Ignore
Exclude the property from serialization, deserialization or both.We can explicitly use
deserialize=trueto include the property in deserialization but not serialization. For example, we might do this on a property that represents a secret like a password.We can explicitly use
serialize=trueto include the property in serialization but not deserialization.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleandeserializeSet this explicitly to true to include in deserialization.booleanserializeSet this explicitly to true to include in serialization.
-