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 importantlyJsonFactoryused 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 viaObjectMapperclass, as well as convenience methods included inJsonParserorg.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 forTypeResolverBuilderandTypeIdResolver.org.codehaus.jackson.node Contains concreteJsonNodeimplementations 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 JsonParserJsonFactory. _createJsonParser(byte[] data, int offset, int len, IOContext ctxt)Overridable factory method that actually instantiates parser using givenReaderobject for reading content passed as raw byte array.protected JsonParserJsonFactory. _createJsonParser(InputStream in, IOContext ctxt)Overridable factory method that actually instantiates desired parser givenInputStreamand context object.protected JsonParserJsonFactory. _createJsonParser(Reader r, IOContext ctxt)Overridable factory method that actually instantiates parser using givenReaderobject for reading content.JsonParserJsonParser. configure(JsonParser.Feature f, boolean state)Method for enabling or disabling specified feature (checkJsonParser.Featurefor list of features)JsonParserJsonFactory. createJsonParser(byte[] data)Method for constructing parser for parsing the contents of given byte array.JsonParserJsonFactory. createJsonParser(byte[] data, int offset, int len)Method for constructing parser for parsing the contents of given byte array.JsonParserJsonFactory. createJsonParser(File f)Method for constructing JSON parser instance to parse contents of specified file.JsonParserJsonFactory. createJsonParser(InputStream in)Method for constructing JSON parser instance to parse the contents accessed via specified input stream.JsonParserJsonFactory. createJsonParser(Reader r)Method for constructing parser for parsing the contents accessed via specified Reader.JsonParserJsonFactory. createJsonParser(String content)Method for constructing parser for parsing contens of given String.JsonParserJsonFactory. createJsonParser(URL url)Method for constructing JSON parser instance to parse contents of resource reference by given URL.JsonParserJsonParser. disable(JsonParser.Feature f)Method for disabling specified feature (checkJsonParser.Featurefor list of features)JsonParserJsonParser. enable(JsonParser.Feature f)Method for enabling specified parser feature (checkJsonParser.Featurefor list of features)abstract JsonParserJsonParser. 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_OBJECTorJsonToken.START_ARRAY.abstract JsonParserJsonNode. traverse()Method for constructing aJsonParserinstance for iterating over contents of the tree that this node is root of.abstract JsonParserObjectCodec. treeAsTokens(JsonNode n)Method for constructing aJsonParserfor 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 voidJsonGenerator. copyCurrentEvent(JsonParser jp)Method for copying contents of the current event that the given parser instance points to.abstract voidJsonGenerator. copyCurrentStructure(JsonParser jp)Method for copying contents of the current event and following events that it encloses the given parser instance points to.abstract JsonNodeObjectCodec. readTree(JsonParser jp)Method to deserialize JSON content as tree expressed using set ofJsonNodeinstances.abstract <T> TObjectCodec. 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> TObjectCodec. readValue(JsonParser jp, JavaType valueType)Method to deserialize JSON content as tree expressed using set ofJsonNodeinstances.abstract <T> TObjectCodec. 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 JsonParserDataFormatMatcher. createParserWithMatch()Convenience method for trying to construct aJsonParserfor 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 classJsonNumericParserBaseDeprecated.Since 1.9.0: functionality demoted down to JsonParserBaseclassJsonParserBaseIntermediate base class used by all JacksonJsonParserimplementations.classJsonParserMinimalBaseIntermediate base class used by all JacksonJsonParserimplementations, but does not add any additional fields that depend on particular method of obtaining input.classReaderBasedParserThis is a concrete implementation ofJsonParser, which is based on aReaderto handle low-level character conversion tasks.classReaderBasedParserBaseDeprecated.Since 1.9 sub-classes should just include code from here as is.classStreamBasedParserBaseDeprecated.Since 1.9, sub-classes should just embed code from hereclassUtf8StreamParserThis is a concrete implementation ofJsonParser, which is based on aInputStreamas the input source.Methods in org.codehaus.jackson.impl that return JsonParser Modifier and Type Method Description JsonParserByteSourceBootstrapper. constructParser(int features, ObjectCodec codec, BytesToNameCanonicalizer rootByteSymbols, CharsToNameCanonicalizer rootCharSymbols)JsonParserJsonParserMinimalBase. skipChildren()Methods in org.codehaus.jackson.impl with parameters of type JsonParser Modifier and Type Method Description voidJsonGeneratorBase. copyCurrentEvent(JsonParser jp)voidJsonGeneratorBase. 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 JsonParserMappingIterator. _parserMethods in org.codehaus.jackson.map that return JsonParser Modifier and Type Method Description abstract JsonParserDeserializationContext. getParser()Accessor for getting access to the underlying JSON parser used for deserialization.JsonParserObjectMapper. treeAsTokens(JsonNode n)Method for constructing aJsonParserout of JSON tree representation.JsonParserObjectReader. treeAsTokens(JsonNode n)Methods in org.codehaus.jackson.map with parameters of type JsonParser Modifier and Type Method Description protected ObjectObjectReader. _bind(JsonParser jp)Actual implementation of value reading+binding operation.protected ObjectObjectReader. _bindAndClose(JsonParser jp)protected JsonNodeObjectReader. _bindAndCloseAsTree(JsonParser jp)protected JsonNodeObjectReader. _bindAsTree(JsonParser jp)protected DeserializationContextObjectMapper. _createDeserializationContext(JsonParser jp, DeserializationConfig cfg)protected DeserializationContextObjectReader. _createDeserializationContext(JsonParser jp, DeserializationConfig cfg)protected JsonTokenObjectMapper. _initForReading(JsonParser jp)Method called to ensure that given parser is ready for reading content for data binding.protected static JsonTokenObjectReader. _initForReading(JsonParser jp)protected ObjectObjectMapper. _readMapAndClose(JsonParser jp, JavaType valueType)protected ObjectObjectMapper. _readValue(DeserializationConfig cfg, JsonParser jp, JavaType valueType)Actual implementation of value reading+binding operation.protected ObjectObjectMapper. _unwrapAndDeserialize(JsonParser jp, JavaType rootType, DeserializationContext ctxt, JsonDeserializer<Object> deser)protected ObjectObjectReader. _unwrapAndDeserialize(JsonParser jp, DeserializationContext ctxt, JavaType rootType, JsonDeserializer<Object> deser)abstract TJsonDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)Method that can be called to ask implementation to deserialize JSON content into the value type this serializer handles.TJsonDeserializer. 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 ObjectTypeDeserializer. 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 ObjectTypeDeserializer. 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 ObjectTypeDeserializer. 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 ObjectTypeDeserializer. 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.ObjectJsonDeserializer. 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 JsonMappingExceptionJsonMappingException. from(JsonParser jp, String msg)static JsonMappingExceptionJsonMappingException. from(JsonParser jp, String msg, Throwable problem)abstract booleanDeserializationContext. handleUnknownProperty(JsonParser jp, JsonDeserializer<?> deser, Object instanceOrClass, String propName)Method deserializers can call to inform configuredDeserializationProblemHandlers of an unrecognized property.JsonNodeObjectMapper. readTree(JsonParser jp)Method to deserialize JSON content as tree expressed using set ofJsonNodeinstances.JsonNodeObjectMapper. readTree(JsonParser jp, DeserializationConfig cfg)Method to deserialize JSON content as tree expressed using set ofJsonNodeinstances.JsonNodeObjectReader. 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.<T> TObjectMapper. 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> TObjectMapper. 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> TObjectMapper. readValue(JsonParser jp, JavaType valueType)Method to deserialize JSON content into a Java type, reference to which is passed as argument.<T> TObjectMapper. readValue(JsonParser jp, JavaType valueType, DeserializationConfig cfg)Method to deserialize JSON content into a Java type, reference to which is passed as argument.<T> TObjectMapper. readValue(JsonParser jp, TypeReference<?> valueTypeRef)Method to deserialize JSON content into a Java type, reference to which is passed as argument.<T> TObjectMapper. readValue(JsonParser jp, TypeReference<?> valueTypeRef, DeserializationConfig cfg)Method to deserialize JSON content into a Java type, reference to which is passed as argument.<T> TObjectReader. readValue(JsonParser jp)Method that binds content read using given parser, using configuration of this reader, including expected result type.<T> TObjectReader. 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> TObjectReader. 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> TObjectReader. 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> 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)Convenience method that is equivalent to:<T> Iterator<T>ObjectReader. readValues(JsonParser jp, JavaType valueType)Convenience method that is equivalent to:<T> Iterator<T>ObjectReader. readValues(JsonParser jp, TypeReference<?> valueTypeRef)Convenience method that is equivalent to:abstract JsonMappingExceptionDeserializationContext. 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)MappingIterator(JavaType type, JsonParser jp, DeserializationContext ctxt, JsonDeserializer<?> deser, boolean closeParser, Object valueToUpdate) -
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 JsonParserStdDeserializationContext. _parserCurrently active parser used for deserialization.Methods in org.codehaus.jackson.map.deser that return JsonParser Modifier and Type Method Description JsonParserStdDeserializationContext. 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 ObjectAbstractDeserializer. _deserializeIfNatural(JsonParser jp, DeserializationContext ctxt)protected ObjectBeanDeserializer. _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.ObjectAbstractDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)ObjectBeanDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)Main deserialization method for bean-based objects (POJOs).ObjectBeanDeserializer. 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.ObjectSettableAnyProperty. deserialize(JsonParser jp, DeserializationContext ctxt)ObjectSettableBeanProperty. 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.StringStdDeserializer.StringDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)Deprecated.ObjectStdDeserializerProvider.WrappedDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)ObjectStdDeserializerProvider.WrappedDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt, Object intoValue)voidSettableAnyProperty. 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 voidSettableBeanProperty. deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance)Method called to deserialize appropriate value, given parser (and context), and set it using appropriate mechanism.voidSettableBeanProperty.FieldProperty. deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance)voidSettableBeanProperty.InnerClassProperty. deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object bean)voidSettableBeanProperty.ManagedReferenceProperty. deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance)voidSettableBeanProperty.MethodProperty. deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance)voidSettableBeanProperty.SetterlessProperty. deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance)protected JsonNodeJsonNodeDeserializer. deserializeAny(JsonParser jp, DeserializationContext ctxt)Deprecated.since 1.9.0protected ArrayNodeJsonNodeDeserializer. deserializeArray(JsonParser jp, DeserializationContext ctxt)Deprecated.since 1.9.0ObjectBeanDeserializer. deserializeFromArray(JsonParser jp, DeserializationContext ctxt)ObjectBeanDeserializer. deserializeFromBoolean(JsonParser jp, DeserializationContext ctxt)Method called to deserialize POJO value from a JSON boolean value (true, false)ObjectBeanDeserializer. deserializeFromDouble(JsonParser jp, DeserializationContext ctxt)Method called to deserialize POJO value from a JSON floating-point number.ObjectBeanDeserializer. deserializeFromNumber(JsonParser jp, DeserializationContext ctxt)ObjectBeanDeserializer. deserializeFromObject(JsonParser jp, DeserializationContext ctxt)protected ObjectBeanDeserializer. deserializeFromObjectUsingNonDefault(JsonParser jp, DeserializationContext ctxt)ObjectBeanDeserializer. deserializeFromString(JsonParser jp, DeserializationContext ctxt)protected ObjectNodeJsonNodeDeserializer. deserializeObject(JsonParser jp, DeserializationContext ctxt)Deprecated.since 1.9.0protected ObjectBeanDeserializer. deserializeUsingPropertyBasedWithExternalTypeId(JsonParser jp, DeserializationContext ctxt)protected ObjectBeanDeserializer. deserializeUsingPropertyBasedWithUnwrapped(JsonParser jp, DeserializationContext ctxt)protected ObjectBeanDeserializer. deserializeWithExternalTypeId(JsonParser jp, DeserializationContext ctxt)protected ObjectBeanDeserializer. deserializeWithExternalTypeId(JsonParser jp, DeserializationContext ctxt, Object bean)ObjectAbstractDeserializer. deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectBeanDeserializer. deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer)StringStdDeserializer.StringDeserializer. deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer)Deprecated.ObjectStdDeserializerProvider.WrappedDeserializer. deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer)protected ObjectBeanDeserializer. deserializeWithUnwrapped(JsonParser jp, DeserializationContext ctxt)Method called when there are declared "unwrapped" properties which need special handlingprotected ObjectBeanDeserializer. deserializeWithUnwrapped(JsonParser jp, DeserializationContext ctxt, Object bean)protected ObjectBeanDeserializer. 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 voidBeanDeserializer. 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.booleanStdDeserializationContext. handleUnknownProperty(JsonParser jp, JsonDeserializer<?> deser, Object instanceOrClass, String propName)Method deserializers can call to inform configuredDeserializationProblemHandlers of an unrecognized property.JsonMappingExceptionStdDeserializationContext. 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 voidExternalTypeHandler. _deserialize(JsonParser jp, DeserializationContext ctxt, Object bean, int index)ObjectExternalTypeHandler. complete(JsonParser jp, DeserializationContext ctxt, Object bean)voidCreatorProperty. deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance)booleanExternalTypeHandler. handleToken(JsonParser jp, DeserializationContext ctxt, String propName, Object bean)Method called to ask handler to handlebooleanExternalTypeHandler. 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.ObjectUnwrappedPropertyHandler. processUnwrapped(JsonParser originalParser, DeserializationContext ctxt, Object bean, TokenBuffer buffered)PropertyValueBufferPropertyBasedCreator. 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 UnrecognizedPropertyExceptionUnrecognizedPropertyException. 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 XMLGregorianCalendarCoreXMLDeserializers.GregorianCalendarDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)DateMidnightJodaDeserializers.DateMidnightDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)TJodaDeserializers.DateTimeDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)LocalDateJodaDeserializers.LocalDateDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)LocalDateTimeJodaDeserializers.LocalDateTimeDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)ReadablePeriodJodaDeserializers.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 ObjectAsPropertyTypeDeserializer. _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 ObjectAsPropertyTypeDeserializer. _deserializeTypedUsingDefaultImpl(JsonParser jp, DeserializationContext ctxt, TokenBuffer tb)protected StringAsArrayTypeDeserializer. _locateTypeId(JsonParser jp, DeserializationContext ctxt)ObjectAsArrayTypeDeserializer. deserializeTypedFromAny(JsonParser jp, DeserializationContext ctxt)ObjectAsPropertyTypeDeserializer. deserializeTypedFromAny(JsonParser jp, DeserializationContext ctxt)ObjectAsWrapperTypeDeserializer. deserializeTypedFromAny(JsonParser jp, DeserializationContext ctxt)ObjectAsArrayTypeDeserializer. deserializeTypedFromArray(JsonParser jp, DeserializationContext ctxt)Method called when actual object is serialized as JSON Array.ObjectAsWrapperTypeDeserializer. deserializeTypedFromArray(JsonParser jp, DeserializationContext ctxt)ObjectAsArrayTypeDeserializer. deserializeTypedFromObject(JsonParser jp, DeserializationContext ctxt)Method called when actual object is serialized as JSON ObjectObjectAsPropertyTypeDeserializer. deserializeTypedFromObject(JsonParser jp, DeserializationContext ctxt)This is the trickiest thing to handle, since property we are looking for may be anywhere...ObjectAsWrapperTypeDeserializer. deserializeTypedFromObject(JsonParser jp, DeserializationContext ctxt)Deserializing type id enclosed using WRAPPER_OBJECT style is straightforwardObjectAsArrayTypeDeserializer. deserializeTypedFromScalar(JsonParser jp, DeserializationContext ctxt)ObjectAsWrapperTypeDeserializer. 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 classTreeTraversingParserFacade overJsonNodethat implementsJsonParserto 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 JsonParserTreeTraversingParser. skipChildren()JsonParserBaseJsonNode. traverse() -
Uses of JsonParser in org.codehaus.jackson.util
Subclasses of JsonParser in org.codehaus.jackson.util Modifier and Type Class Description classJsonParserDelegateHelper class that implements delegation pattern forJsonParser, to allow for simple overridability of basic parsing functionality.classJsonParserSequenceHelper class that can be used to sequence multiple physicalJsonParsers to create a single logical sequence of tokens, as a singleJsonParser.protected static classTokenBuffer.ParserFields in org.codehaus.jackson.util declared as JsonParser Modifier and Type Field Description protected JsonParser[]JsonParserSequence. _parsersParsers other than the first one (which is initially assigned as delegate)protected JsonParserJsonParserDelegate. delegateDelegate object that method calls are delegated to.Methods in org.codehaus.jackson.util that return JsonParser Modifier and Type Method Description JsonParserTokenBuffer. asParser()Method used to create aJsonParserthat can read contents stored in this buffer.JsonParserTokenBuffer. asParser(JsonParser src)JsonParserTokenBuffer. asParser(ObjectCodec codec)Method used to create aJsonParserthat can read contents stored in this buffer.JsonParserJsonParserDelegate. disable(JsonParser.Feature f)JsonParserJsonParserDelegate. enable(JsonParser.Feature f)JsonParserJsonParserDelegate. skipChildren()Methods in org.codehaus.jackson.util with parameters of type JsonParser Modifier and Type Method Description JsonParserTokenBuffer. asParser(JsonParser src)voidJsonGeneratorDelegate. copyCurrentEvent(JsonParser jp)voidTokenBuffer. copyCurrentEvent(JsonParser jp)voidJsonGeneratorDelegate. copyCurrentStructure(JsonParser jp)voidTokenBuffer. copyCurrentStructure(JsonParser jp)static JsonParserSequenceJsonParserSequence. 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 voidJsonParserSequence. 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.DataHandlerDataHandlerJsonDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)ElementDomElementJsonDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)ObjectXmlAdapterJsonDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)ObjectXmlAdapterJsonDeserializer. deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer)
-