readJsonAsString

open fun readJsonAsString(maxChars: Int): String(source)

The node as a JSON string; throws ResultTooLargeException if it has more than maxChars characters.


abstract fun readJsonAsString(format: JsonFormat, maxChars: Int): String(source)

The node as a JSON string laid out in format; throws ResultTooLargeException if the text has more than maxChars characters, its whitespace included.