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

Consider whether CBOR tags should be mapped to/from Ion annotations #28

Open
tgregg opened this issue Dec 9, 2021 · 0 comments
Open

Comments

@tgregg
Copy link
Contributor

tgregg commented Dec 9, 2021

IonReaderFromCbor/IonWriterToCbor both currently do nothing with CBOR tags. On read, non-zero tags are dropped, and on conversion from Ion, no attempt is made to tunnel Ion annotations via CBOR tags.

Since CBOR tags are numeric with implicit meaning, while Ion annotations are user-provided text included in the stream, it's not clear how this mapping would be performed in a way that would actually be useful in the real world. I'm opening this issue as a place for further discussion on this if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant