Skip to main content

JsonValue

type

A JSON-serializable value accepted by SDK contracts. Objects and arrays may contain only other JSON values. Functions, symbols, bigint values, class instances, and `undefined` are not supported.

type JsonValue = string | number | boolean | null | readonly JsonValue[] | JsonObject

Import

import { JsonValue } from '@modular/sdk';