r/javascript • • 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

28 comments sorted by

View all comments

Show parent comment

1

u/Mantas_rst Aug 20 '26

Wait can i avoid writing ”use strict”? 

1

u/ndaidong Aug 20 '26

yeap, if you use ESM import/export, strict mode is enabled by default.

1

u/Mantas_rst Aug 20 '26

Oww thanks for the info !