jsonprettyprinter.js
No description.

File Location

/goog/format/jsonprettyprinter.js

Classes

goog.format.JsonPrettyPrinter
Formats a JSON object as a string, properly indented for display. Supports displaying the string as text or html. Users can also specify their own set of delimiters for different environments. For example, the JSON object: {"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.HtmlDelimiters
A container for the delimiting characters used to display the JSON string to an HTML <pre> or <code> element.
goog.format.JsonPrettyPrinter.TextDelimiters
A container for the delimiting characters used to display the JSON string to a text display. Each delimiter is a publicly accessible property of the object, which makes it easy to tweak delimiters to specific environments.

Directory format

File Reference