News for hackers. Stuff that matters.
Re:Building a high performance JSON parser by fnord123 on Sunday June 28, 2020 @08:43AM (#23668356)
What you're saying exists. Protobuf, flatbuffers, capnproto, xdr, parquet, arrow, avro, orc, sqlite. Indeed if you use these formats you will be able to load the data into memory more quickly than using JSON.

But this article isn't about those protocols. It's about JSON.

Re:Building a high performance JSON parser by chrismorgan on Sunday June 28, 2020 @12:39PM (#23670007)
You can do it with JSON too. Various statically-typed languages do JSON parsing straight into structs all the time. (e.g. in the Rust ecosystem, Serde is the most popular implementation of this concept.)