API reference › @evolu/common › Type › JsonValue
type JsonValue =
| string
| FiniteNumber
| boolean
| null
| JsonArray
| JsonObject;
Defined in: packages/common/src/Type.ts:4117
Validated JSON-compatible value.
This is the output side of JSON data in Evolu. It uses FiniteNumber
instead of number because JSON numbers are expected to be finite once the
value has been parsed or validated.
Compare with JsonValueInput, which represents caller-provided input before validation.