@Target(value={ANNOTATION_TYPE,TYPE}) @Retention(value=RUNTIME) public @interface JsonNaming
PropertyNamingStrategy
to use for annotated class. Overrides the global (default) strategy.
Note that if the value()
property is omitted, its default value
means "use default naming" (that is, no alternate naming method is used).
This can be used as an override with mix-ins.Modifier and Type | Optional Element and Description |
---|---|
Class<? extends PropertyNamingStrategy> |
value |
public abstract Class<? extends PropertyNamingStrategy> value
PropertyNamingStrategy
to use, if any; default value of
PropertyNamingStrategy.class
means "no strategy specified"
(and may also be used for overriding to remove otherwise applicable
naming strategy)Copyright © 2008–2015 FasterXML. All rights reserved.