Skip to content

serializeScalarSketchJson(sketch): ScalarSketchJson

Defined in: packages/scalar-sketch/src/serialization/json.ts:69

Serialize exact scalar-sketch state into the stable logical JSON shape. Object keys are inserted in the documented canonical order, while unsigned 64-bit values use canonical decimal strings.

ScalarSketch

ScalarSketchJson

With FOREIGN_STRUCTURE or WRONG_FAMILY when the value was not produced by this package.