Skip to content

serializeConvexValue

serializeConvexValue(props): string

Defined in: packages/core/src/utils/convexValueJson.ts:49

Lossless JSON serialization of a Convex value, via convexToJson — a bigint/ArrayBuffer-safe round trip with parseConvexValue, unlike stringifyConvexValue’s display-only, one-way rendering.

unknown

The Convex value to serialize.

string

The serialized string.