Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Alexey Tukalo
Alexey Tukalo

Posted on • Originally published atlinkedin.com

     

New approach for parsing and validation of JSON

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.

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Language agnostic software developer interested in functional programming, software design, web development.
  • Location
    Munich
  • Education
    Savonia University of Applied Science
  • Work
    Full-Stack Software Engineer at Cartken
  • Joined

More fromAlexey Tukalo

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp