- java.lang.Object
-
- swim.json.JsonParser<Item,Value>
-
- swim.json.JsonStructureParser
-
public class JsonStructureParser extends JsonParser<Item,Value>
-
-
Constructor Summary
Constructors Constructor Description JsonStructureParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Builder<Item,Value>
arrayBuilder()
Value
bool(boolean value)
Builder<Item,Value>
documentBuilder()
Item
field(Value key, Value value)
Value
ident(Value value)
Item
item(Value value)
Value
num(double value)
Value
num(float value)
Value
num(int value)
Value
num(long value)
Value
num(String value)
Value
num(BigInteger value)
Builder<Item,Value>
objectBuilder()
Output<Value>
textOutput()
Value
uint32(int value)
Value
uint64(long value)
Value
value(Item item)
-
Methods inherited from class swim.json.JsonParser
arrayParser, documentParser, objectParser, parseArray, parseIdent, parseNumber, parseObject, parseObjectString, parseString, parseValue, parseValueString, valueParser
-
-
-
-
Method Detail
-
field
public Item field(Value key, Value value)
- Specified by:
field
in classJsonParser<Item,Value>
-
documentBuilder
public Builder<Item,Value> documentBuilder()
- Specified by:
documentBuilder
in classJsonParser<Item,Value>
-
objectBuilder
public Builder<Item,Value> objectBuilder()
- Specified by:
objectBuilder
in classJsonParser<Item,Value>
-
arrayBuilder
public Builder<Item,Value> arrayBuilder()
- Specified by:
arrayBuilder
in classJsonParser<Item,Value>
-
textOutput
public Output<Value> textOutput()
- Specified by:
textOutput
in classJsonParser<Item,Value>
-
num
public Value num(int value)
- Specified by:
num
in classJsonParser<Item,Value>
-
num
public Value num(long value)
- Specified by:
num
in classJsonParser<Item,Value>
-
num
public Value num(float value)
- Specified by:
num
in classJsonParser<Item,Value>
-
num
public Value num(double value)
- Specified by:
num
in classJsonParser<Item,Value>
-
num
public Value num(BigInteger value)
- Specified by:
num
in classJsonParser<Item,Value>
-
uint32
public Value uint32(int value)
- Specified by:
uint32
in classJsonParser<Item,Value>
-
uint64
public Value uint64(long value)
- Specified by:
uint64
in classJsonParser<Item,Value>
-
bool
public Value bool(boolean value)
- Specified by:
bool
in classJsonParser<Item,Value>
-
-