Open
Description
Is your feature request related to a problem? Please describe.
When using trubka consume proto
if you have a protobuf with a field of type bytes
, the field will be formatted as base64, but I would like to look at them in hex string format. There is an option to format your entire message as hex using -F hex
but not just bytes fields.
Describe the solution you'd like
An option to output in -F json-indent
format, but with individual fields of type bytes
as hex strings.
For example adding a flag --bytes-format [base64|hex]
.
You could take this concept even further and have custom formatting for any type with some kind of configuration file. For example you may want timestamps in a different format as well.
Activity