Yeah maybe a bit harsh. But the point is if you are looking for that kind of performance, I don't see why you wouldn't send binary data and then unpack it as needed.
If you control both ends of the pipe, then sure. But for better or worse, large chunks of infrastructure expect to send or receive JSON.
Because maybe the choice of serialization format isn't under your control?
If you control both ends of the pipe, then sure. But for better or worse, large chunks of infrastructure expect to send or receive JSON.