Show HN: I built a JSON and JSON5 parser with MISRA C conformance (railgunlabs.com)
Hello everyone. I built Judo: a JSON(5) parser with MISRA C conformance.
For those who don't know, JSON5 is an unofficial extension of JSON that incorporates features from ECMAScript 5.1 (ES5). I designed Judo to be customizable, so you can stick with standard JSON if you'd prefer.
About me: I'm a solo developer and I quit my Big Corp job to pursue my passion for software development. Judo is my 5th commercial release.
5 comments
[ 2.9 ms ] story [ 17.4 ms ] threadWhat are the contexts where I need a MISRA C package for parsing JSON? Just embedded systems or can you see a wider usecase?
My focus wasn't speed, but rather high-assurance. On a resource-constrained embedded system, you're likely not working with huge JSON structures. The scanner processes JSON incrementally, so if memory pressure is a concern, you can do your processing in small, incremental chunks.
[1] https://news.ycombinator.com/item?id=42423988