@Target(value={ANNOTATION_TYPE,TYPE,METHOD,FIELD,PARAMETER})
@Retention(value=RUNTIME)
public @interface JsonFilter
com.fasterxml.jackson.databind.ObjectMapper
(or objects
it delegates to) providing matching filters by id.
Filters to use are usually of type
com.fasterxml.jackson.databind.ser.BeanPropertyFilter
and
are registered through com.fasterxml.jackson.databind.ObjectMapper
Since 2.3, this annotation can also be used on properties (fields, methods, constructor parameters).
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
Id of filter to use; if empty String (""), no filter is to be used.
|
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"