Initializer
SerializerConfig(Boolean prettyPrint = true, Doctype defaultDoctype = ...)
Parameters:
  • prettyPrint = true

    Should the result be minified or formatted? Defaults to true

  • defaultDoctype = html5

    The default Doctype when the Node is not an Html document, only a fragment. Defaults to html5

Attributes
defaultDoctypeSource Codeshared Doctype defaultDoctype

The default Doctype when the Node is not an Html document, only a fragment. Defaults to html5

prettyPrintSource Codeshared Boolean prettyPrint

Should the result be minified or formatted? Defaults to true

Inherited Attributes
Attributes inherited from: Object
Inherited Methods
Methods inherited from: Object