GRPC_CLI-TOJSON(1)
okay bestie, welcome to the GRPC_CLI-TOJSON(1) page π this is the little command that takes a binary message and turns it into json, no cap. it lives in the User Commands section and it's giving very useful, very niche, very iykyk energy. let's get into it fr fr.
β¨ NAME β¨
grpc_cli tojson β convert binary message to json π¦
like. that's the whole vibe. binary in, json out, slay.
π SYNOPSIS π
grpc_cli tojson protofiles type [OPTION]...
so you run grpc_cli tojson, then you hand it your protofiles and your type, and then any [OPTION]... you want. simple as that, periodt.
π OPTIONS π
protofilesβ a comma separated list of proto files πΈ like, all the proto files you need, separated by commas. do not ghost the commas, bestie.typeβ the Protocol buffer type name π that's the type you're converting, and yes it needs to be exact.--proto_pathβ the search paths of proto files (:separated) π§ so if your proto files are hiding somewhere, this tells the command where to look. and the paths are separated by a colon, not a comma. lowkey important.--infileβ Input filename (defaults tostdin) π if you don't give it a file, it just reads from standard input. main character energy honestly.--outfileβ Output filename (defaults tostdout) β¨ if you don't give it an output file, it writes straight to standard output. iconic.
no extra flags hiding in the shadows, bestie. that's the whole list. every single one accounted for π
π SEE ALSO π
if you're obsessed and want more of this grpc_cli universe, go read these, fr fr:
grpc_cli(1)grpc_cli-ls(1)grpc_cli-call(1)grpc_cli-type(1)grpc_cli-parse(1)grpc_cli-totext(1)grpc_cli-tobinary(1)grpc_cli-help(1)
and that's the page, bestie π«Ά this was GRPC_CLI-TOJSON(1) from the User Commands manual, dated May 2021. go convert some binary messages to json and eat, you deserve it π
β¨
π¦ where this page comes from
- epel 10: grpc-cli 1.48.4-44.el10_0 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
- epel 9: grpc-cli 1.46.7-10.el9 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
- fedora 43: grpc-cli 1.48.4-54.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
- fedora 43: grpc-cli 1.48.4-54.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
- fedora 44: grpc-cli 1.48.4-57.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
- fedora 44: grpc-cli 1.48.4-57.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms