JacksonInject (Jackson-annotations 2.1.0 API)
Date: 2012-10-05

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## com.fasterxml.jackson.annotation
Annotation Type JacksonInject

    @Target(value={ANNOTATION_TYPE,METHOD,FIELD,PARAMETER})
    @Retention(value=RUNTIME)
    public @interface JacksonInject

Jackson-specific annotation used for indicating that value of annotated property will be "injected", i.e. set based on value configured by `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.

Optional Element Summary
`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.

### value

    public abstract 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.

  Default:
    ""

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2012 FasterXML. All Rights Reserved.