public final class ObjectModelParser
extends java.lang.Object
Constructor and Description |
---|
ObjectModelParser(Reader reader)
Parse the specified JSON text.
|
Modifier and Type | Method and Description |
---|---|
void |
advance()
Advance to the next token.
|
TokenType |
getTokenType() |
JsonArray |
parseArray() |
JsonObjectOrArray |
parseRoot() |
java.lang.Object |
parseValue() |
public ObjectModelParser(Reader reader)
reader
- JSON text to parsepublic JsonObjectOrArray parseRoot()
public java.lang.Object parseValue()
public JsonArray parseArray()
public void advance()
public TokenType getTokenType()