json-iterator / tinygo

make json.Unmarshal work in tinygo
MIT License
8 stars 1 forks source link

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

Open shruggr opened 2 years ago

shruggr commented 2 years ago

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

encoding/json encodes []byte as base64

johnkeates commented 1 year ago

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.