Buffered Sink Json Writer
class BufferedSinkJsonWriter @JvmOverloads() constructor(sink: BufferedSink, indent: String?) : JsonWriter
Content copied to clipboard
A JsonWriter that writes json to an okio BufferedSink
The base implementation was taken from Moshi and ported to Kotlin multiplatform with some tweaks to make it better suited for GraphQL (see JsonWriter and path).
To writer to a Map, see also MapJsonWriter
Parameters
indent
: A string containing a full set of spaces for a single level of indentation, or null for no pretty printing.
Constructors
BufferedSinkJsonWriter
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
: A string containing a full set of spaces for a single level of indentation, or null for no pretty printing.
Types
Functions
beginArray
Link copied to clipboard
beginObject
Link copied to clipboard
endArray
Link copied to clipboard
endObject
Link copied to clipboard
jsonValue
Link copied to clipboard
name
Link copied to clipboard
nullValue
Link copied to clipboard