For the complete documentation index, see llms.txt. This page is also available as Markdown.

JsonParse

⚠️ Not type methods. These are functions of the json package: use json.parse(), json.stringify(), json.format(), json.clean().

Description

Converts a JSON string into a JS object

Parameters

JsonParse takes no parameters

Usage On Arrays/Objects

arr = "[\"wow\"]"
// setup the string

log arr.JsonParse()
// returns array ["wow"]

Last updated