java.lang.Object
swim.json.JsonWriter<I,V>
- Direct Known Subclasses:
JsonStructureWriter
Factory for constructing JSON writers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract I
abstract V
abstract V
Writer<?,
?> writeArray
(Output<?> output, I item) Writer<?,
?> 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<?,
?> Writer<?,
?> Writer<?,
?> Writer<?,
?> Writer<?,
?> Writer<?,
?> Writer<?,
?> writeNum
(Output<?> output, BigInteger value) Writer<?,
?> writeObject
(Output<?> output, I item) Writer<?,
?> 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)
-
Constructor Details
-
JsonWriter
public JsonWriter()
-
-
Method Details
-
items
-
item
-
key
-
value
-
writeItem
-
writeField
-
writeValue
-
writeValue
-
writeField
-
writeArray
-
writeObject
-
writeData
-
writeText
-
writeNum
-
writeNum
-
writeNum
-
writeNum
-
writeNum
-
writeUint32
-
writeUint64
-
writeBool
-
writeNull
-
writeUndefined
-