Hacker News new | ask | show | jobs
by the8472 1147 days ago
Only when various performance metrics are not important enough to consider alternatives.
1 comments

If performance matters, TLV doesn't cut it either, you need fixed-offset fields. Self-describing binary formats like CBOR, BSON, bencode, DER, UBJSON, etc fall between two stools, being less hackable than JSON and slower than schema-driven binary formats, which is why they are all moribund today.