Parsing JSON is not hard; we can easily build a parser that directly follows a (transformed) JSON grammar, creating femtojson in the process: https://mostlynerdless.de/blog/2026/03/10/writing-a-tiny-json-parser/
Writing a tiny JSON Parser - Mostly nerdless

Parsing JSON is not hard, we can easily build a parser that directly follows a (transformed) JSON grammar, creating femtojson in the process.

Mostly nerdless