Skip to content

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

Open
@shruggr

Description

@shruggr

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

encoding/json encodes []byte as base64

Activity

johnkeates

johnkeates commented on Feb 5, 2023

@johnkeates

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @johnkeates@shruggr

        Issue actions

          `[]byte` doesn't serialize/parse properly · Issue #1 · json-iterator/tinygo