Oboe.js is an open source Javascript library for loading JSON using streaming, combining the convenience of DOM with the speed and fluidity of SAX.
It can parse any JSON as a stream, is small enough to be a micro-library, doesn’t have external dependencies, and doesn’t care which other libraries you need it to speak to.
What next?
- Visualise faster web applications through streaming
- Browse code examples
- Learn the Oboe.js API
- Download the library
- Discuss Oboe.js
- Compare Oboe.js vs. SAX vs. DOM
- Visit the project on Github
- If you’re in for the long haul, my MSc dissertation was written on this subject (PDF, 64 pages plus appendices)
Other tools
- For writing JSON streams from a Java server to an Oboe.js front-end try GSON
- If you need an even more lightweight JSON stream library and don’t mind writing rather more code, try Clarinet (In fact, Oboe is built on Clarinet)
Typos
Notice a mistake on this page? Please fork the Oboe.js website repo and make a pull request. The markdown source is here.