Skip to content

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

Open
irsl wants to merge 1 commit into
fullstorydev:masterfrom
irsl:master
Open

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

Conversation

@irsl

@irsl irsl commented May 10, 2022

Copy link
Copy Markdown

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
Copy Markdown
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