api / tv.twelvetone.rjson / RJsonParser

RJsonParser

interface RJsonParser

Tools for parsing, converting, and formatting RJson and Json.

Functions

streamToJsonStream

abstract fun streamToJsonStream(rjsonStream: InputStream): InputStream

Converts an RJson or Json stream to a Json stream

streamToRJsonStream

abstract fun streamToRJsonStream(jsonStream: InputStream): InputStream

Converts and RJson or Json stream to an RJson stream

streamToValue

abstract fun streamToValue(rjsonStream: InputStream): JsonValue

Converts an RJson or Json stream to a JsonValue.

stringToJson

abstract fun stringToJson(rjsonString: String): String

Converts RJson or Json string to a compact Json string.

stringToValue

abstract fun stringToValue(rjsonString: String): JsonValue

Converts RJson or Json string to a JsonValue.

Inheritors

RJsonParser2

class RJsonParser2 : RJsonParser