class Json
extends GenericData

In-memory JSON data. Can be stored in Data containers.

Examples

Example 1

const
json1 = Json.build(null),
json2 = Json.build("string"),
json3 = Json.build({a: 'b'}),
json4 = Json.build(["a", "b"]);

json2.value === "string"; // true

Static Methods

build(value)

Builder for Json data values.

Properties

readonly
value

Methods

Serialises the object to string for informational purposes.

See

Usage

import { Json } from ".";