Re:RX – a new random-access JSON alternative
by IshKebab on Thursday March 19, 2026 @09:22AM
(#47438985)
You still have to parse half the entire file on average. Much slower than formats that support skipping to the relevant information directly.
Re:RX – a new random-access JSON alternative
by creationix on Thursday March 19, 2026 @10:04AM
(#47439681)
yep, this is exactly the kind of use case that caused me to design this format.
There are SAX-like JSON libraries out there, and several of them work with a preallocated buffer or similar streaming interface, so you could stream the file and pick out the two fields as they come along.