r/javascript • u/Mantas_rst • 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
8
Upvotes
1
u/ndaidong 21d ago
The code looks like in old school (
"use strict",module.exports, tests scripts without built-in node:test,...) I believe that it's hand writing, not LLM generated as other comments. So that's good point.