jsonData

fun jsonData(reader: Reader, dataAction: JSONData.() -> Unit = {}): JSONData

Answer a JSONData that has had the provided dataAction applied to it.

Return

A JSONData.

Parameters

reader

The Reader that contains the JSON content.

dataAction

A lambda that accepts the created and returned JSONData.