base64 string, which is what I want, but is this somehow guaranteed by the standard? Can I count that in some future update new json marshaller won't use hex for byte slices?Should I explicitly use strings and decode them to byte slices myself?
Base64 results are redundant. The size will always be bigger than the string itself. So I would use strings. Consider the converting overhead too
Обсуждают сегодня