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

Module : jsonutils

Module Overview

This module provides utility functions to manipulate the built-in json data type. It provides APIs to convert an xml to a json or convert a table to a json.

Records

XmlOptions

Provides configurations for converting XML to JSON.

Functions

fromTable

Converts a table to its JSON representation.

fromXML

Converts an XML object to its JSON representation.