News for hackers. Stuff that matters.
Re:Using Protobuf instead of JSON to communicate with a fron... by shanemhansen on Friday June 05, 2015 @01:41PM (#9666801)
There are basically 2 areas where JSON is really wasteful. Compression can help with both of those.

  1. Dictionary keys are repeated when you have an array of similar objects.
  2. Non-text data. JSON can't natively represent binary data, forcing people to use things like base64 for binary and base10 for numbers.
Re:Using Protobuf instead of JSON to communicate with a fron... by rikrassen on Sunday June 07, 2015 @01:08PM (#9675459)
I hadn't considered binary data. Thanks.