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 )

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean value  
    • Element Detail

      • value

        boolean value
        Default:
        true