goog.format.JsonPrettyPrinter.HtmlDelimiters
Classgoog.format.JsonPrettyPrinter.HtmlDelimiters
> goog.format.JsonPrettyPrinter.TextDelimiters
goog.format.JsonPrettyPrinter.HtmlDelimiters()
A container for the delimiting characters used to display the JSON string
to an HTML <pre>
or <code>
element.
.arrayEnd
{string
}Inherited from goog.format.JsonPrettyPrinter.TextDelimiters
.
Represents the end of an array in the output.
.arrayStart
{string
}Inherited from goog.format.JsonPrettyPrinter.TextDelimiters
.
Represents the start of an array in the output.
.indent
{number
}Inherited from goog.format.JsonPrettyPrinter.TextDelimiters
.
Represents the number of spaces to indent each sub-property of the JSON.
.lineBreak
{string
}Inherited from goog.format.JsonPrettyPrinter.TextDelimiters
.
Represents a newline character in the output. Used to begin a new line.
.nameValueSeparator
{string
}Inherited from goog.format.JsonPrettyPrinter.TextDelimiters
.
Represents the string used to separate property names from property values in the output.
.objectEnd
{string
}Inherited from goog.format.JsonPrettyPrinter.TextDelimiters
.
Represents the end of an object in the output.
.objectStart
{string
}Inherited from goog.format.JsonPrettyPrinter.TextDelimiters
.
Represents the start of an object in the output.
.postName
{string
}A closing span
tag that's placed after a property name.
.postValue
{string
}A closing span
tag that's placed after a property value.
.preName
{string
}A span
tag thats placed before a property name. Used to style
property names with CSS.
.preValue
{string
}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.
.propertySeparator
{string
}Inherited from goog.format.JsonPrettyPrinter.TextDelimiters
.
Represents the string used to separate properties in the output.
.space
{string
}Inherited from goog.format.JsonPrettyPrinter.TextDelimiters
.
Represents a space character in the output. Used to indent properties a certain number of spaces, and to separate property names from property values.