serializeHashIdentity(
identity):SerializedHashIdentity
Defined in: packages/hash/src/serialization.ts:50
Serialize a hash identity to its canonical JSON form, with the fixed key
order kind, version, seed.
Returns the parsed value rather than JSON text, so the identity can be
embedded in a larger payload; JSON.stringify on the result yields the
canonical text, because the key order is fixed here.