ballerina/xmldata2.2.2
2.2.2
Overview
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.
Functions
[3]
fromJson | Converts a JSON object to an XML representation. |
toJson | Converts an XML object to its JSON representation. |
toRecord | Converts an XML to its Record representation. |
Records
[2]
JsonOptions | Represents a record type to provide configurations for the JSON to XML conversion. |
XmlOptions | Provides configurations for converting XML to JSON. |
Errors
[1]
Error | Represents the error type of the ballerina/xmldata module. |