api / tv.twelvetone.rjson / RJsonParser2

RJsonParser2

class RJsonParser2 : RJsonParser

Constructors

<init>

RJsonParser2()

Properties

lexer

val lexer: RJsonLexer

location

var location: Location

type

var type: IElementType?

Functions

parse

fun parse(rjson: String): JsonValue

streamToJsonStream

fun streamToJsonStream(rjsonStream: InputStream): InputStream

Converts an RJson or Json stream to a Json stream

streamToRJsonStream

fun streamToRJsonStream(jsonStream: InputStream): InputStream

Converts and RJson or Json stream to an RJson stream

streamToValue

fun streamToValue(rjsonStream: InputStream): JsonValue

Converts an RJson or Json stream to a JsonValue.

stringToJson

fun stringToJson(rjsonString: String): String

Converts RJson or Json string to a compact Json string.

stringToValue

fun stringToValue(rjsonString: String): JsonValue

Converts RJson or Json string to a JsonValue.