JsonClean
Last updated
⚠️ Not type methods. These are functions of the
jsonpackage: usejson.parse(),json.stringify(),json.format(),json.clean().
Converts A JS object or JSON string into a cleaned JSON string. This is used to format and clean any invalid syntax from downloaded json data so that osl can handle the json easier.
JsonClean takes no parameters
arr = ["wow","crazy"]
// setup the array
log arr.JsonClean()
// returns string ["wow","crazy"]Last updated