Skip to content

[Feature]: Custom type example #98

@tulku

Description

@tulku

Is there an existing issue for this?

  • I have searched the existing issues

Description

I am trying to do something similar to what is explained in this Python CBOR library:
https://cbor2.readthedocs.io/en/latest/customizing.html#using-the-cbor-tags-for-custom-types

I want to be able to encode and decode a custom struct using a custom tag.

I understand that this is possible, by looking at Value, however, it would be very useful to have a simple example explaining how to do it.

Acceptance Criteria

No response

Suggestions for a technical implementation

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions