Skip to content

encoding/json: allow per-Encoder/per-Decoder registration of marshal/unmarshal functions #5901

Open
@rsc

Description

For example, if a user wants to marshal net.IP with custom code, we should provide a way
to do that, probably a method on *Encoder. Similarly for *Decoder.

Same for encoding/xml.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status

      Accepted

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions