readJsonOrText

Returns text read as JSON into plain Kotlin values, or text itself if it is not strict JSON or is nested too deep to read.