Runs schema.safeParse(data) and returns the parsed value on success, or the provided fallback on failure — logging a structured warning so malformed JSONB rows are visible in observability without crashing reads.
schema.safeParse(data)
fallback
Runs
schema.safeParse(data)and returns the parsed value on success, or the providedfallbackon failure — logging a structured warning so malformed JSONB rows are visible in observability without crashing reads.