32 ms·
As mentioned in other comments, gRPC transport is orthogonal to Protobuf serialization. The gRPC runtime library takes no dependency on that. You can use gRPC w
by mehrdada 7y ago
As mentioned in other comments, gRPC transport is orthogonal to Protobuf serialization. The gRPC runtime library takes no dependency on that. You can use gRPC with JSON. It just happens the default code generators use protobuf IDL and serialization. You can use gRPC library with your own JSON based stub generator.
- kjeetgill 7y agoWhile that's true I think protobufs are (correctly) seen as the standard preferred way to use gRPC. The first point from the main page: > Simple service definition > Define your service using Protocol Buffers, a powerful binary serialization toolset and language It's a little unfair to call it that orthogonal.