Hi folks, As far as I'm aware, there is still no official CLI tool for protobuf-json conversion.
Since I recently polished my command line ProtobufJson converter <https://github.com/hq6/ProtobufJson> to improve useability, I'd like to share it with this list in case it's useful for others. Here are example invocations to convert in opposite directions: ./JsonToProto -I exampleProtoSearchPath Example '{"x": 5, "text": "Hello World"}' > Output.bin ./ProtoToJson -I exampleProtoSearchPath Example < Output.bin At my employer, we use this tool to manually make requests to proto-over-http endpoints, as well as decode gRPC requests captured by Envoy TAP. Regards, Henry Qin -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/CAO8bsPA9k7Sm3hytee5yy-OeRQ3AGHtwHGYm%2B9%3Dwn3QXkMX5Kg%40mail.gmail.com.
