Package | Description |
---|---|
com.fasterxml.jackson.databind.jsonFormatVisitors |
Classes used for exposing logical structure of POJOs as Jackson
sees it, and exposed via
ObjectMapper.acceptJsonFormatVisitor(Class, JsonFormatVisitorWrapper)
and
ObjectMapper.acceptJsonFormatVisitor(com.fasterxml.jackson.databind.JavaType, JsonFormatVisitorWrapper)
methods. |
Modifier and Type | Interface and Description |
---|---|
interface |
JsonArrayFormatVisitor |
interface |
JsonFormatVisitorWrapper
Interface for visitor callbacks, when type in question can be any of
legal JSON types.
|
interface |
JsonMapFormatVisitor |
interface |
JsonObjectFormatVisitor
Visitor called when properties of a type that maps to JSON Object
are being visited: this usually means POJOs, but sometimes other
types use it too (like
EnumMap ). |
Modifier and Type | Class and Description |
---|---|
static class |
JsonArrayFormatVisitor.Base
Default "empty" implementation, useful as the base to start on;
especially as it is guaranteed to implement all the method
of the interface, even if new methods are getting added.
|
static class |
JsonFormatVisitorWrapper.Base
Empty "no-op" implementation of
JsonFormatVisitorWrapper , suitable for
sub-classing. |
static class |
JsonMapFormatVisitor.Base
Default "empty" implementation, useful as the base to start on;
especially as it is guaranteed to implement all the method
of the interface, even if new methods are getting added.
|
static class |
JsonObjectFormatVisitor.Base
Default "empty" implementation, useful as the base to start on;
especially as it is guaranteed to implement all the method
of the interface, even if new methods are getting added.
|
Copyright © 2008–2020 FasterXML. All rights reserved.