jsonCodecFor()
Build a JSON codec using stable object-key ordering.
Import
Section titled “Import”import { jsonCodecFor } from "@graphrefly/ts/storage";Signature
Section titled “Signature”function jsonCodecFor(): Codec<T>Returns
Section titled “Returns”A Codec<T> value.
Example
Section titled “Example”import { jsonCodecFor } from "@graphrefly/ts/storage";Source
Section titled “Source”packages/ts/src/json/codec.ts