com.fasterxml.jackson.annotation
Annotation Type JsonFilter


@Target(value={ANNOTATION_TYPE,TYPE})
@Retention(value=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 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


Required Element Summary
 String value
          Id of filter to use; if empty String (""), no filter is to be used.
 

Element Detail

value

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



Copyright © 2012 FasterXML. All Rights Reserved.