3 ms·
I thought the appeal of JSON was that it is, among other things, somewhat human readable. The gain in bytes does not seem to justify the loss of human readabili
by Dansvidania 7y ago
I thought the appeal of JSON was that it is, among other things, somewhat human readable. The gain in bytes does not seem to justify the loss of human readability. Am I missing something?
- GordonS 7y agoIt depends on your use case; having human readable serialised messages isn't always a big deal. For example, I recently used it for a high-throughput messaging system, where the vastly improved performance was a huge selling point.
- Dansvidania 7y agoAre you referring to the reduced payloads or does this also provide a faster way to serialize/de-serialize?
- GordonS 7y agoMuch faster serialisation/deserialisation (and a lot less allocations on .NET). It does support compression, but messages sizes are generally comparable to compressed JSON (YMMV, it will depend on your messages).