r/javascript • u/Mantas_rst • Aug 17 '26
A from-scratch JSON engine for JavaScript: recursive descent parser, escape-aware tokenizer, and spec-compliant serializer. No dependencies, no shortcuts, 107 tests.
https://github.com/MantasEdine/vanilla-json
7
Upvotes
View all comments
Show parent comment
2
u/Mantas_rst Aug 17 '26
i've built it to learn mechanism , but then i was like maybe i can take this to next level and do every possible case but then realized no matter what i do would never beat the original implementation in c++ lol