@Target({CONSTRUCTOR,METHOD,FIELD})
@Retention(RUNTIME)
@Inherited
@Documented
public @interface JsonIgnore
You can annotate with @JsonIgnore the methods, fields and creators that must be ignored during
serialization AND deserialization. To exclude property from only deserialization and keep it
during serialization use @JsonIgnore(serialize=true), for example if you annotate a field with
@JsonIgnore(serialize=true,deserialize=true) it will have no effect!
- Author:
- Eugen Cepoi
- See Also:
JsonProperty