Skip to content

new feature: use grpcurl as an offline tool to convert JSON into proto#309

Open
irsl wants to merge 1 commit intofullstorydev:masterfrom
irsl:master
Open

new feature: use grpcurl as an offline tool to convert JSON into proto#309
irsl wants to merge 1 commit intofullstorydev:masterfrom
irsl:master

Conversation

@irsl
Copy link

@irsl irsl commented May 10, 2022

The tool then can be used like this:

$ ./grpcurl --import-path  /data/app-engine-experiments/2022/protos -proto remote_api.proto -d '{"service_name":"sdf","method":"method","request":"foo"}' -convert-message remote_api.Request | protoc --decode_raw
2: "sdf"
3: "method"
4: "foo"

@dragonsinth
Copy link
Member

This seems kind of out of scope for grpcurl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants