- java.lang.Object
-
- swim.json.JsonParser<I,V>
-
- Direct Known Subclasses:
JsonStructureParser
public abstract class JsonParser<I,V> extends Object
Factory for constructing JSON parsers and parse trees.
-
-
Constructor Summary
Constructors Constructor Description JsonParser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Builder<I,V>
arrayBuilder()
Parser<V>
arrayParser()
abstract V
bool(boolean value)
abstract Builder<I,V>
documentBuilder()
Parser<V>
documentParser()
abstract I
field(V key, V value)
abstract V
ident(V value)
abstract I
item(V value)
abstract V
num(double value)
abstract V
num(float value)
abstract V
num(int value)
abstract V
num(long value)
abstract V
num(String value)
abstract V
num(BigInteger value)
abstract Builder<I,V>
objectBuilder()
Parser<V>
objectParser()
Parser<V>
parseArray(Input input)
Parser<V>
parseIdent(Input input)
Parser<V>
parseNumber(Input input)
Parser<V>
parseObject(Input input)
V
parseObjectString(String string)
Parser<V>
parseString(Input input)
Parser<V>
parseValue(Input input)
V
parseValueString(String string)
abstract Output<V>
textOutput()
abstract V
uint32(int value)
abstract V
uint64(long value)
abstract V
value(I item)
Parser<V>
valueParser()
-
-
-
Method Detail
-
num
public abstract V num(int value)
-
num
public abstract V num(long value)
-
num
public abstract V num(float value)
-
num
public abstract V num(double value)
-
num
public abstract V num(BigInteger value)
-
uint32
public abstract V uint32(int value)
-
uint64
public abstract V uint64(long value)
-
bool
public abstract V bool(boolean value)
-
-