toJson
Converts an object to a JSON string.
Return
The JSON string representation of the object.
Parameters
value
The object to convert.
Throws
If there is an error processing the object.
Converts an object to a JSON string.
The JSON string representation of the object.
The object to convert.
If there is an error processing the object.