Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Custom type example #98

Open
1 task done
tulku opened this issue Jan 5, 2024 · 0 comments
Open
1 task done

[Feature]: Custom type example #98

tulku opened this issue Jan 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tulku
Copy link

tulku commented Jan 5, 2024

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

@tulku tulku added the enhancement New feature or request label Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant