Represents any valid JSON value. This type ensures type safety for JSON-serializable data.
const value: JSONValue = { key: 'value', nested: { arr: [1, 2, 3] } }const text: JSONValue = 'hello'const num: JSONValue = 42const bool: JSONValue = trueconst nothing: JSONValue = null Copy
const value: JSONValue = { key: 'value', nested: { arr: [1, 2, 3] } }const text: JSONValue = 'hello'const num: JSONValue = 42const bool: JSONValue = trueconst nothing: JSONValue = null
Represents any valid JSON value. This type ensures type safety for JSON-serializable data.