JsonParser

class JsonParser(cx: Context, scope: Scriptable)

The strict JSON reader behind JSON.parse. Builds script objects and arrays as it goes.

Constructors

Link copied to clipboard
constructor(cx: Context, scope: Scriptable)

Types

Link copied to clipboard
class ParseException(message: String) : Exception

The JSON text did not parse.

Functions

Link copied to clipboard
fun parseValue(json: String?): Any?