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. |
com.fasterxml.jackson.databind.ser.std |
Modifier and Type | Method | Description |
---|---|---|
static JsonValueFormat |
JsonValueFormat.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static JsonValueFormat[] |
JsonValueFormat.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
void |
JsonValueFormatVisitor.Base.format(JsonValueFormat format) |
|
void |
JsonValueFormatVisitor.format(JsonValueFormat format) |
Method called to indicate configured format for value type being visited.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
StdSerializer.visitIntFormat(JsonFormatVisitorWrapper visitor,
JavaType typeHint,
com.fasterxml.jackson.core.JsonParser.NumberType numberType,
JsonValueFormat format) |
Helper method that calls necessary visit method(s) to indicate that the
underlying JSON type is JSON Integer number, but that there is also a further
format restriction involved.
|
protected void |
StdSerializer.visitStringFormat(JsonFormatVisitorWrapper visitor,
JavaType typeHint,
JsonValueFormat format) |
Helper method that calls necessary visit method(s) to indicate that the
underlying JSON type is JSON String, but that there is a more refined
logical type
|
Copyright © 2008–2018. All rights reserved.