Replies: 1 comment
-
|
There is currently no built-in way in Zod (v4) to pass a custom reviver function (like the one in There is an open feature request for a 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an easier way to do this?
Could something like
reviverfromJSON.parse()be added toz.json()options?Beta Was this translation helpful? Give feedback.
All reactions