You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Digests are of "hashing.Digest" type (byte slice), which get applied a base64 encoding in a json serialization.
The goal is to avoid the base64 encoding.
The text was updated successfully, but these errors were encountered:
I think we need to implement marshalers and unmarshalers to our data types, so they get encoded as we want, instead of using the default rules of the json package.
gdiazlo
changed the title
Json serialize digests from protocol.Snapshot as string
Encode digests in APIs and CLI using the same formatting (hexadecimal preferred)
May 29, 2019
Digests are of "hashing.Digest" type (byte slice), which get applied a base64 encoding in a json serialization.
The goal is to avoid the base64 encoding.
The text was updated successfully, but these errors were encountered: