New approach for parsing and validation of JSON
Alexey Tukalo

Alexey Tukalo @airtucha

About: Language agnostic software developer interested in functional programming, software design, web development.

Location:
Munich
Joined:
Nov 17, 2019

New approach for parsing and validation of JSON

Publish Date: Nov 24 '19
4 0

In some sense, it was a crazy weekend.

An early Saturday morning, I decided to do some experiments with TypeScript mapped types. And in the blink of an eye, I have a prototype of an extremely simple typesafe parsing/validation library for TypeScript/JavaScript. It appears to be that the next couple of days were turned in my personal hackathon.

So I ended up with a package similar to well-known jsonschema. Still, more flexible, customizable and native for TypeScript so that your input data is simultaneously type-checked.

You can check out the package and documentation by the link.

Comments 0 total

    Add comment