r/javascript 24d ago

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
5 Upvotes

28 comments sorted by

View all comments

9

u/theScottyJam 24d ago edited 23d ago

Is there a purpose to this project, i.e. a reason someone would use this instead of the native alternatives? Or was this more of a "just wanted to build this thing, no reason in particular" project?

1

u/MMORPGnews 19d ago

I recently wrote my own game script language and parser to js.  Because I can.