parse static method
Parses the string and return the json object.
If the input string is not json or json5, an
SyntaxException
will be thrown.
The altenative is json5Decode(string)
Implementation
static dynamic parse(String string) {
return parser.parse(string, null);
}