decode package:json
Decode a String representing a JSON value (either an object, array,
bool, number, null)
This is a superset of JSON, as types other than Array and Object are
allowed at the top level.
Decode a String representing a strict JSON value. This follows the
spec, and requires top level JSON types to be an Array or Object.
Decode a string as a value.