You can clone with
It would be nice to have a streaming json encoder and decoder. This can be SAX based with higher-level abstractions built on top (like declarative filter queries on the stream)
I've been using JSONStream for a long time and it's been working great. Also sax is an xml parser, do you mean clarinet? https://github.com/dscape/clarinet
For the stuff I build I usually like something at the level of abstraction that JSONStream is at, perhaps the parser could just be modified to use clarinet and we could measure the performance and memory usage difference?
By SAX I meant the event style. For low-level stuff, I like the yajl interface.