format.JsonPrettyPrinter.HtmlDelimiters Extends goog.format.JsonPrettyPrinter.TextDelimiters
A container for the delimiting characters used to display the JSON string to an HTML <pre> or <code> element.

Inheritance

Constructor

goog.format.JsonPrettyPrinter.HtmlDelimiters()
Public Protected Private

Instance Properties

constructor :
No description.
Code »
postName :
A closing span tag that's placed after a property name.
Code »
postValue :
A closing span tag that's placed after a property value.
Code »
preName :
A span tag thats placed before a property name. Used to style property names with CSS.
Code »
preValue :
A span tag thats placed before a property value. Used to style property value with CSS. The span tag's class is in the format goog-jsonprettyprinter-propertyvalue-{TYPE}, where {TYPE} is the JavaScript type of the object (the {TYPE} parameter is obtained from goog.typeOf). This can be used to style different value types.
Code »
arrayEnd :
Represents the end of an array in the output.
Code »
arrayStart :
Represents the start of an array in the output.
Code »
indent :
Represents the number of spaces to indent each sub-property of the JSON.
Code »
lineBreak :
Represents a newline character in the output. Used to begin a new line.
Code »
nameValueSeparator :
Represents the string used to separate property names from property values in the output.
Code »
objectEnd :
Represents the end of an object in the output.
Code »
objectStart :
Represents the start of an object in the output.
Code »
postName :
A string that's placed after a property name in the output. Useful for wrapping a property name in an html tag.
Code »
postValue :
A string that's placed after a property value in the output. Useful for wrapping a property value in an html tag.
Code »
preName :
A string that's placed before a property name in the output. Useful for wrapping a property name in an html tag.
Code »
preValue :
A string that's placed before a property value in the output. Useful for wrapping a property value in an html tag.
Code »
propertySeparator :
Represents the string used to separate properties in the output.
Code »
space :
Represents a space character in the output. Used to indent properties a certain number of spaces, and to separate property names from property values.
Code »

Static Properties

goog.format.JsonPrettyPrinter.HtmlDelimiters.superClass_ :
No description.
Code »

Package format.JsonPrettyPrinter

Package Reference