Two powerful tools for analyzing Protobuf messages: buf convert transcodes between wire format, JSON, and textproto, enabling the use of JSON tools like jq for message analysis, while protoscope disassembles binary data without requiring a schema, making it ideal for debugging corrupted messages. The article demonstrates practical examples of converting Protobuf to JSON for data extraction and highlights important considerations like 64-bit integer precision issues in JSON conversion.

5m read timeFrom mcyoung.xyz
Post cover image
Table of contents
JSON from Protobuf?Transcoding with buf convertDisassembling with protoscope

Sort: