News for hackers. Stuff that matters.
Re:Parsing JSON in 500 lines of Rust by olvrng on Wednesday February 19, 2025 @05:29AM (#43100617)
I have implemented 2 packages in Go for parsing json:

1. https://github.com/ezpkg/iter.json: last year, using go iterator, the core parsing code [1a] is around 200 lines

1a. https://github.com/ezpkg/ezpkg/blob/main/iter.json/parser.go

2. https://github.com/iOliverNguyen/ujson: 4 years ago, using callback, around 400 lines

There are no comments on this comment yet.