Re:Twirp: A new RPC framework for Go
by gipp on Tuesday January 16, 2018 @04:56PM
(#16163078)
On GCP, Cloud Endpoints proxies will transparently translate back and forth between protobufs and the canonical JSON, allowing either representation to be used. So if you're on GCP and don't care about vendor lock-in, that's a solution.
[ Parent
| on HN ]
There is also the grpc-gateway project for JSON transcoding https://github.com/grpc-ecosystem/grpc-gateway
To be fair, if you chose gRPC for performance, but then end up using JSON for most of your traffic, perhaps you picked the wrong tool.
I don't think generally people want to have JSON accepted to use in their production workloads. More for development, testing, that kind of thing. Being able to just curl your service makes a huge difference.