`parse`

Parses json, the text of a JSON object or array, into a JsonObject or JsonArray.

Throws

if json is not a JSON object or array, or fails the checks of the JsonObject or JsonArray it would create.