@Target(value={ANNOTATION_TYPE,FIELD,METHOD,PARAMETER}) @Retention(value=RUNTIME) @Documented public @interface JsonPropertyValueFormat
JsonPropertyValueFormat
annotation is used to indicate that
the annotated primitive or byte[]
property must match the specified
format.Modifier and Type | Optional Element and Description |
---|---|
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat[] |
key
Defines the type of data, content type, or microformat to be expected for
the annotated property contained keys.
|
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat[] |
value
Defines the type of data, content type, or microformat to be expected for
the annotated property or its contained values.
|
public abstract com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat[] value
Note: Only specify one format or none.
public abstract com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat[] key
Note: Only specify one format or none.
Copyright (C) 2015-2017 The Helenus Driver Project Authors.