isJsonSerializable
FunctionSignature
function isJsonSerializable(value): boolean;core/src/job-types/json-serializable.ts:130
Runtime check that value survives a JSON round-trip without coercion or loss.
Rejects: Date, Map, Set, class instances (any prototype other than
Object.prototype or null), NaN/Infinity/-Infinity, bigint,
functions, symbols, undefined outside of object value positions, and
values nested deeper than 1000 levels, which includes every cycle.
Parameters
- value
unknown
Returns
boolean