Package-level declarations
Types
Link copied to clipboard
class BufferedSinkJsonWriter @JvmOverloads constructor(sink: BufferedSink, indent: String? = null) : JsonWriter
A JsonWriter that writes json to an okio BufferedSink
Link copied to clipboard
A JsonWriter that reads json from an okio BufferedSource
Link copied to clipboard
A JsonReader that reads data from a javascript dynamic
Link copied to clipboard
interface IteratorWrapper
By wrapping each iterator we can use introspection to determine what kind of iterator we have in the stack
Link copied to clipboard
A simple wrapper class that can be put in Map to indicate an arbitrary precision json number
Link copied to clipboard
Reads a JSON RFC 7159 encoded value as a stream of tokens.
Link copied to clipboard
Writes a JSON RFC 7159 encoded value to a stream, one token at a time.
Link copied to clipboard
class MapJsonReader @JvmOverloads constructor(val root: Map<String, Any?>, pathRoot: List<Any> = emptyList()) : JsonReader
A JsonReader that reads data from a regular Map
Link copied to clipboard
A JsonWriter that writes data to a Map
Functions
Link copied to clipboard
inline fun buildJsonByteString(indent: String? = null, crossinline block: JsonWriter.() -> Unit): ByteString
Link copied to clipboard
Link copied to clipboard
inline fun buildJsonString(indent: String? = null, crossinline block: JsonWriter.() -> Unit): String
Link copied to clipboard
Link copied to clipboard
Reads the reader and maps numbers to the closest representation possible in that order:
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard