> Inefficient (textual representations aren’t optimal for networks)
REST APIs don't _have_ to be text-based, AFAIK. Why not just send/receive binary?
REST APIs don't _have_ to be text-based, AFAIK. Why not just send/receive binary?
I can see where self-describing is better when it comes to side issues like debugging, exploration, or the hassle of configuring your build to generate code from the IDL files, though. But if I had to choose only one, those are lower priority to me.
That said, JSON is still slower and more bloated than Protobuf, and you get Protobuf for free when using gRPC.