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

Packages that use JsonToken
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.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 JsonToken in com.fasterxml.jackson.core

Methods in com.fasterxml.jackson.core that return JsonToken
`JsonToken` `TreeNode.asToken()` Method that can be used for efficient type detection when using stream abstraction for traversing nodes.
`abstract JsonToken` `JsonParser.getCurrentToken()` Accessor to find which token parser currently points to, if any; null will be returned if none.
`abstract JsonToken` `JsonParser.getLastClearedToken()` Method that can be called to get the last token that was cleared using `JsonParser.clearCurrentToken()`.
`abstract JsonToken` `JsonParser.nextToken()` Main iteration method, which will advance stream enough to determine type of the next token, if any.
`abstract JsonToken` `JsonParser.nextValue()` Iteration method that will advance stream enough to determine type of the next token that is a value type (including JSON Array and Object start/end markers).
`static JsonToken` `JsonToken.valueOf(String name)` Returns the enum constant of this type with the specified name.
`static JsonToken[]` `JsonToken.values()` Returns an array containing the constants of this enum type, in the order they are declared.

Uses of JsonToken in com.fasterxml.jackson.core.base

Fields in com.fasterxml.jackson.core.base declared as JsonToken
`protected JsonToken` `ParserMinimalBase._currToken` Last token retrieved via `ParserMinimalBase.nextToken()`, if any.
`protected JsonToken` `ParserMinimalBase._lastClearedToken` Last cleared token, if any: that is, value that was in effect when `ParserMinimalBase.clearCurrentToken()` was called.
`protected JsonToken` `ParserBase._nextToken` Secondary token related to the next token after current one; used if its type is known.

Methods in com.fasterxml.jackson.core.base that return JsonToken
`JsonToken` `ParserMinimalBase.getCurrentToken()`
`JsonToken` `ParserMinimalBase.getLastClearedToken()`
`abstract JsonToken` `ParserMinimalBase.nextToken()`
`JsonToken` `ParserMinimalBase.nextValue()`
`protected JsonToken` `ParserBase.reset(boolean negative, int intLen, int fractLen, int expLen)`
`protected JsonToken` `ParserBase.resetAsNaN(String valueStr, double value)`
`protected JsonToken` `ParserBase.resetFloat(boolean negative, int intLen, int fractLen, int expLen)`
`protected JsonToken` `ParserBase.resetInt(boolean negative, int intLen)`

Uses of JsonToken in com.fasterxml.jackson.core.json

Methods in com.fasterxml.jackson.core.json that return JsonToken
`protected JsonToken` `UTF8StreamJsonParser._handleApostropheValue()`
`protected JsonToken` `ReaderBasedJsonParser._handleApostropheValue()`
`protected JsonToken` `UTF8StreamJsonParser._handleInvalidNumberStart(int ch, boolean negative)` Method called if expected numeric value (due to leading sign) does not look like a number
`protected JsonToken` `ReaderBasedJsonParser._handleInvalidNumberStart(int ch, boolean negative)` Method called if expected numeric value (due to leading sign) does not look like a number
`protected JsonToken` `UTF8StreamJsonParser._handleUnexpectedValue(int c)` Method for handling cases where first non-space character of an expected value token is not legal for standard JSON content.
`protected JsonToken` `ReaderBasedJsonParser._handleUnexpectedValue(int i)` Method for handling cases where first non-space character of an expected value token is not legal for standard JSON content.
`JsonToken` `UTF8StreamJsonParser.nextToken()`
`JsonToken` `ReaderBasedJsonParser.nextToken()`
`protected JsonToken` `UTF8StreamJsonParser.parseNumberText(int c)` Initial parsing method for number values.
`protected JsonToken` `ReaderBasedJsonParser.parseNumberText(int ch)` Initial parsing method for number values.

Methods in com.fasterxml.jackson.core.json with parameters of type JsonToken
`protected String` `UTF8StreamJsonParser._getText2(JsonToken t)`
`protected String` `ReaderBasedJsonParser._getText2(JsonToken t)`

Uses of JsonToken in com.fasterxml.jackson.core.util

Methods in com.fasterxml.jackson.core.util that return JsonToken
`JsonToken` `JsonParserDelegate.getCurrentToken()`
`JsonToken` `JsonParserDelegate.getLastClearedToken()`
`JsonToken` `JsonParserSequence.nextToken()`
`JsonToken` `JsonParserDelegate.nextToken()`
`JsonToken` `JsonParserDelegate.nextValue()`

Copyright © 2012 fasterxml.com. All Rights Reserved.