Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[]byte doesn't serialize/parse properly #1

Open
shruggr opened this issue Sep 25, 2022 · 1 comment
Open

[]byte doesn't serialize/parse properly #1

shruggr opened this issue Sep 25, 2022 · 1 comment

Comments

@shruggr
Copy link

shruggr commented Sep 25, 2022

[]byte attempts to render out an array byte for which does not have a decoder/encoder

encoding/json encodes []byte as base64

@johnkeates
Copy link

Just ran into the same issue when trying to use this in JWKS decoding in go-jose which uses pointers to byte slices to store copies of private and public keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants