Functionsparse_jsonVersion: NextOn this pageparse_jsonParses a string as a JSON value.parse_json(input:string) -> anyDescriptionThe parse_json function parses a string as a JSON value.input: stringThe string to parse.ExamplesParse a JSON recordfrom { input = R#"{ a = 42, b = "text"}"# } output = input.parse_json(){ input: "{ a = 42, b = \"text\"}", output: { a: 42, b: "text" } }Parse a JSON listfrom { input = "[0,1]" } output = input.parse_json(){ input: "[0,1]", output: [0, 1] }