This API documentation is for Ballerina 1.2.0. View API documentation for the latest release.

Record - jsonutils : XmlOptions

Provides configurations for converting XML to JSON.

Fields

  • attributePrefix string (default @)
  • Attribute prefix used in the XML

  • preserveNamespaces boolean (default true)
  • Instructs whether to preserve the namespaces of the XML when converting