Annotation Type JsonIgnore


@Target({METHOD,CONSTRUCTOR,FIELD}) @Retention(RUNTIME) public @interface JsonIgnore
block access to a field or to a getter or to a setter.

If field and getter are annotate with @JsonIgnore the field will be Writable only

If field and setter are annotate with @JsonIgnore the field will be Readable only

If getter and setter are annotate with @JsonIgnore the field will be Read/Write using field if the field is public (default )

Author:
uriel
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
  • Element Details

    • value

      boolean value
      Default:
      true