Skip to content

Implement Tag 25 "String reference" #142

@BrendanSimon

Description

@BrendanSimon

The Python cbor2 implementation supports the following CBOR tags.
https://cbor2.readthedocs.io/en/latest/usage.html#string-references

I'm interested in tag 25 "String reference" - to efficiently code lots of mappings with the same key names repeated multiple times, and be interoperable with CBOR encoded with python cbor2.dumps(string_referencing=True)

Is this already supported? If not, this is a feature request :)

http://cbor.schmorp.de/stringref

Tag Semantics Python type(s)
25 String reference str / bytes

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