Parses the current string as JSON and returns the resulting object, throwing an error if the string is not valid JSON.
JsonParse takes no parameters.
JsonParse
json = '{"x":10,"y":20}'.JsonParse() log json.x // 10
Last updated 3 months ago