|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JsonParser | |
---|---|
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
(JsonParser )
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.format | Package that contains interfaces needed for dynamic, pluggable format (auto)detection; as well as basic utility classes for simple format detection functionality. |
com.fasterxml.jackson.core.json | JSON-specific parser and generator implementation classes that Jackson defines and uses. |
com.fasterxml.jackson.core.util | Utility classes used by Jackson Core functionality. |
Uses of JsonParser in com.fasterxml.jackson.core |
---|
Methods in com.fasterxml.jackson.core that return JsonParser | |
---|---|
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 contents 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 . |
JsonParser |
TreeNode.traverse()
Method for constructing a JsonParser instance for
iterating over contents of the tree that this node is root of. |
abstract JsonParser |
ObjectCodec.treeAsTokens(TreeNode n)
Method for constructing a JsonParser for reading
contents of a JSON tree, as if it was external serialized
JSON content. |
Methods in com.fasterxml.jackson.core with parameters of type JsonParser | ||
---|---|---|
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
|
ObjectCodec.readTree(JsonParser jp)
Method to deserialize JSON content as tree expressed using set of TreeNode instances. |
|
abstract
|
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
|
ObjectCodec.readValue(JsonParser jp,
ResolvedType valueType)
Method to deserialize JSON content into a POJO, type specified with fully resolved type object (so it can be a generic type, including containers like Collection and
Map ). |
|
abstract
|
ObjectCodec.readValue(JsonParser jp,
TypeReference<?> valueTypeRef)
Method to deserialize JSON content into a Java type, reference to which is passed as argument. |
|
abstract
|
ObjectCodec.readValues(JsonParser jp,
Class<T> valueType)
Method for reading sequence of Objects from parser stream, all with same specified value type. |
|
abstract
|
ObjectCodec.readValues(JsonParser jp,
ResolvedType valueType)
Method for reading sequence of Objects from parser stream, all with same specified value type. |
|
abstract
|
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 com.fasterxml.jackson.core.base |
---|
Subclasses of JsonParser in com.fasterxml.jackson.core.base | |
---|---|
class |
ParserBase
Intermediate base class used by all Jackson JsonParser
implementations. |
class |
ParserMinimalBase
Intermediate base class used by all Jackson JsonParser
implementations, but does not add any additional fields that depend
on particular method of obtaining input. |
Methods in com.fasterxml.jackson.core.base that return JsonParser | |
---|---|
JsonParser |
ParserMinimalBase.skipChildren()
|
Methods in com.fasterxml.jackson.core.base with parameters of type JsonParser | |
---|---|
void |
GeneratorBase.copyCurrentEvent(JsonParser jp)
|
void |
GeneratorBase.copyCurrentStructure(JsonParser jp)
|
Uses of JsonParser in com.fasterxml.jackson.core.format |
---|
Methods in com.fasterxml.jackson.core.format that return JsonParser | |
---|---|
JsonParser |
DataFormatMatcher.createParserWithMatch()
Convenience method for trying to construct a JsonParser for
parsing content which is assumed to be in detected data format. |
Uses of JsonParser in com.fasterxml.jackson.core.json |
---|
Subclasses of JsonParser in com.fasterxml.jackson.core.json | |
---|---|
class |
ReaderBasedJsonParser
This is a concrete implementation of JsonParser , which is
based on a Reader to handle low-level character
conversion tasks. |
class |
UTF8StreamJsonParser
This is a concrete implementation of JsonParser , which is
based on a InputStream as the input source. |
Methods in com.fasterxml.jackson.core.json that return JsonParser | |
---|---|
JsonParser |
ByteSourceJsonBootstrapper.constructParser(int parserFeatures,
ObjectCodec codec,
BytesToNameCanonicalizer rootByteSymbols,
CharsToNameCanonicalizer rootCharSymbols,
boolean canonicalize,
boolean intern)
|
Uses of JsonParser in com.fasterxml.jackson.core.util |
---|
Subclasses of JsonParser in com.fasterxml.jackson.core.util | |
---|---|
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 . |
Fields in com.fasterxml.jackson.core.util declared as JsonParser | |
---|---|
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 com.fasterxml.jackson.core.util that return JsonParser | |
---|---|
JsonParser |
JsonParserDelegate.disable(JsonParser.Feature f)
|
JsonParser |
JsonParserDelegate.enable(JsonParser.Feature f)
|
JsonParser |
JsonParserDelegate.skipChildren()
|
Methods in com.fasterxml.jackson.core.util with parameters of type JsonParser | |
---|---|
void |
JsonGeneratorDelegate.copyCurrentEvent(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. |
Method parameters in com.fasterxml.jackson.core.util with type arguments of type JsonParser | |
---|---|
protected void |
JsonParserSequence.addFlattenedActiveParsers(List<JsonParser> result)
|
Constructors in com.fasterxml.jackson.core.util with parameters of type JsonParser | |
---|---|
JsonParserDelegate(JsonParser d)
|
|
JsonParserSequence(JsonParser[] parsers)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |