Interface: CanonicalJsonOptions
Defined in: packages/core/src/core/canonical-json.ts:41
Properties
strict?
optionalstrict?:string
Defined in: packages/core/src/core/canonical-json.ts:50
Refuse what JSON has no faithful form for, naming the values in the
error ('Report values'): any object that is not a plain object or an
array throws a TypeError, as does a cycle. Without it such an object is
written by its own enumerable keys, as JSON.stringify writes it (every Map
is {}), and a cycle is the string "[cycle]", so an encoding that must
never fail (an identity) never does.