alasdairforsythe / jsondec
PublicSimple and high-performance JSON decoder for Go, designed for fast & easy API response parsing
jsondec is a Go library offering a faster, more secure alternative to standard JSON decoding with features like required fields, presence and null detection, forbidden fields, size limits, and union types.
How It Works
You're making an app that gets info from users, but the regular way lets missing details slide by or can't spot empty vs missing parts.
You find jsondec, a smarter helper that reads incoming info bundles safely, spotting must-haves and blocking surprises.
You simply bring jsondec into your work with one easy step, and it's ready to use.
You sketch out what your incoming info should look like, flagging required pieces, optional ones, and even forbidden extras for extra safety.
You create a personal, super-fast tool just for your info type that works perfectly every time without slowing down.
Whenever new info arrives, you hand it to your reader and get back exactly what you expect, clean and quick.
Now your app handles all user data flawlessly, staying fast, safe from tricks, and free of nasty surprises.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.