SerializerOptions interface

Options to govern behavior of xml parser and builder.

Properties

includeRoot

indicates whether the root element is to be included or not in the output when parsing XML.

rootName

indicates the name of the root element in the resulting XML when building XML.

xmlCharKey

key used to access the XML value content when parsing XML.

Property Details

includeRoot

indicates whether the root element is to be included or not in the output when parsing XML.

includeRoot?: boolean

Property Value

boolean

rootName

indicates the name of the root element in the resulting XML when building XML.

rootName?: string

Property Value

string

xmlCharKey

key used to access the XML value content when parsing XML.

xmlCharKey?: string

Property Value

string