{"a": 1, "b": {"c": null, "d": true, "e": [1, 2]}}
Will be displayed like this:
{
"a": 1,
"b": {
"c": null,
"d": true,
"e": [
1,
2
]
}
}
goog.format.JsonPrettyPrinter |
delimiters
: goog.format.JsonPrettyPrinter.TextDelimiters
Container
for the various strings to use to delimit objects, arrays, newlines, and
other pieces of the output.
|
Formats a JSON object as a string, properly indented for display.
Arguments:
Returns: string
Returns a string of the JSON object, properly indented for
display.
|
code » | ||||
![]()
Prints a property name to the output.
Arguments:
|
code » | ||||
![]()
Formats a property value based on the type of the propery.
Arguments:
|
code » | ||||
![]()
Print a number of space characters to the output.
Arguments:
|
code » | ||||
![]()
Prints a property name to the output.
Arguments:
|
code » |