Package com.esri.core.geometry
Class JsonParserReader
java.lang.Object
com.esri.core.geometry.JsonParserReader
- All Implemented Interfaces:
JsonReader
A throw in JsonReader built around the Jackson JsonParser.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.esri.core.geometry.JsonReader
JsonReader.Token
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JsonReader
createFromString
(String str) Creates a JsonReader for the string.static JsonReader
Creates a JsonReader for the string.boolean
double
int
private static JsonReader.Token
mapToken
(com.fasterxml.jackson.core.JsonToken token) void
-
Field Details
-
m_jsonParser
private com.fasterxml.jackson.core.JsonParser m_jsonParser
-
-
Constructor Details
-
JsonParserReader
public JsonParserReader(com.fasterxml.jackson.core.JsonParser jsonParser)
-
-
Method Details
-
createFromString
Creates a JsonReader for the string. The nextToken is called by this method. -
createFromStringNNT
Creates a JsonReader for the string. The nextToken is not called by this method. -
mapToken
-
nextToken
- Specified by:
nextToken
in interfaceJsonReader
- Throws:
JsonGeometryException
-
currentToken
- Specified by:
currentToken
in interfaceJsonReader
- Throws:
JsonGeometryException
-
skipChildren
- Specified by:
skipChildren
in interfaceJsonReader
- Throws:
JsonGeometryException
-
currentString
- Specified by:
currentString
in interfaceJsonReader
- Throws:
JsonGeometryException
-
currentDoubleValue
- Specified by:
currentDoubleValue
in interfaceJsonReader
- Throws:
JsonGeometryException
-
currentIntValue
- Specified by:
currentIntValue
in interfaceJsonReader
- Throws:
JsonGeometryException
-
currentBooleanValue
public boolean currentBooleanValue()- Specified by:
currentBooleanValue
in interfaceJsonReader
-