@Target({METHOD,FIELD,PARAMETER})
@Retention(RUNTIME)
public @interface JacksonInject
ObjectMapper
(usually on per-call basis).
Usually property is not deserialized from JSON, although it possible
to have injected value as default and still allow optional override
from JSON.Modifier and Type | Optional Element | Description |
---|---|---|
java.lang.String |
value |
Logical id of the value to inject; if not specified (or specified
as empty String), will use id based on declared type of property.
|