This functionality is Sneak Peek status. This means that the APIs may change. We welcome your feedback, ideas, and code, but please use caution if you use this new functionality.
Convert a JSON object into a nicely spaced text string.
||(Object) The JSON object to print|
|| (Object) (optional) Options configuring how the string is produced. The options will be passed on to
|String||A string representation of the JSON object.|
In this example, the results
string will contain
which, when output, would produce