JsonAnySetter (Jackson-annotations 2.0.0 API)
Date: 2012-03-26

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 JsonAnySetter

    @Target(value={ANNOTATION_TYPE,METHOD})
    @Retention(value=RUNTIME)
    public @interface JsonAnySetter

Marker annotation that can be used to define a non-static, single-argument method, to be used as a "fallback" handler for all otherwise unrecognized properties found from Json content. It is similar to `XmlAnyElement` in behavior; and can only be used to denote a single property per type.

If used, all otherwise unmapped key-value pairs from Json Object structs are added to the property (of type Map or bean).

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

Copyright © 2012 fasterxml.com. All Rights Reserved.