- java.lang.Object
-
- swim.json.JsonWriter<I,V>
-
- Direct Known Subclasses:
JsonStructureWriter
public abstract class JsonWriter<I,V> extends Object
Factory for constructing JSON writers.
-
-
Constructor Summary
Constructors Constructor Description JsonWriter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract I
item(V value)
abstract Iterator<I>
items(I item)
abstract V
key(I item)
abstract V
value(I item)
Writer<?,?>
writeArray(Output<?> output, I item)
Writer<?,?>
writeBool(Output<?> output, boolean value)
Writer<?,?>
writeData(Output<?> output, ByteBuffer value)
abstract Writer<?,?>
writeField(Output<?> output, I item, int index)
Writer<?,?>
writeField(Output<?> output, V key, V value)
abstract Writer<?,?>
writeItem(Output<?> output, I item)
Writer<?,?>
writeNull(Output<?> output)
Writer<?,?>
writeNum(Output<?> output, double value)
Writer<?,?>
writeNum(Output<?> output, float value)
Writer<?,?>
writeNum(Output<?> output, int value)
Writer<?,?>
writeNum(Output<?> output, long value)
Writer<?,?>
writeNum(Output<?> output, BigInteger value)
Writer<?,?>
writeObject(Output<?> output, I item)
Writer<?,?>
writeText(Output<?> output, String value)
Writer<?,?>
writeUint32(Output<?> output, int value)
Writer<?,?>
writeUint64(Output<?> output, long value)
Writer<?,?>
writeUndefined(Output<?> output)
abstract Writer<?,?>
writeValue(Output<?> output, I item, int index)
abstract Writer<?,?>
writeValue(Output<?> output, V value)
-
-
-
Method Detail
-
writeData
public Writer<?,?> writeData(Output<?> output, ByteBuffer value)
-
writeNum
public Writer<?,?> writeNum(Output<?> output, BigInteger value)
-
-