Skip to content

Unmarshalling threadUnsafeSet with json.Unmarshal panics #122

Closed
@fabriziosestito

Description

When using json.Unmarshal to deserialize a set of type UnsafeThreadSet, a panic is raised.

Related to this comment: #121 (comment)

An example can be found here:
https://go.dev/play/p/WgjZEwrHk5U

This was working prior #106, where the pointer receivers were refactored in favor of value receivers.

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

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions