Skip to content

nooschain v0.1.0


nooschain / snapshots/snapshot-table-format / canonicalizeSnapshotJsonValue

Function: canonicalizeSnapshotJsonValue()

canonicalizeSnapshotJsonValue(value): string

Defined in: snapshots/snapshot-table-format.ts:180

Canonicalizes snapshot JSON values without the generic canonicalize package.

Snapshot hot paths mostly hash arrays of primitive values. This serializer keeps that case cheap while preserving deterministic object key ordering for metadata cells and other nested JSON values.

Parameters

value

unknown

Returns

string

Audience-first NOOSChain documentation.