GRPC_CLI-TOJSON(1)

πŸ“¦ version 1.48.4, in epel 10, epel 9, fedora 43, fedora 44

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 to stdin) πŸ’– if you don't give it a file, it just reads from standard input. main character energy honestly.
  • --outfile β€” Output filename (defaults to stdout) ✨ 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:


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