Skip to content

proposal: sync: Add MarshalJSON() ([]byte, error) and UnmarshalJSON([]byte) error to sync.Map #73717

@pboyd04

Description

@pboyd04

Proposal Details

While we can convert to/from a standard map to do json serialization/deserialization or write our own functions wrapping the sync.Map it would be better if this functionality was baked into the standard library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions