public final class JsonUtilities extends Object
Constructor and Description |
---|
JsonUtilities() |
Modifier and Type | Method and Description |
---|---|
static void |
assertIsEndArrayJsonToken(com.fasterxml.jackson.core.JsonParser parser)
Reserved for internal use.
|
static void |
assertIsEndObjectJsonToken(com.fasterxml.jackson.core.JsonParser parser)
Reserved for internal use.
|
static void |
assertIsExpectedFieldName(com.fasterxml.jackson.core.JsonParser parser,
String expectedValue)
Reserved for internal use.
|
static void |
assertIsFieldNameJsonToken(com.fasterxml.jackson.core.JsonParser parser)
Reserved for internal use.
|
static void |
assertIsStartArrayJsonToken(com.fasterxml.jackson.core.JsonParser parser)
Reserved for internal use.
|
static void |
assertIsStartObjectJsonToken(com.fasterxml.jackson.core.JsonParser parser)
Reserved for internal use.
|
public static void assertIsExpectedFieldName(com.fasterxml.jackson.core.JsonParser parser, String expectedValue) throws com.fasterxml.jackson.core.JsonParseException, IOException
parser
- The JsonParser
whose current token to check.expectedValue
- The expected current name of the parser's current token.com.fasterxml.jackson.core.JsonParseException
IOException
public static void assertIsFieldNameJsonToken(com.fasterxml.jackson.core.JsonParser parser) throws com.fasterxml.jackson.core.JsonParseException
parser
- The JsonParser
whose current token to check.com.fasterxml.jackson.core.JsonParseException
public static void assertIsStartObjectJsonToken(com.fasterxml.jackson.core.JsonParser parser) throws com.fasterxml.jackson.core.JsonParseException
parser
- The JsonParser
whose current token to check.com.fasterxml.jackson.core.JsonParseException
public static void assertIsEndObjectJsonToken(com.fasterxml.jackson.core.JsonParser parser) throws com.fasterxml.jackson.core.JsonParseException
parser
- The JsonParser
whose current token to check.com.fasterxml.jackson.core.JsonParseException
public static void assertIsStartArrayJsonToken(com.fasterxml.jackson.core.JsonParser parser) throws com.fasterxml.jackson.core.JsonParseException
parser
- The JsonParser
whose current token to check.com.fasterxml.jackson.core.JsonParseException
public static void assertIsEndArrayJsonToken(com.fasterxml.jackson.core.JsonParser parser) throws com.fasterxml.jackson.core.JsonParseException
parser
- The JsonParser
whose current token to check.com.fasterxml.jackson.core.JsonParseException
Copyright © 2019. All rights reserved.