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.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 |
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 |
Constructor and Description |
---|
Base(Class<T> cls,
JsonParser.NumberType numberType,
String schemaType) |
Modifier and Type | Method and Description |
---|---|
JsonParser.NumberType |
TokenBuffer.Parser.getNumberType() |
Copyright © 2016 JBoss by Red Hat. All rights reserved.