Uses of Class
org.codehaus.jackson.JsonParser
-
Packages that use JsonParser Package Description org.codehaus.jackson Main public API classes of the core streaming JSON processor: most importantlyJsonFactory
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 viaObjectMapper
class, as well as convenience methods included inJsonParser
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 forTypeResolverBuilder
andTypeIdResolver
.org.codehaus.jackson.node Contains concreteJsonNode
implementations Jackson uses for the Tree model.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 -
-
Uses of JsonParser in org.codehaus.jackson
Methods in org.codehaus.jackson that return JsonParser Modifier and Type Method Description protected JsonParser
JsonFactory. _createJsonParser(byte[] data, int offset, int len, IOContext ctxt)
Overridable factory method that actually instantiates parser using givenReader
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 givenInputStream
and context object.protected JsonParser
JsonFactory. _createJsonParser(Reader r, IOContext ctxt)
Overridable factory method that actually instantiates parser using givenReader
object for reading content.JsonParser
JsonParser. configure(JsonParser.Feature f, boolean state)
Method for enabling or disabling specified feature (checkJsonParser.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 (checkJsonParser.Feature
for list of features)JsonParser
JsonParser. enable(JsonParser.Feature f)
Method for enabling specified parser feature (checkJsonParser.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 toJsonToken.START_OBJECT
orJsonToken.START_ARRAY
.abstract JsonParser
JsonNode. traverse()
Method for constructing aJsonParser
instance for iterating over contents of the tree that this node is root of.abstract JsonParser
ObjectCodec. treeAsTokens(JsonNode n)
Method for constructing aJsonParser
for reading contents of a JSON tree, as if it was external serialized JSON content.Methods in org.codehaus.jackson with parameters of type JsonParser Modifier and Type Method 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 ofJsonNode
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 (likeBoolean
).abstract <T> T
ObjectCodec. readValue(JsonParser jp, JavaType valueType)
Method to deserialize JSON content as tree expressed using set ofJsonNode
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. -
Uses of JsonParser in org.codehaus.jackson.format
Methods in org.codehaus.jackson.format that return JsonParser Modifier and Type Method Description JsonParser
DataFormatMatcher. createParserWithMatch()
Convenience method for trying to construct aJsonParser
for parsing content which is assumed to be in detected data format. -
Uses of JsonParser in org.codehaus.jackson.impl
Subclasses of JsonParser in org.codehaus.jackson.impl Modifier and Type Class Description class
JsonNumericParserBase
Deprecated.Since 1.9.0: functionality demoted down to JsonParserBaseclass
JsonParserBase
Intermediate base class used by all JacksonJsonParser
implementations.class
JsonParserMinimalBase
Intermediate base class used by all JacksonJsonParser
implementations, but does not add any additional fields that depend on particular method of obtaining input.class
ReaderBasedParser
This is a concrete implementation ofJsonParser
, which is based on aReader
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 hereclass
Utf8StreamParser
This is a concrete implementation ofJsonParser
, which is based on aInputStream
as the input source.Methods in org.codehaus.jackson.impl that return JsonParser Modifier and Type Method Description JsonParser
ByteSourceBootstrapper. constructParser(int features, ObjectCodec codec, BytesToNameCanonicalizer rootByteSymbols, CharsToNameCanonicalizer rootCharSymbols)
JsonParser
JsonParserMinimalBase. skipChildren()
Methods in org.codehaus.jackson.impl with parameters of type JsonParser Modifier and Type Method Description void
JsonGeneratorBase. copyCurrentEvent(JsonParser jp)
void
JsonGeneratorBase. copyCurrentStructure(JsonParser jp)
-
Uses of JsonParser in org.codehaus.jackson.map
Fields in org.codehaus.jackson.map declared as JsonParser Modifier and Type Field Description protected JsonParser
MappingIterator. _parser
Methods in org.codehaus.jackson.map that return JsonParser Modifier and Type Method Description abstract JsonParser
DeserializationContext. getParser()
Accessor for getting access to the underlying JSON parser used for deserialization.JsonParser
ObjectMapper. treeAsTokens(JsonNode n)
Method for constructing aJsonParser
out of JSON tree representation.JsonParser
ObjectReader. treeAsTokens(JsonNode n)
Methods in org.codehaus.jackson.map with parameters of type JsonParser Modifier and Type Method 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
ObjectMapper. _createDeserializationContext(JsonParser jp, DeserializationConfig cfg)
protected DeserializationContext
ObjectReader. _createDeserializationContext(JsonParser jp, DeserializationConfig cfg)
protected JsonToken
ObjectMapper. _initForReading(JsonParser jp)
Method called to ensure that given parser is ready for reading content for data binding.protected static JsonToken
ObjectReader. _initForReading(JsonParser jp)
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
ObjectMapper. _unwrapAndDeserialize(JsonParser jp, JavaType rootType, DeserializationContext ctxt, JsonDeserializer<Object> deser)
protected Object
ObjectReader. _unwrapAndDeserialize(JsonParser jp, DeserializationContext ctxt, JavaType rootType, 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 configuredDeserializationProblemHandler
s of an unrecognized property.JsonNode
ObjectMapper. readTree(JsonParser jp)
Method to deserialize JSON content as tree expressed using set ofJsonNode
instances.JsonNode
ObjectMapper. readTree(JsonParser jp, DeserializationConfig cfg)
Method to deserialize JSON content as tree expressed using set ofJsonNode
instances.JsonNode
ObjectReader. readTree(JsonParser jp)
<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 (likeBoolean
).<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 (likeBoolean
).<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
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> T
ObjectReader. readValue(JsonParser jp)
<T> T
ObjectReader. readValue(JsonParser jp, Class<T> valueType)
<T> T
ObjectReader. readValue(JsonParser jp, JavaType valueType)
<T> T
ObjectReader. readValue(JsonParser jp, TypeReference<?> valueTypeRef)
<T> MappingIterator<T>
ObjectMapper. readValues(JsonParser jp, Class<T> valueType)
Method for reading sequence of Objects from parser stream.<T> MappingIterator<T>
ObjectMapper. readValues(JsonParser jp, JavaType valueType)
Method for reading sequence of Objects from parser stream.<T> MappingIterator<T>
ObjectMapper. readValues(JsonParser jp, TypeReference<?> valueTypeRef)
Method for reading sequence of Objects from parser stream.<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)
<T> Iterator<T>
ObjectReader. readValues(JsonParser jp, JavaType valueType)
<T> Iterator<T>
ObjectReader. readValues(JsonParser jp, TypeReference<?> valueTypeRef)
abstract JsonMappingException
DeserializationContext. wrongTokenException(JsonParser jp, JsonToken expToken, String msg)
Helper method for indicating that the current token was expected to be another token.Constructors in org.codehaus.jackson.map with parameters of type JsonParser Constructor Description MappingIterator(JavaType type, JsonParser jp, DeserializationContext ctxt, JsonDeserializer<?> deser)
-
Uses of JsonParser in org.codehaus.jackson.map.deser
Fields in org.codehaus.jackson.map.deser declared as JsonParser Modifier and Type Field Description protected JsonParser
StdDeserializationContext. _parser
Currently active parser used for deserialization.Methods in org.codehaus.jackson.map.deser that return JsonParser Modifier and Type Method Description JsonParser
StdDeserializationContext. getParser()
Method for accessing the currently active parser.Methods in org.codehaus.jackson.map.deser with parameters of type JsonParser Modifier and Type Method Description 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
AbstractDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)
Object
BeanDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)
Main deserialization method for bean-based objects (POJOs).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.Object
SettableAnyProperty. deserialize(JsonParser jp, DeserializationContext ctxt)
Object
SettableBeanProperty. deserialize(JsonParser jp, DeserializationContext ctxt)
This method is needed by some specialized bean deserializers, and also called by someSettableBeanProperty.deserializeAndSet(org.codehaus.jackson.JsonParser, org.codehaus.jackson.map.DeserializationContext, java.lang.Object)
implementations.String
StdDeserializer.StringDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)
Deprecated.Object
StdDeserializerProvider.WrappedDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)
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).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.FieldProperty. deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance)
void
SettableBeanProperty.InnerClassProperty. deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object bean)
void
SettableBeanProperty.ManagedReferenceProperty. deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance)
void
SettableBeanProperty.MethodProperty. deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance)
void
SettableBeanProperty.SetterlessProperty. deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance)
protected JsonNode
JsonNodeDeserializer. deserializeAny(JsonParser jp, DeserializationContext ctxt)
Deprecated.since 1.9.0protected ArrayNode
JsonNodeDeserializer. deserializeArray(JsonParser jp, DeserializationContext ctxt)
Deprecated.since 1.9.0Object
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.0protected 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
AbstractDeserializer. deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer)
Object
BeanDeserializer. deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer)
String
StdDeserializer.StringDeserializer. deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer)
Deprecated.Object
StdDeserializerProvider.WrappedDeserializer. 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 handlingprotected 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 configuredDeserializationProblemHandler
s of an unrecognized property.JsonMappingException
StdDeserializationContext. wrongTokenException(JsonParser jp, JsonToken expToken, String msg)
Constructors in org.codehaus.jackson.map.deser with parameters of type JsonParser Constructor Description StdDeserializationContext(DeserializationConfig config, JsonParser jp, DeserializerProvider prov, InjectableValues injectableValues)
-
Uses of JsonParser in org.codehaus.jackson.map.deser.impl
Methods in org.codehaus.jackson.map.deser.impl with parameters of type JsonParser Modifier and Type Method 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 handleObject
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.Constructors in org.codehaus.jackson.map.deser.impl with parameters of type JsonParser Constructor Description PropertyValueBuffer(JsonParser jp, DeserializationContext ctxt, int paramCount)
-
Uses of JsonParser in org.codehaus.jackson.map.deser.std
-
Uses of JsonParser in org.codehaus.jackson.map.exc
Methods in org.codehaus.jackson.map.exc with parameters of type JsonParser Modifier and Type Method Description static UnrecognizedPropertyException
UnrecognizedPropertyException. from(JsonParser jp, Object fromObjectOrClass, String propertyName)
-
Uses of JsonParser in org.codehaus.jackson.map.ext
Methods in org.codehaus.jackson.map.ext with parameters of type JsonParser Modifier and Type Method Description XMLGregorianCalendar
CoreXMLDeserializers.GregorianCalendarDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)
DateMidnight
JodaDeserializers.DateMidnightDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)
T
JodaDeserializers.DateTimeDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)
LocalDate
JodaDeserializers.LocalDateDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)
LocalDateTime
JodaDeserializers.LocalDateTimeDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)
ReadablePeriod
JodaDeserializers.PeriodDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)
-
Uses of JsonParser in org.codehaus.jackson.map.jsontype.impl
Methods in org.codehaus.jackson.map.jsontype.impl with parameters of type JsonParser Modifier and Type Method Description protected Object
AsPropertyTypeDeserializer. _deserializeTypedUsingDefaultImpl(JsonParser jp, DeserializationContext ctxt, TokenBuffer tb)
protected String
AsArrayTypeDeserializer. _locateTypeId(JsonParser jp, DeserializationContext ctxt)
Object
AsArrayTypeDeserializer. deserializeTypedFromAny(JsonParser jp, DeserializationContext ctxt)
Object
AsPropertyTypeDeserializer. deserializeTypedFromAny(JsonParser jp, DeserializationContext ctxt)
Object
AsWrapperTypeDeserializer. deserializeTypedFromAny(JsonParser jp, DeserializationContext ctxt)
Object
AsArrayTypeDeserializer. deserializeTypedFromArray(JsonParser jp, DeserializationContext ctxt)
Method called when actual object is serialized as JSON Array.Object
AsWrapperTypeDeserializer. deserializeTypedFromArray(JsonParser jp, DeserializationContext ctxt)
Object
AsArrayTypeDeserializer. deserializeTypedFromObject(JsonParser jp, DeserializationContext ctxt)
Method called when actual object is serialized as JSON ObjectObject
AsPropertyTypeDeserializer. deserializeTypedFromObject(JsonParser jp, DeserializationContext ctxt)
This is the trickiest thing to handle, since property we are looking for may be anywhere...Object
AsWrapperTypeDeserializer. deserializeTypedFromObject(JsonParser jp, DeserializationContext ctxt)
Deserializing type id enclosed using WRAPPER_OBJECT style is straightforwardObject
AsArrayTypeDeserializer. deserializeTypedFromScalar(JsonParser jp, DeserializationContext ctxt)
Object
AsWrapperTypeDeserializer. deserializeTypedFromScalar(JsonParser jp, DeserializationContext ctxt)
-
Uses of JsonParser in org.codehaus.jackson.node
Subclasses of JsonParser in org.codehaus.jackson.node Modifier and Type Class Description class
TreeTraversingParser
Facade overJsonNode
that implementsJsonParser
to allow accessing contents of JSON tree in alternate form (stream of tokens).Methods in org.codehaus.jackson.node that return JsonParser Modifier and Type Method Description JsonParser
TreeTraversingParser. skipChildren()
JsonParser
BaseJsonNode. traverse()
-
Uses of JsonParser in org.codehaus.jackson.util
Subclasses of JsonParser in org.codehaus.jackson.util Modifier and Type Class Description class
JsonParserDelegate
Helper class that implements delegation pattern forJsonParser
, to allow for simple overridability of basic parsing functionality.class
JsonParserSequence
Helper class that can be used to sequence multiple physicalJsonParser
s to create a single logical sequence of tokens, as a singleJsonParser
.protected static class
TokenBuffer.Parser
Fields in org.codehaus.jackson.util declared as JsonParser Modifier and Type Field 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.Methods in org.codehaus.jackson.util that return JsonParser Modifier and Type Method Description JsonParser
TokenBuffer. asParser()
Method used to create aJsonParser
that can read contents stored in this buffer.JsonParser
TokenBuffer. asParser(JsonParser src)
JsonParser
TokenBuffer. asParser(ObjectCodec codec)
Method used to create aJsonParser
that can read contents stored in this buffer.JsonParser
JsonParserDelegate. disable(JsonParser.Feature f)
JsonParser
JsonParserDelegate. enable(JsonParser.Feature f)
JsonParser
JsonParserDelegate. skipChildren()
Methods in org.codehaus.jackson.util with parameters of type JsonParser Modifier and Type Method Description JsonParser
TokenBuffer. asParser(JsonParser src)
void
JsonGeneratorDelegate. copyCurrentEvent(JsonParser jp)
void
TokenBuffer. copyCurrentEvent(JsonParser jp)
void
JsonGeneratorDelegate. copyCurrentStructure(JsonParser jp)
void
TokenBuffer. 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.Method parameters in org.codehaus.jackson.util with type arguments of type JsonParser Modifier and Type Method Description protected void
JsonParserSequence. addFlattenedActiveParsers(List<JsonParser> result)
Constructors in org.codehaus.jackson.util with parameters of type JsonParser Constructor Description JsonParserDelegate(JsonParser d)
JsonParserSequence(JsonParser[] parsers)
-
Uses of JsonParser in org.codehaus.jackson.xc
Methods in org.codehaus.jackson.xc with parameters of type JsonParser Modifier and Type Method Description javax.activation.DataHandler
DataHandlerJsonDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)
Element
DomElementJsonDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)
Object
XmlAdapterJsonDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)
Object
XmlAdapterJsonDeserializer. deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer)
-