| Package | Description |
|---|---|
| de.haumacher.msgbuf.data | |
| de.haumacher.msgbuf.json |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractDataObject.writeContent(JsonWriter out)
Writes a JSON object containing keys for all fields of this object.
|
protected void |
AbstractDataObject.writeFields(JsonWriter out)
Writes all fields of this instance to the given output.
|
void |
DataObject.writeTo(JsonWriter out)
Writes this instance to the given output.
|
| Modifier and Type | Method and Description |
|---|---|
JsonWriter |
JsonWriter.beginArray()
Begins encoding a new array.
|
JsonWriter |
JsonWriter.beginObject()
Begins encoding a new object.
|
JsonWriter |
JsonWriter.endArray()
Ends encoding the current array.
|
JsonWriter |
JsonWriter.endObject()
Ends encoding the current object.
|
JsonWriter |
JsonWriter.jsonValue(String value)
Writes
value directly to the writer without quoting or
escaping. |
JsonWriter |
JsonWriter.name(String name)
Encodes the property name.
|
JsonWriter |
JsonWriter.nullValue()
Encodes
null. |
JsonWriter |
JsonWriter.value(boolean value)
Encodes
value. |
JsonWriter |
JsonWriter.value(Boolean value)
Encodes
value. |
JsonWriter |
JsonWriter.value(double value)
Encodes
value. |
JsonWriter |
JsonWriter.value(long value)
Encodes
value. |
JsonWriter |
JsonWriter.value(Number value)
Encodes
value. |
JsonWriter |
JsonWriter.value(String value)
Encodes
value. |
Copyright © 2021. All rights reserved.