Annotation Type JsonFilter


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface JsonFilter
    Annotation used to indicate which logical filter is to be used for filtering out properties of type (class) annotated; association made by this annotation declaring ids of filters, and ObjectMapper (or objects it delegates to) providing matching filters by id. Filters to use are of type BeanPropertyFilter and are registered through ObjectMapper
    Since:
    1.7
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      Id of filter to use; if empty String (""), no filter is to be used.
    • Element Detail

      • value

        java.lang.String value
        Id of filter to use; if empty String (""), no filter is to be used.