jsonReader

fun jsonReader(raw: String, readerAction: JSONReader.() -> Unit = {}): JSONReader

Answer a JSONReader that has had the provided readerAction applied to it.

Return

A JSONReader.

Parameters

raw

The raw JSON as a string.

readerAction

A lambda that accepts the created and returned JSONReader.