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

Module : lang.value

Module Overview

This module provides lang library operations common to all values defined by the language specification 2020R1.

Functions

clone

Returns a clone of v.

cloneReadOnly

Returns a clone of v that is read-only, i.

fromJsonString

Parses a string in JSON format and returns the the value that it represents.

isReadOnly

Tests whether v is read-only, i.

mergeJson

Merges two json values.

toJsonString

Returns the string that represents v in JSON format.

toString

Performs a minimal conversion of a value to a string.