Convert a variable to JSON.
The variable to convert to JSON
The JSON string representing the variable
Use JSON.stringify(variable.toJSObject()) instead.
JSON.stringify(variable.toJSObject())
Convert a variable to JSON.