Package | Description |
---|---|
com.fasterxml.jackson.core |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser )
and generator
(JsonGenerator )
instances. |
com.fasterxml.jackson.core.base |
Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
|
com.fasterxml.jackson.core.filter | |
com.fasterxml.jackson.core.util |
Utility classes used by Jackson Core functionality.
|
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.node |
Contains concrete
JsonNode implementations
Jackson uses for the Tree model. |
com.fasterxml.jackson.databind.ser.std | |
com.fasterxml.jackson.databind.util |
Utility classes for Mapper package.
|
Modifier and Type | Method and Description |
---|---|
abstract JsonParser.NumberType |
JsonParser.getNumberType()
If current token is of type
JsonToken.VALUE_NUMBER_INT or
JsonToken.VALUE_NUMBER_FLOAT , returns
one of JsonParser.NumberType constants; otherwise returns null. |
JsonParser.NumberType |
TreeNode.numberType()
If this node is a numeric type (as per
JsonToken.isNumeric() ),
returns native type that node uses to store the numeric value;
otherwise returns null. |
static JsonParser.NumberType |
JsonParser.NumberType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonParser.NumberType[] |
JsonParser.NumberType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
JsonParser.NumberType |
ParserBase.getNumberType() |
Modifier and Type | Method and Description |
---|---|
JsonParser.NumberType |
FilteringParserDelegate.getNumberType() |
Modifier and Type | Method and Description |
---|---|
JsonParser.NumberType |
JsonParserDelegate.getNumberType() |
Modifier and Type | Method and Description |
---|---|
void |
JsonNumberFormatVisitor.numberType(JsonParser.NumberType type)
|
void |
JsonNumberFormatVisitor.Base.numberType(JsonParser.NumberType type) |
void |
JsonIntegerFormatVisitor.numberType(JsonParser.NumberType type)
|
void |
JsonIntegerFormatVisitor.Base.numberType(JsonParser.NumberType type) |
Modifier and Type | Method and Description |
---|---|
JsonParser.NumberType |
TreeTraversingParser.getNumberType() |
JsonParser.NumberType |
ShortNode.numberType() |
abstract JsonParser.NumberType |
NumericNode.numberType() |
JsonParser.NumberType |
LongNode.numberType() |
JsonParser.NumberType |
IntNode.numberType() |
JsonParser.NumberType |
FloatNode.numberType() |
JsonParser.NumberType |
DoubleNode.numberType() |
JsonParser.NumberType |
DecimalNode.numberType() |
JsonParser.NumberType |
BigIntegerNode.numberType() |
JsonParser.NumberType |
BaseJsonNode.numberType()
Returns code that identifies type of underlying numeric
value, if (and only if) node is a number node.
|
Modifier and Type | Field and Description |
---|---|
protected JsonParser.NumberType |
NumberSerializers.Base._numberType |
Modifier and Type | Method and Description |
---|---|
protected void |
StdSerializer.visitFloatFormat(JsonFormatVisitorWrapper visitor,
JavaType typeHint,
JsonParser.NumberType numberType)
Helper method that calls necessary visit method(s) to indicate that the
underlying JSON type is a floating-point JSON number.
|
protected void |
StdSerializer.visitIntFormat(JsonFormatVisitorWrapper visitor,
JavaType typeHint,
JsonParser.NumberType numberType)
Helper method that calls necessary visit method(s) to indicate that the
underlying JSON type is JSON Integer number.
|
protected void |
StdSerializer.visitIntFormat(JsonFormatVisitorWrapper visitor,
JavaType typeHint,
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.
|
Constructor and Description |
---|
Base(Class<?> cls,
JsonParser.NumberType numberType,
String schemaType) |
Modifier and Type | Method and Description |
---|---|
JsonParser.NumberType |
TokenBuffer.Parser.getNumberType() |
Copyright © 2017 JBoss by Red Hat. All rights reserved.