Data serialization Memes

Posts tagged with Data serialization

Cool Format

Cool Format
ASN.1 (Abstract Syntax Notation One) is that ancient data serialization format that nobody asked for but everyone in telecom and cryptography has to deal with. It's basically the granddad of JSON, except it makes encoding a simple boolean value feel like you're performing cryptographic surgery. So you want to encode TRUE? Cool, that'll be 3 bytes please: one byte for the type (01₁₆ = Boolean), one byte for the length (01₁₆ = 1 byte of data), and finally one byte for the actual value (FF₁₆). That's right, a single bit of information now costs you 24 bits. It's like paying $3 in transaction fees to send $1. Meanwhile, JSON just goes true and calls it a day. But hey, at least ASN.1 is "efficient" and "well-structured" according to the 1984 standards committee that designed it.

That Just Sounds Like CSV With Extra Steps

That Just Sounds Like CSV With Extra Steps
The eternal cycle of data format reinvention continues. TOON appears to be yet another attempt to make data more readable than JSON, which itself was supposed to be more readable than XML, which was more readable than... you get the idea. The kicker? TOON uses 154 chars while JSON needs 412 for the same data. Sure, it's more compact, but at what cost? Another syntax to learn, another parser to debug at 2AM when production breaks. The Rick and Morty reaction perfectly captures that weary sigh of "here we go again" that echoes through developer souls whenever someone announces they've invented a revolutionary new data format.