.JsonFormat()
Description
Converts A JS object or JSON string into a formatted JSON string
Parameters
JsonFormat takes no parameters
Usage On Arrays/Objects
arr = ["wow","crazy"]
// setup the array
log arr.JsonFormat()
// returns string
// [
// "wow",
// "crazy"
// ]
Last updated
Was this helpful?