Skip to content

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

Description

@tgregg

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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