Module : lang.value

Version : 1.0.0

Module Overview

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

Functions

clone
I

Returns a clone of v.

cloneReadOnly
I

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

cloneWithType
I

Constructs a value with a specified type by cloning another value.

fromJsonDecimalString
I

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

fromJsonFloatString
I

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

fromJsonString
I

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

fromJsonStringWithType
I

Converts a string in JSON format to a user-specified type.

fromJsonWithType
I

Converts a value of type json to a user-specified type.

isReadOnly
I

Tests whether v is read-only, i.e.

mergeJson
I

Merges two json values.

toJson
I

Converts a value of type anydata to json.

toJsonString
I

Returns the string that represents v in JSON format.

toString
I

Performs a minimal conversion of a value to a string.