
JSON, the javascript object notation format, is everywhere nowadays. But there are 3 facts which will challenge its dominance.
Due to these changes, servers will become CPU bound again, and basic data structures on the web will become much more relevant. But the most efficient parsing of JSON requires guessing the final data structure while reading the data.
Therefore the changing costs will bring a comeback for binary data structures, and WebAssembly will provide efficient parsers and emitters in the clients.
Look at a typical website and count how much of the dynamic data it uses is structured data. Due to this I expect that 5 years from now, there will be celebrity talks with titles like
Scaling 10x higher with streams of structured data.
(And yes, that tech communication often works like this is a problem.)
Update 2025: Protobuf - How Google Changed Data Serialization FOREVER [1] (youtube, 2023), Reduce Latency By 60% With ProtoBufs!!! [2] (youtube, 2023, reading from an article [3] that comments on a LinkedIn Techblog Entry [4] ). Also Flatbuffers [5] and Cap’n’Proto [6].
If you have deep-rooted doubts, have a look at Towards a JavaScript Binary AST [7], which convinced me to finally publish this article.
(and parsing JSON is a minefield [8])
Links:
[1] https://www.youtube.com/watch?v=FR754e5xIwg
[2] https://www.youtube.com/watch?v=9IxE2UQqJCw
[3] https://www.infoq.com/news/2023/07/linkedin-protocol-buffers-restli/
[4] https://www.linkedin.com/blog/engineering/infrastructure/linkedin-integrates-protocol-buffers-with-rest-li-for-improved-m
[5] https://flatbuffers.dev/
[6] https://capnproto.org/otherlang.html
[7] https://yoric.github.io/post/binary-ast-newsletter-1/
[8] http://seriot.ch/parsing_json.php#41