This module provides APIs to perform conversions between XML and JSON/Ballerina records. It provides APIs to get natural representations of data in XML from JSON and to get JSON or Ballerina records data from natural representations of data in XML.
For information on the operations, which you can perform with the
xmldata module, see the below Functions.
Converts a JSON object to an XML representation.
Converts an XML object to its JSON representation.
Converts an XML to its Record representation.
Represents a record type to provide configurations for the JSON to XML conversion.
Provides configurations for converting XML to JSON.
Represents the error type of the ballerina/xmldata module.