Skip to main content

JsonValue

JsonValue = null | boolean | number | string | JsonValue[] | {[key: string]: JsonValue; }

Defined in: js-api/src/u2core/protocol.ts:55

JSON-safe projection of a value — what crosses page.evaluate. Dates become ISO strings, entities/objects with a name become that name, arrays map element-wise, plain objects key-wise, functions/elements become undefined, everything else String(x). Produced by Control.jsonValue.