Package | Description |
---|---|
org.codehaus.jackson |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser )
and generator
(JsonParser )
instances. |
org.codehaus.jackson.format |
Package that contains interfaces needed for dynamic, pluggable
format (auto)detection; as well as basic utility classes for
simple format detection functionality.
|
org.codehaus.jackson.impl |
Parser and generator implementation classes that Jackson
defines and uses.
|
org.codehaus.jackson.map |
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser |
org.codehaus.jackson.map.deser |
Contains implementation classes of deserialization part of
data binding.
|
org.codehaus.jackson.map.deser.impl |
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
|
org.codehaus.jackson.map.deser.std |
Contains public standard implementations of abstraction that
Jackson uses.
|
org.codehaus.jackson.map.exc | |
org.codehaus.jackson.map.ext |
Contains extended support for "external" packages: things that
may or may not be present in runtime environment, but that are
commonly enough used so that explicit support can be added.
|
org.codehaus.jackson.map.jsontype.impl |
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver . |
org.codehaus.jackson.node |
Contains concrete
JsonNode implementations
Jackson uses for the Tree model. |
org.codehaus.jackson.smile |
Package that contains experimental implementation of
"Binary-Encoded JSON-Like" data format handlers (parser,
generator, factory produce both, supporting constants).
|
org.codehaus.jackson.util |
Utility classes used by Jackson Core functionality.
|
org.codehaus.jackson.xc |
Package that contains XML Compatibility functionality for Jackson, such
as handlers for JAXB annotations
|
Modifier and Type | Method and Description |
---|---|
protected JsonParser |
JsonFactory._createJsonParser(byte[] data,
int offset,
int len,
IOContext ctxt)
Overridable factory method that actually instantiates parser
using given
Reader object for reading content
passed as raw byte array. |
protected JsonParser |
JsonFactory._createJsonParser(InputStream in,
IOContext ctxt)
Overridable factory method that actually instantiates desired parser
given
InputStream and context object. |
protected JsonParser |
JsonFactory._createJsonParser(Reader r,
IOContext ctxt)
Overridable factory method that actually instantiates parser
using given
Reader object for reading content. |
JsonParser |
JsonParser.configure(JsonParser.Feature f,
boolean state)
Method for enabling or disabling specified feature
(check
JsonParser.Feature for list of features) |
JsonParser |
JsonFactory.createJsonParser(byte[] data)
Method for constructing parser for parsing
the contents of given byte array.
|
JsonParser |
JsonFactory.createJsonParser(byte[] data,
int offset,
int len)
Method for constructing parser for parsing
the contents of given byte array.
|
JsonParser |
JsonFactory.createJsonParser(File f)
Method for constructing JSON parser instance to parse
contents of specified file.
|
JsonParser |
JsonFactory.createJsonParser(InputStream in)
Method for constructing JSON parser instance to parse
the contents accessed via specified input stream.
|
JsonParser |
JsonFactory.createJsonParser(Reader r)
Method for constructing parser for parsing
the contents accessed via specified Reader.
|
JsonParser |
JsonFactory.createJsonParser(String content)
Method for constructing parser for parsing
contens of given String.
|
JsonParser |
JsonFactory.createJsonParser(URL url)
Method for constructing JSON parser instance to parse
contents of resource reference by given URL.
|
JsonParser |
JsonParser.disable(JsonParser.Feature f)
Method for disabling specified feature
(check
JsonParser.Feature for list of features) |
JsonParser |
JsonParser.enable(JsonParser.Feature f)
Method for enabling specified parser feature
(check
JsonParser.Feature for list of features) |
abstract JsonParser |
JsonParser.skipChildren()
Method that will skip all child tokens of an array or
object token that the parser currently points to,
iff stream points to
JsonToken.START_OBJECT or JsonToken.START_ARRAY . |
abstract JsonParser |
JsonNode.traverse()
Method for constructing a
JsonParser instance for
iterating over contents of the tree that this
node is root of. |
abstract JsonParser |
ObjectCodec.treeAsTokens(JsonNode n)
Method for constructing a
JsonParser for reading
contents of a JSON tree, as if it was external serialized
JSON content. |
Modifier and Type | Method and Description |
---|---|
abstract void |
JsonGenerator.copyCurrentEvent(JsonParser jp)
Method for copying contents of the current event that
the given parser instance points to.
|
abstract void |
JsonGenerator.copyCurrentStructure(JsonParser jp)
Method for copying contents of the current event
and following events that it encloses
the given parser instance points to.
|
abstract JsonNode |
ObjectCodec.readTree(JsonParser jp)
Method to deserialize JSON content as tree expressed
using set of
JsonNode instances. |
abstract <T> T |
ObjectCodec.readValue(JsonParser jp,
Class<T> valueType)
Method to deserialize JSON content into a non-container
type (it can be an array type, however): typically a bean, array
or a wrapper type (like
Boolean ). |
abstract <T> T |
ObjectCodec.readValue(JsonParser jp,
JavaType valueType)
Method to deserialize JSON content as tree expressed
using set of
JsonNode instances. |
abstract <T> T |
ObjectCodec.readValue(JsonParser jp,
TypeReference<?> valueTypeRef)
Method to deserialize JSON content into a Java type, reference
to which is passed as argument.
|
abstract <T> Iterator<T> |
ObjectCodec.readValues(JsonParser jp,
Class<T> valueType)
Method for reading sequence of Objects from parser stream,
all with same specified value type.
|
abstract <T> Iterator<T> |
ObjectCodec.readValues(JsonParser jp,
JavaType valueType)
Method for reading sequence of Objects from parser stream,
all with same specified value type.
|
abstract <T> Iterator<T> |
ObjectCodec.readValues(JsonParser jp,
TypeReference<?> valueTypeRef)
Method for reading sequence of Objects from parser stream,
all with same specified value type.
|
Modifier and Type | Method and Description |
---|---|
JsonParser |
DataFormatMatcher.createParserWithMatch()
Convenience method for trying to construct a
JsonParser for
parsing content which is assumed to be in detected data format. |
Modifier and Type | Class and Description |
---|---|
class |
JsonNumericParserBase
Deprecated.
Since 1.9.0: functionality demoted down to JsonParserBase
|
class |
JsonParserBase
Intermediate base class used by all Jackson
JsonParser
implementations. |
class |
JsonParserMinimalBase
Intermediate base class used by all Jackson
JsonParser
implementations, but does not add any additional fields that depend
on particular method of obtaining input. |
class |
ReaderBasedParser
This is a concrete implementation of
JsonParser , which is
based on a Reader to handle low-level character
conversion tasks. |
class |
ReaderBasedParserBase
Deprecated.
Since 1.9 sub-classes should just include code
from here as is.
|
class |
StreamBasedParserBase
Deprecated.
Since 1.9, sub-classes should just embed code from here
|
class |
Utf8StreamParser
This is a concrete implementation of
JsonParser , which is
based on a InputStream as the input source. |
Modifier and Type | Method and Description |
---|---|
JsonParser |
ByteSourceBootstrapper.constructParser(int features,
ObjectCodec codec,
BytesToNameCanonicalizer rootByteSymbols,
CharsToNameCanonicalizer rootCharSymbols) |
JsonParser |
JsonParserMinimalBase.skipChildren() |
Modifier and Type | Method and Description |
---|---|
void |
JsonGeneratorBase.copyCurrentEvent(JsonParser jp) |
void |
JsonGeneratorBase.copyCurrentStructure(JsonParser jp) |
Modifier and Type | Field and Description |
---|---|
protected JsonParser |
MappingIterator._parser |
Modifier and Type | Method and Description |
---|---|
abstract JsonParser |
DeserializationContext.getParser()
Accessor for getting access to the underlying JSON parser used
for deserialization.
|
JsonParser |
ObjectReader.treeAsTokens(JsonNode n) |
JsonParser |
ObjectMapper.treeAsTokens(JsonNode n)
Method for constructing a
JsonParser out of JSON tree
representation. |
Modifier and Type | Method and Description |
---|---|
protected Object |
ObjectReader._bind(JsonParser jp)
Actual implementation of value reading+binding operation.
|
protected Object |
ObjectReader._bindAndClose(JsonParser jp) |
protected JsonNode |
ObjectReader._bindAndCloseAsTree(JsonParser jp) |
protected JsonNode |
ObjectReader._bindAsTree(JsonParser jp) |
protected DeserializationContext |
ObjectReader._createDeserializationContext(JsonParser jp,
DeserializationConfig cfg) |
protected DeserializationContext |
ObjectMapper._createDeserializationContext(JsonParser jp,
DeserializationConfig cfg) |
protected static JsonToken |
ObjectReader._initForReading(JsonParser jp) |
protected JsonToken |
ObjectMapper._initForReading(JsonParser jp)
Method called to ensure that given parser is ready for reading
content for data binding.
|
protected Object |
ObjectMapper._readMapAndClose(JsonParser jp,
JavaType valueType) |
protected Object |
ObjectMapper._readValue(DeserializationConfig cfg,
JsonParser jp,
JavaType valueType)
Actual implementation of value reading+binding operation.
|
protected Object |
ObjectReader._unwrapAndDeserialize(JsonParser jp,
DeserializationContext ctxt,
JavaType rootType,
JsonDeserializer<Object> deser) |
protected Object |
ObjectMapper._unwrapAndDeserialize(JsonParser jp,
JavaType rootType,
DeserializationContext ctxt,
JsonDeserializer<Object> deser) |
abstract T |
JsonDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
Method that can be called to ask implementation to deserialize
JSON content into the value type this serializer handles.
|
T |
JsonDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
T intoValue)
Alternate deserialization method (compared to the most commonly
used,
JsonDeserializer.deserialize(JsonParser, DeserializationContext) ),
which takes in initialized value instance, to be
configured and/or populated by deserializer. |
abstract Object |
TypeDeserializer.deserializeTypedFromAny(JsonParser jp,
DeserializationContext ctxt)
Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
may have been serialized using any kind of JSON value
(Array, Object, scalar).
|
abstract Object |
TypeDeserializer.deserializeTypedFromArray(JsonParser jp,
DeserializationContext ctxt)
Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
is serialized as JSON Array (regardless of Java type).
|
abstract Object |
TypeDeserializer.deserializeTypedFromObject(JsonParser jp,
DeserializationContext ctxt)
Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
is serialized as JSON Object (regardless of Java type).
|
abstract Object |
TypeDeserializer.deserializeTypedFromScalar(JsonParser jp,
DeserializationContext ctxt)
Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
is serialized as a scalar JSON value (something other
than Array or Object), regardless of Java type.
|
Object |
JsonDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
Deserialization called when type being deserialized is defined to
contain additional type identifier, to allow for correctly
instantiating correct subtype.
|
static JsonMappingException |
JsonMappingException.from(JsonParser jp,
String msg) |
static JsonMappingException |
JsonMappingException.from(JsonParser jp,
String msg,
Throwable problem) |
abstract boolean |
DeserializationContext.handleUnknownProperty(JsonParser jp,
JsonDeserializer<?> deser,
Object instanceOrClass,
String propName)
Method deserializers can call to inform configured
DeserializationProblemHandler s
of an unrecognized property. |
JsonNode |
ObjectReader.readTree(JsonParser jp)
Convenience method that binds content read using given parser, using
configuration of this reader, except that content is bound as
JSON tree instead of configured root value type.
|
JsonNode |
ObjectMapper.readTree(JsonParser jp)
Method to deserialize JSON content as tree expressed
using set of
JsonNode instances. |
JsonNode |
ObjectMapper.readTree(JsonParser jp,
DeserializationConfig cfg)
Method to deserialize JSON content as tree expressed
using set of
JsonNode instances. |
<T> T |
ObjectReader.readValue(JsonParser jp)
Method that binds content read using given parser, using
configuration of this reader, including expected result type.
|
<T> T |
ObjectReader.readValue(JsonParser jp,
Class<T> valueType)
Convenience method that binds content read using given parser, using
configuration of this reader, except that expected value type
is specified with the call (instead of currently configured root type).
|
<T> T |
ObjectMapper.readValue(JsonParser jp,
Class<T> valueType)
Method to deserialize JSON content into a non-container
type (it can be an array type, however): typically a bean, array
or a wrapper type (like
Boolean ). |
<T> T |
ObjectMapper.readValue(JsonParser jp,
Class<T> valueType,
DeserializationConfig cfg)
Method to deserialize JSON content into a non-container
type (it can be an array type, however): typically a bean, array
or a wrapper type (like
Boolean ). |
<T> T |
ObjectReader.readValue(JsonParser jp,
JavaType valueType)
Convenience method that binds content read using given parser, using
configuration of this reader, except that expected value type
is specified with the call (instead of currently configured root type).
|
<T> T |
ObjectMapper.readValue(JsonParser jp,
JavaType valueType)
Method to deserialize JSON content into a Java type, reference
to which is passed as argument.
|
<T> T |
ObjectMapper.readValue(JsonParser jp,
JavaType valueType,
DeserializationConfig cfg)
Method to deserialize JSON content into a Java type, reference
to which is passed as argument.
|
<T> T |
ObjectReader.readValue(JsonParser jp,
TypeReference<?> valueTypeRef)
Convenience method that binds content read using given parser, using
configuration of this reader, except that expected value type
is specified with the call (instead of currently configured root type).
|
<T> T |
ObjectMapper.readValue(JsonParser jp,
TypeReference<?> valueTypeRef)
Method to deserialize JSON content into a Java type, reference
to which is passed as argument.
|
<T> T |
ObjectMapper.readValue(JsonParser jp,
TypeReference<?> valueTypeRef,
DeserializationConfig cfg)
Method to deserialize JSON content into a Java type, reference
to which is passed as argument.
|
<T> MappingIterator<T> |
ObjectReader.readValues(JsonParser jp)
Method for reading sequence of Objects from parser stream.
|
<T> Iterator<T> |
ObjectReader.readValues(JsonParser jp,
Class<T> valueType)
Convenience method that is equivalent to:
|
<T> MappingIterator<T> |
ObjectMapper.readValues(JsonParser jp,
Class<T> valueType)
Method for reading sequence of Objects from parser stream.
|
<T> Iterator<T> |
ObjectReader.readValues(JsonParser jp,
JavaType valueType)
Convenience method that is equivalent to:
|
<T> MappingIterator<T> |
ObjectMapper.readValues(JsonParser jp,
JavaType valueType)
Method for reading sequence of Objects from parser stream.
|
<T> Iterator<T> |
ObjectReader.readValues(JsonParser jp,
TypeReference<?> valueTypeRef)
Convenience method that is equivalent to:
|
<T> MappingIterator<T> |
ObjectMapper.readValues(JsonParser jp,
TypeReference<?> valueTypeRef)
Method for reading sequence of Objects from parser stream.
|
abstract JsonMappingException |
DeserializationContext.wrongTokenException(JsonParser jp,
JsonToken expToken,
String msg)
Helper method for indicating that the current token was expected to be another
token.
|
Constructor and Description |
---|
MappingIterator(JavaType type,
JsonParser jp,
DeserializationContext ctxt,
JsonDeserializer<?> deser) |
MappingIterator(JavaType type,
JsonParser jp,
DeserializationContext ctxt,
JsonDeserializer<?> deser,
boolean closeParser,
Object valueToUpdate) |
Modifier and Type | Field and Description |
---|---|
protected JsonParser |
StdDeserializationContext._parser
Currently active parser used for deserialization.
|
Modifier and Type | Method and Description |
---|---|
JsonParser |
StdDeserializationContext.getParser()
Method for accessing the currently active parser.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
AbstractDeserializer._deserializeIfNatural(JsonParser jp,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer._deserializeUsingPropertyBased(JsonParser jp,
DeserializationContext ctxt)
Method called to deserialize bean using "property-based creator":
this means that a non-default constructor or factory method is
called, and then possibly other setters.
|
Object |
StdDeserializerProvider.WrappedDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
String |
StdDeserializer.StringDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
Deprecated.
|
Object |
SettableBeanProperty.deserialize(JsonParser jp,
DeserializationContext ctxt)
This method is needed by some specialized bean deserializers,
and also called by some
SettableBeanProperty.deserializeAndSet(org.codehaus.jackson.JsonParser, org.codehaus.jackson.map.DeserializationContext, java.lang.Object) implementations. |
Object |
SettableAnyProperty.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Object |
BeanDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
Main deserialization method for bean-based objects (POJOs).
|
Object |
AbstractDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Object |
StdDeserializerProvider.WrappedDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
Object intoValue) |
Object |
BeanDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
Object bean)
Secondary deserialization method, called in cases where POJO
instance is created as part of deserialization, potentially
after collecting some or all of the properties to set.
|
abstract void |
SettableBeanProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance)
Method called to deserialize appropriate value, given parser (and
context), and set it using appropriate mechanism.
|
void |
SettableBeanProperty.MethodProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance) |
void |
SettableBeanProperty.SetterlessProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance) |
void |
SettableBeanProperty.FieldProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance) |
void |
SettableBeanProperty.ManagedReferenceProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance) |
void |
SettableBeanProperty.InnerClassProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object bean) |
void |
SettableAnyProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance,
String propName)
Method called to deserialize appropriate value, given parser (and
context), and set it using appropriate method (a setter method).
|
protected JsonNode |
JsonNodeDeserializer.deserializeAny(JsonParser jp,
DeserializationContext ctxt)
Deprecated.
since 1.9.0
|
protected ArrayNode |
JsonNodeDeserializer.deserializeArray(JsonParser jp,
DeserializationContext ctxt)
Deprecated.
since 1.9.0
|
Object |
BeanDeserializer.deserializeFromArray(JsonParser jp,
DeserializationContext ctxt) |
Object |
BeanDeserializer.deserializeFromBoolean(JsonParser jp,
DeserializationContext ctxt)
Method called to deserialize POJO value from a JSON boolean
value (true, false)
|
Object |
BeanDeserializer.deserializeFromDouble(JsonParser jp,
DeserializationContext ctxt)
Method called to deserialize POJO value from a JSON floating-point
number.
|
Object |
BeanDeserializer.deserializeFromNumber(JsonParser jp,
DeserializationContext ctxt) |
Object |
BeanDeserializer.deserializeFromObject(JsonParser jp,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer.deserializeFromObjectUsingNonDefault(JsonParser jp,
DeserializationContext ctxt) |
Object |
BeanDeserializer.deserializeFromString(JsonParser jp,
DeserializationContext ctxt) |
protected ObjectNode |
JsonNodeDeserializer.deserializeObject(JsonParser jp,
DeserializationContext ctxt)
Deprecated.
since 1.9.0
|
protected Object |
BeanDeserializer.deserializeUsingPropertyBasedWithExternalTypeId(JsonParser jp,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer.deserializeUsingPropertyBasedWithUnwrapped(JsonParser jp,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer.deserializeWithExternalTypeId(JsonParser jp,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer.deserializeWithExternalTypeId(JsonParser jp,
DeserializationContext ctxt,
Object bean) |
Object |
StdDeserializerProvider.WrappedDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
String |
StdDeserializer.StringDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
Deprecated.
|
Object |
BeanDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
AbstractDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
protected Object |
BeanDeserializer.deserializeWithUnwrapped(JsonParser jp,
DeserializationContext ctxt)
Method called when there are declared "unwrapped" properties
which need special handling
|
protected Object |
BeanDeserializer.deserializeWithUnwrapped(JsonParser jp,
DeserializationContext ctxt,
Object bean) |
protected Object |
BeanDeserializer.handlePolymorphic(JsonParser jp,
DeserializationContext ctxt,
Object bean,
TokenBuffer unknownTokens)
Method called in cases where we may have polymorphic deserialization
case: that is, type of Creator-constructed bean is not the type
of deserializer itself.
|
protected void |
BeanDeserializer.handleUnknownProperty(JsonParser jp,
DeserializationContext ctxt,
Object beanOrClass,
String propName)
Method called when a JSON property is encountered that has not matching
setter, any-setter or field, and thus can not be assigned.
|
boolean |
StdDeserializationContext.handleUnknownProperty(JsonParser jp,
JsonDeserializer<?> deser,
Object instanceOrClass,
String propName)
Method deserializers can call to inform configured
DeserializationProblemHandler s
of an unrecognized property. |
JsonMappingException |
StdDeserializationContext.wrongTokenException(JsonParser jp,
JsonToken expToken,
String msg) |
Constructor and Description |
---|
StdDeserializationContext(DeserializationConfig config,
JsonParser jp,
DeserializerProvider prov,
InjectableValues injectableValues) |
Modifier and Type | Method and Description |
---|---|
protected void |
ExternalTypeHandler._deserialize(JsonParser jp,
DeserializationContext ctxt,
Object bean,
int index) |
Object |
ExternalTypeHandler.complete(JsonParser jp,
DeserializationContext ctxt,
Object bean) |
void |
CreatorProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance) |
boolean |
ExternalTypeHandler.handleToken(JsonParser jp,
DeserializationContext ctxt,
String propName,
Object bean)
Method called to ask handler to handle
|
boolean |
ExternalTypeHandler.handleTypePropertyValue(JsonParser jp,
DeserializationContext ctxt,
String propName,
Object bean)
Method called to see if given property/value pair is an external type
id; and if so handle it.
|
Object |
UnwrappedPropertyHandler.processUnwrapped(JsonParser originalParser,
DeserializationContext ctxt,
Object bean,
TokenBuffer buffered) |
PropertyValueBuffer |
PropertyBasedCreator.startBuilding(JsonParser jp,
DeserializationContext ctxt)
Method called when starting to build a bean instance.
|
Constructor and Description |
---|
PropertyValueBuffer(JsonParser jp,
DeserializationContext ctxt,
int paramCount) |
Modifier and Type | Method and Description |
---|---|
static UnrecognizedPropertyException |
UnrecognizedPropertyException.from(JsonParser jp,
Object fromObjectOrClass,
String propertyName) |
Modifier and Type | Method and Description |
---|---|
T |
JodaDeserializers.DateTimeDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
LocalDate |
JodaDeserializers.LocalDateDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
LocalDateTime |
JodaDeserializers.LocalDateTimeDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
DateMidnight |
JodaDeserializers.DateMidnightDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
ReadablePeriod |
JodaDeserializers.PeriodDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
XMLGregorianCalendar |
CoreXMLDeserializers.GregorianCalendarDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Modifier and Type | Method and Description |
---|---|
protected Object |
AsPropertyTypeDeserializer._deserializeIfNatural(JsonParser jp,
DeserializationContext ctxt)
Helper method used to check if given parser might be pointing to
a "natural" value, and one that would be acceptable as the
result value (compatible with declared base type)
|
protected Object |
AsPropertyTypeDeserializer._deserializeTypedUsingDefaultImpl(JsonParser jp,
DeserializationContext ctxt,
TokenBuffer tb) |
protected String |
AsArrayTypeDeserializer._locateTypeId(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsWrapperTypeDeserializer.deserializeTypedFromAny(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsPropertyTypeDeserializer.deserializeTypedFromAny(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsArrayTypeDeserializer.deserializeTypedFromAny(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsWrapperTypeDeserializer.deserializeTypedFromArray(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsArrayTypeDeserializer.deserializeTypedFromArray(JsonParser jp,
DeserializationContext ctxt)
Method called when actual object is serialized as JSON Array.
|
Object |
AsWrapperTypeDeserializer.deserializeTypedFromObject(JsonParser jp,
DeserializationContext ctxt)
Deserializing type id enclosed using WRAPPER_OBJECT style is straightforward
|
Object |
AsPropertyTypeDeserializer.deserializeTypedFromObject(JsonParser jp,
DeserializationContext ctxt)
This is the trickiest thing to handle, since property we are looking
for may be anywhere...
|
Object |
AsArrayTypeDeserializer.deserializeTypedFromObject(JsonParser jp,
DeserializationContext ctxt)
Method called when actual object is serialized as JSON Object
|
Object |
AsWrapperTypeDeserializer.deserializeTypedFromScalar(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsArrayTypeDeserializer.deserializeTypedFromScalar(JsonParser jp,
DeserializationContext ctxt) |
Modifier and Type | Class and Description |
---|---|
class |
TreeTraversingParser
Facade over
JsonNode that implements JsonParser to allow
accessing contents of JSON tree in alternate form (stream of tokens). |
Modifier and Type | Method and Description |
---|---|
JsonParser |
TreeTraversingParser.skipChildren() |
JsonParser |
BaseJsonNode.traverse() |
Modifier and Type | Class and Description |
---|---|
class |
SmileParser |
Modifier and Type | Method and Description |
---|---|
protected JsonParser |
SmileFactory._createJsonParser(Reader r,
IOContext ctxt)
Overridable factory method that actually instantiates desired
parser.
|
Modifier and Type | Class and Description |
---|---|
class |
JsonParserDelegate
Helper class that implements
delegation pattern for
JsonParser ,
to allow for simple overridability of basic parsing functionality. |
class |
JsonParserSequence
Helper class that can be used to sequence multiple physical
JsonParser s to create a single logical sequence of
tokens, as a single JsonParser . |
protected static class |
TokenBuffer.Parser |
Modifier and Type | Field and Description |
---|---|
protected JsonParser[] |
JsonParserSequence._parsers
Parsers other than the first one (which is initially assigned
as delegate)
|
protected JsonParser |
JsonParserDelegate.delegate
Delegate object that method calls are delegated to.
|
Modifier and Type | Method and Description |
---|---|
JsonParser |
TokenBuffer.asParser()
Method used to create a
JsonParser that can read contents
stored in this buffer. |
JsonParser |
TokenBuffer.asParser(JsonParser src) |
JsonParser |
TokenBuffer.asParser(ObjectCodec codec)
Method used to create a
JsonParser that can read contents
stored in this buffer. |
JsonParser |
JsonParserDelegate.disable(JsonParser.Feature f) |
JsonParser |
JsonParserDelegate.enable(JsonParser.Feature f) |
JsonParser |
JsonParserDelegate.skipChildren() |
Modifier and Type | Method and Description |
---|---|
JsonParser |
TokenBuffer.asParser(JsonParser src) |
void |
TokenBuffer.copyCurrentEvent(JsonParser jp) |
void |
JsonGeneratorDelegate.copyCurrentEvent(JsonParser jp) |
void |
TokenBuffer.copyCurrentStructure(JsonParser jp) |
void |
JsonGeneratorDelegate.copyCurrentStructure(JsonParser jp) |
static JsonParserSequence |
JsonParserSequence.createFlattened(JsonParser first,
JsonParser second)
Method that will construct a parser (possibly a sequence) that
contains all given sub-parsers.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JsonParserSequence.addFlattenedActiveParsers(List<JsonParser> result) |
Constructor and Description |
---|
JsonParserDelegate(JsonParser d) |
JsonParserSequence(JsonParser[] parsers) |
Modifier and Type | Method and Description |
---|---|
Object |
XmlAdapterJsonDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Element |
DomElementJsonDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
DataHandler |
DataHandlerJsonDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Object |
XmlAdapterJsonDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |