Skip to content

bloxid.ID can't be marshaled/unmarshaled to json #372

@mathewab

Description

@mathewab

bloxid.V0 has all private fields and so can't be marshaled/unmarshaled into json when using it as part of a struct.
Implementing MarshalJSON and UnmarshalJSON for it should fix the issue

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

    Issue actions