News for hackers. Stuff that matters.
Re:Parsix: Parse Don't Validate by lhnz on Saturday May 15, 2021 @03:36PM (#27168206)
It doesn't use json schema but you might be interested in something like this: https://gcanti.github.io/io-ts/

(You can define runtime encoder/decoders which produce typed values.)

Re:Parsix: Parse Don't Validate by brundolf on Saturday May 15, 2021 @05:13PM (#27169081)
io-ts is fantastic (I linked it myself above). The killer feature is that it infers the static types of your runtime schemas for you, so you don't have to define them twice. You make a change to the schema, the rest of your code will typecheck against it.