Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Protobuf-py: Protobuf for Python, without compromises. Parent comment
Here's how it looks to convert from encoded protobuf to json (protojson).
buf convert schema.proto \ --type YourMessageName \ --from payload.binpb \ --to output.json
buf convert schema.proto \ --type YourMessageName \ --from data.json \ --to encoded.binpb
There are no comments on this comment yet.
Here's how it looks to convert from encoded protobuf to json (protojson).
And just invert the arguments to convert back.