Class XMLAbstract

Constructors

Methods

Constructors

Methods

  • Converts as JS object into an XML string

    Type Parameters

    • Type

    Parameters

    • obj: Type
    • builderOptions: Partial<XmlBuilderOptions> = {}

    Returns string

  • Parses the XML provided into a JS object

    Type Parameters

    • Type

    Parameters

    • xml: string | Buffer
    • parserOptions: Partial<X2jOptions> = {}
    • Optional validatorOptions: boolean | Partial<validationOptions>

    Returns Promise<Type>