Uses of Class
de.haumacher.msgbuf.json.JsonWriter
-
Packages that use JsonWriter Package Description de.haumacher.msgbuf.data de.haumacher.msgbuf.graph de.haumacher.msgbuf.graph.cmd de.haumacher.msgbuf.json Copy of the package `com.google.gson.stream` from gson-2.8.2 library for JSON stream writing. -
-
Uses of JsonWriter in de.haumacher.msgbuf.data
Methods in de.haumacher.msgbuf.data with parameters of type JsonWriter Modifier and Type Method Description voidAbstractDataObject. writeContent(JsonWriter out)voidDataObject. writeContent(JsonWriter out)Writes a JSON object containing keys for all fields of this object.protected voidAbstractDataObject. writeFields(JsonWriter out)Writes all fields of this instance to the given output.voidDataObject. writeTo(JsonWriter out)Writes this instance to the given output. -
Uses of JsonWriter in de.haumacher.msgbuf.graph
Methods in de.haumacher.msgbuf.graph with parameters of type JsonWriter Modifier and Type Method Description voidDefaultScope. createPatch(JsonWriter json)Exports recorded changes to the givenJsonWriter.voidAbstractSharedGraphNode. writeData(Scope scope, JsonWriter out, int id)voidSharedGraphNode. writeData(Scope scope, JsonWriter out, int id)Writes the complete data of this node including type and ID to the given writer.voidAbstractSharedGraphNode. writeElement(Scope scope, JsonWriter out, String field, Object element)voidSharedGraphNode. writeElement(Scope scope, JsonWriter out, String field, Object element)Writes the given element value that is compatible with the repeated field with the given name to the given output.protected voidAbstractSharedGraphNode. writeFields(Scope scope, JsonWriter out)Writes all fields of this instance to the given output.voidAbstractSharedGraphNode. writeFieldValue(Scope scope, JsonWriter out, String field)voidSharedGraphNode. writeFieldValue(Scope scope, JsonWriter out, String field)Writes a single value that is currently assigned to the field with the given name to the given writer.voidScope. writeRefOrData(JsonWriter out, SharedGraphNode node)Writes the given graph node to the given writer.default voidScopeMixin. writeRefOrData(JsonWriter out, SharedGraphNode node)voidAbstractSharedGraphNode. writeTo(Scope scope, JsonWriter out)voidSharedGraphNode. writeTo(Scope scope, JsonWriter out)Writes this node to the given writer. -
Uses of JsonWriter in de.haumacher.msgbuf.graph.cmd
Methods in de.haumacher.msgbuf.graph.cmd with parameters of type JsonWriter Modifier and Type Method Description protected voidCommand. writeFields(JsonWriter out)protected voidInsertElement. writeFields(JsonWriter out)protected voidListUpdate. writeFields(JsonWriter out)voidCommand. writeTo(JsonWriter out) -
Uses of JsonWriter in de.haumacher.msgbuf.json
Methods in de.haumacher.msgbuf.json that return JsonWriter Modifier and Type Method Description JsonWriterJsonWriter. beginArray()Begins encoding a new array.JsonWriterJsonWriter. beginObject()Begins encoding a new object.JsonWriterJsonWriter. endArray()Ends encoding the current array.JsonWriterJsonWriter. endObject()Ends encoding the current object.JsonWriterJsonWriter. jsonValue(String value)Writesvaluedirectly to the writer without quoting or escaping.JsonWriterJsonWriter. name(String name)Encodes the property name.JsonWriterJsonWriter. nullValue()Encodesnull.JsonWriterJsonWriter. value(boolean value)Encodesvalue.JsonWriterJsonWriter. value(double value)Encodesvalue.JsonWriterJsonWriter. value(long value)Encodesvalue.JsonWriterJsonWriter. value(Boolean value)Encodesvalue.JsonWriterJsonWriter. value(Number value)Encodesvalue.JsonWriterJsonWriter. value(String value)Encodesvalue.Methods in de.haumacher.msgbuf.json with parameters of type JsonWriter Modifier and Type Method Description static voidJsonUtil. writeBinaryOptional(JsonWriter out, byte[] value)Writes the given byte array as Base64 encoded string.
-