Parsing JSON Objects without intermediate ASTs
Summary
This article presents a method to parse JSON without an intermediate AST by using partially initialized data in Haskell. It compares an IR-based approach (e.g., Aeson) with a no-IR method using flatparse, discusses safety and laziness, and includes benchmarks showing significant performance improvements when removing IRs. It also references a GitHub repository with the implementation and notes trade-offs.