## Uses of Class
com.fasterxml.jackson.core.JsonParser

- Packages that use JsonParser
  Package | Description
  --- | ---
  com.fasterxml.jackson.core | Main public API classes of the core streaming JSON processor: most importantly `JsonFactory` used for constructing JSON parser (`JsonParser`) and generator (`JsonGenerator`) instances.
  com.fasterxml.jackson.core.base | Base classes used by concrete Parser and Generator implementations; contain functionality that is not specific to JSON or input abstraction (byte vs char).
  com.fasterxml.jackson.core.exc | Package for some of `JsonProcessingException` subtypes contained by streaming API.
  com.fasterxml.jackson.core.filter |
  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.io |
  com.fasterxml.jackson.core.json | JSON-specific parser and generator implementation classes that Jackson defines and uses.
  com.fasterxml.jackson.core.json.async | Non-blocking ("async") JSON parser implementation.
  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
    Modifier and Type | Method and Description
    --- | ---
    `protected JsonParser` | JsonFactory.`_createParser(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.`_createParser(char[] data, int offset, int len, IOContext ctxt, boolean recyclable)` Overridable factory method that actually instantiates parser using given `char[]` object for accessing content.
    `protected JsonParser` | JsonFactory.`_createParser(DataInput input, IOContext ctxt)` Optional factory method, expected to be overridden
    `protected JsonParser` | JsonFactory.`_createParser(InputStream in, IOContext ctxt)` Overridable factory method that actually instantiates desired parser given `InputStream` and context object.
    `protected JsonParser` | JsonFactory.`_createParser(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)` Deprecated. Since 2.2, use `JsonFactory.createParser(byte[])` instead.
    `JsonParser` | JsonFactory.`createJsonParser(byte[] data, int offset, int len)` Deprecated. Since 2.2, use `JsonFactory.createParser(byte[],int,int)` instead.
    `JsonParser` | JsonFactory.`createJsonParser(File f)` Deprecated. Since 2.2, use `JsonFactory.createParser(File)` instead.
    `JsonParser` | JsonFactory.`createJsonParser(InputStream in)` Deprecated. Since 2.2, use `JsonFactory.createParser(InputStream)` instead.
    `JsonParser` | JsonFactory.`createJsonParser(Reader r)` Deprecated. Since 2.2, use `JsonFactory.createParser(Reader)` instead.
    `JsonParser` | JsonFactory.`createJsonParser(String content)` Deprecated. Since 2.2, use `JsonFactory.createParser(String)` instead.
    `JsonParser` | JsonFactory.`createJsonParser(URL url)` Deprecated. Since 2.2, use `JsonFactory.createParser(URL)` instead.
    `abstract JsonParser` | TokenStreamFactory.`createNonBlockingByteArrayParser()`
    `JsonParser` | JsonFactory.`createNonBlockingByteArrayParser()` Optional method for constructing parser for non-blocking parsing via `ByteArrayFeeder` interface (accessed using `getNonBlockingInputFeeder()` from constructed instance).
    `abstract JsonParser` | TokenStreamFactory.`createParser(byte[] data)`
    `JsonParser` | JsonFactory.`createParser(byte[] data)` Method for constructing parser for parsing the contents of given byte array.
    `abstract JsonParser` | TokenStreamFactory.`createParser(byte[] data, int offset, int len)`
    `JsonParser` | JsonFactory.`createParser(byte[] data, int offset, int len)` Method for constructing parser for parsing the contents of given byte array.
    `abstract JsonParser` | TokenStreamFactory.`createParser(char[] content)`
    `JsonParser` | JsonFactory.`createParser(char[] content)` Method for constructing parser for parsing contents of given char array.
    `abstract JsonParser` | TokenStreamFactory.`createParser(char[] content, int offset, int len)`
    `JsonParser` | JsonFactory.`createParser(char[] content, int offset, int len)` Method for constructing parser for parsing contents of given char array.
    `abstract JsonParser` | TokenStreamFactory.`createParser(DataInput in)`
    `JsonParser` | JsonFactory.`createParser(DataInput in)` Optional method for constructing parser for reading contents from specified `DataInput` instance.
    `abstract JsonParser` | TokenStreamFactory.`createParser(File f)`
    `JsonParser` | JsonFactory.`createParser(File f)` Method for constructing JSON parser instance to parse contents of specified file.
    `abstract JsonParser` | TokenStreamFactory.`createParser(InputStream in)`
    `JsonParser` | JsonFactory.`createParser(InputStream in)` Method for constructing JSON parser instance to parse the contents accessed via specified input stream.
    `abstract JsonParser` | TokenStreamFactory.`createParser(Reader r)`
    `JsonParser` | JsonFactory.`createParser(Reader r)` Method for constructing parser for parsing the contents accessed via specified Reader.
    `abstract JsonParser` | TokenStreamFactory.`createParser(String content)`
    `JsonParser` | JsonFactory.`createParser(String content)` Method for constructing parser for parsing contents of given String.
    `abstract JsonParser` | TokenStreamFactory.`createParser(URL url)`
    `JsonParser` | JsonFactory.`createParser(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)
    `JsonParser` | JsonParseException.`getProcessor()`
    `JsonParser` | JsonParser.`overrideFormatFeatures(int values, int mask)` Bulk set method for (re)setting states of `FormatFeature`s, by specifying values (set / clear) along with a mask, to determine which features to change, if any.
    `JsonParser` | JsonParser.`overrideStdFeatures(int values, int mask)` Bulk set method for (re)setting states of features specified by `mask`.
    `JsonParser` | JsonParser.`setFeatureMask(int mask)` Deprecated. Since 2.7, use `overrideStdFeatures(int, int)` instead
    `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.
    `JsonParser` | TreeNode.`traverse(ObjectCodec codec)` Same as `TreeNode.traverse()`, but additionally passes `ObjectCodec` to use if `readValueAs(Class)` is used (otherwise caller must call `setCodec(com.fasterxml.jackson.core.ObjectCodec)` on response explicitly).
    `abstract JsonParser` | TreeCodec.`treeAsTokens(TreeNode node)`
    `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
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | JsonGenerator.`_copyCurrentContents(JsonParser p)`
    `void` | JsonGenerator.`copyCurrentEvent(JsonParser p)` Method for copying contents of the current event that the given parser instance points to.
    `void` | JsonGenerator.`copyCurrentStructure(JsonParser p)` Method for copying contents of the current event and following events that it encloses the given parser instance points to.
    `abstract <T extends TreeNode> T` | TreeCodec.`readTree(JsonParser p)`
    `abstract <T extends TreeNode> T` | ObjectCodec.`readTree(JsonParser p)` Method to deserialize JSON content as tree expressed using set of `TreeNode` instances.
    `abstract <T> T` | ObjectCodec.`readValue(JsonParser p, 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 p, 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 <T> T` | ObjectCodec.`readValue(JsonParser p, TypeReference<T> valueTypeRef)` Method to deserialize JSON content into a Java type, reference to which is passed as argument.
    `abstract <T> Iterator<T>` | ObjectCodec.`readValues(JsonParser p, 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 p, ResolvedType valueType)` Method for reading sequence of Objects from parser stream, all with same specified value type.
    `abstract <T> Iterator<T>` | ObjectCodec.`readValues(JsonParser p, TypeReference<T> valueTypeRef)` Method for reading sequence of Objects from parser stream, all with same specified value type.
    `JsonParseException` | JsonParseException.`withParser(JsonParser p)` Fluent method that may be used to assign originating `JsonParser`, to be accessed using `JsonParseException.getProcessor()`.

    Constructors in com.fasterxml.jackson.core with parameters of type JsonParser
    Constructor and Description
    `JsonParseException(JsonParser p, String msg)` Constructor that uses current parsing location as location, and sets processor (accessible via `JsonParseException.getProcessor()`) to specified parser.
    `JsonParseException(JsonParser p, String msg, JsonLocation loc)`
    `JsonParseException(JsonParser p, String msg, JsonLocation loc, Throwable root)`
    `JsonParseException(JsonParser p, String msg, Throwable root)`

  - ### Uses of JsonParser in com.fasterxml.jackson.core.base

    Subclasses of JsonParser in com.fasterxml.jackson.core.base
    Modifier and Type | Class and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `JsonParser` | ParserBase.`disable(JsonParser.Feature f)`
    `JsonParser` | ParserBase.`enable(JsonParser.Feature f)`
    `JsonParser` | ParserBase.`overrideStdFeatures(int values, int mask)`
    `JsonParser` | ParserBase.`setFeatureMask(int newMask)` Deprecated.
    `JsonParser` | ParserMinimalBase.`skipChildren()`

  - ### Uses of JsonParser in com.fasterxml.jackson.core.exc

    Fields in com.fasterxml.jackson.core.exc declared as JsonParser
    Modifier and Type | Field and Description
    --- | ---
    `protected JsonParser` | StreamReadException.`_processor`

    Methods in com.fasterxml.jackson.core.exc that return JsonParser
    Modifier and Type | Method and Description
    --- | ---
    `JsonParser` | StreamReadException.`getProcessor()`

    Methods in com.fasterxml.jackson.core.exc with parameters of type JsonParser
    Modifier and Type | Method and Description
    --- | ---
    `InputCoercionException` | InputCoercionException.`withParser(JsonParser p)` Fluent method that may be used to assign originating `JsonParser`, to be accessed using `StreamReadException.getProcessor()`.
    `abstract StreamReadException` | StreamReadException.`withParser(JsonParser p)` Fluent method that may be used to assign originating `JsonParser`, to be accessed using `StreamReadException.getProcessor()`.

    Constructors in com.fasterxml.jackson.core.exc with parameters of type JsonParser
    Constructor and Description
    `InputCoercionException(JsonParser p, String msg, JsonToken inputType, Class<?> targetType)` Constructor that uses current parsing location as location, and sets processor (accessible via `StreamReadException.getProcessor()`) to specified parser.
    `StreamReadException(JsonParser p, String msg)`
    `StreamReadException(JsonParser p, String msg, JsonLocation loc)`
    `StreamReadException(JsonParser p, String msg, Throwable root)`

  - ### Uses of JsonParser in com.fasterxml.jackson.core.filter

    Subclasses of JsonParser in com.fasterxml.jackson.core.filter
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FilteringParserDelegate` Specialized `JsonParserDelegate` that allows use of `TokenFilter` for outputting a subset of content that is visible to caller

    Methods in com.fasterxml.jackson.core.filter that return JsonParser
    Modifier and Type | Method and Description
    --- | ---
    `JsonParser` | FilteringParserDelegate.`skipChildren()` Need to override, re-implement similar to how method defined in `ParserMinimalBase`, to keep state correct here.

    Methods in com.fasterxml.jackson.core.filter with parameters of type JsonParser
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | TokenFilter.`includeValue(JsonParser p)` Call made when verifying whether a scaler value is being read from a parser.

    Constructors in com.fasterxml.jackson.core.filter with parameters of type JsonParser
    Constructor and Description
    `FilteringParserDelegate(JsonParser p, TokenFilter f, boolean includePath, boolean allowMultipleMatches)`

  - ### Uses of JsonParser in com.fasterxml.jackson.core.format

    Methods in com.fasterxml.jackson.core.format that return JsonParser
    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.

  - ### Uses of JsonParser in com.fasterxml.jackson.core.io

    Constructors in com.fasterxml.jackson.core.io with parameters of type JsonParser
    Constructor and Description
    `JsonEOFException(JsonParser p, JsonToken token, String msg)`

  - ### Uses of JsonParser in com.fasterxml.jackson.core.json

    Subclasses of JsonParser in com.fasterxml.jackson.core.json
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ReaderBasedJsonParser` This is a concrete implementation of `JsonParser`, which is based on a `Reader` to handle low-level character conversion tasks.
    `class` | `UTF8DataInputJsonParser` This is a concrete implementation of `JsonParser`, which is based on a `DataInput` as the input source.
    `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
    Modifier and Type | Method and Description
    --- | ---
    `JsonParser` | ByteSourceJsonBootstrapper.`constructParser(int parserFeatures, ObjectCodec codec, ByteQuadsCanonicalizer rootByteSymbols, CharsToNameCanonicalizer rootCharSymbols, int factoryFeatures)`

    Methods in com.fasterxml.jackson.core.json with parameters of type JsonParser
    Modifier and Type | Method and Description
    --- | ---
    `static DupDetector` | DupDetector.`rootDetector(JsonParser p)`

  - ### Uses of JsonParser in com.fasterxml.jackson.core.json.async

    Subclasses of JsonParser in com.fasterxml.jackson.core.json.async
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NonBlockingJsonParser` Non-blocking parser implementation for JSON content.
    `class` | `NonBlockingJsonParserBase` Intermediate base class for non-blocking JSON parsers.

  - ### Uses of JsonParser in com.fasterxml.jackson.core.util

    Subclasses of JsonParser in com.fasterxml.jackson.core.util
    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`.

    Fields in com.fasterxml.jackson.core.util declared as JsonParser
    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.

    Methods in com.fasterxml.jackson.core.util that return JsonParser
    Modifier and Type | Method and Description
    --- | ---
    `JsonParser` | JsonParserDelegate.`delegate()` Accessor for getting the immediate `JsonParser` this parser delegates calls to.
    `JsonParser` | JsonParserDelegate.`disable(JsonParser.Feature f)`
    `JsonParser` | JsonParserDelegate.`enable(JsonParser.Feature f)`
    `JsonParser` | JsonParserDelegate.`overrideFormatFeatures(int values, int mask)`
    `JsonParser` | JsonParserDelegate.`overrideStdFeatures(int values, int mask)`
    `JsonParser` | JsonParserDelegate.`setFeatureMask(int mask)` Deprecated.
    `JsonParser` | JsonParserDelegate.`skipChildren()`
    `JsonParser` | JsonParserSequence.`skipChildren()` Need to override, re-implement similar to how method defined in `ParserMinimalBase`, to keep state correct here.

    Methods in com.fasterxml.jackson.core.util with parameters of type JsonParser
    Modifier and Type | Method and Description
    --- | ---
    `void` | JsonGeneratorDelegate.`copyCurrentEvent(JsonParser p)`
    `void` | JsonGeneratorDelegate.`copyCurrentStructure(JsonParser p)`
    `static JsonParserSequence` | JsonParserSequence.`createFlattened(boolean checkForExistingToken, JsonParser first, JsonParser second)` Method that will construct a parser (possibly a sequence) that contains all given sub-parsers.
    `static JsonParserSequence` | JsonParserSequence.`createFlattened(JsonParser first, JsonParser second)` Deprecated. Since 2.8 use `JsonParserSequence.createFlattened(boolean, JsonParser, JsonParser)` instead

    Method parameters in com.fasterxml.jackson.core.util with type arguments of type JsonParser
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | JsonParserSequence.`addFlattenedActiveParsers(List<JsonParser> listToAddIn)`

    Constructors in com.fasterxml.jackson.core.util with parameters of type JsonParser
    Constructor and Description
    `JsonParserDelegate(JsonParser d)`
    `JsonParserSequence(boolean checkForExistingToken, JsonParser[] parsers)`
    `JsonParserSequence(JsonParser[] parsers)` Deprecated.

Copyright © 2008–2020 FasterXML. All rights reserved.