- java.lang.Object
-
- swim.json.JsonWriter<Item,Value>
-
- swim.json.JsonStructureWriter
-
public class JsonStructureWriter extends JsonWriter<Item,Value>
-
-
Constructor Summary
Constructors Constructor Description JsonStructureWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Item
item(Value value)
Iterator<Item>
items(Item item)
Value
key(Item item)
Value
value(Item item)
Writer<?,?>
writeField(Output<?> output, Item item, int index)
Writer<?,?>
writeItem(Output<?> output, Item item)
Writer<?,?>
writeValue(Output<?> output, Item item, int index)
Writer<?,?>
writeValue(Output<?> output, Value value)
-
Methods inherited from class swim.json.JsonWriter
writeArray, writeBool, writeData, writeField, writeNull, writeNum, writeNum, writeNum, writeNum, writeNum, writeObject, writeText, writeUint32, writeUint64, writeUndefined
-
-
-
-
Method Detail
-
writeItem
public Writer<?,?> writeItem(Output<?> output, Item item)
- Specified by:
writeItem
in classJsonWriter<Item,Value>
-
writeField
public Writer<?,?> writeField(Output<?> output, Item item, int index)
- Specified by:
writeField
in classJsonWriter<Item,Value>
-
writeValue
public Writer<?,?> writeValue(Output<?> output, Item item, int index)
- Specified by:
writeValue
in classJsonWriter<Item,Value>
-
writeValue
public Writer<?,?> writeValue(Output<?> output, Value value)
- Specified by:
writeValue
in classJsonWriter<Item,Value>
-
-