Using Zod to Parse a JSON String
May 15th, 2024
·
1 min read
Using Zod to Parse a JSON String
I recently needed to parse a JSON string in TypeScript and validate the shape of the data. I discovered a neat utility that allowed me to handle both steps in one go.