Methods
Static
objToXML
- objToXML<Type>(obj, builderOptions?): string
Parameters
- obj: Type
- builderOptions: Partial<XmlBuilderOptions> = {}
Returns string
Static
parseXML
- parseXML<Type>(xml, parserOptions?, validatorOptions?): Promise<Type>
Parameters
- xml: string | Buffer
- parserOptions: Partial<X2jOptions> = {}
Optional
validatorOptions: boolean | Partial<validationOptions>
Returns Promise<Type>
Converts as JS object into an XML string