msgpack-rust icon indicating copy to clipboard operation
msgpack-rust copied to clipboard

support records/string references

Open raylu opened this issue 1 year ago • 0 comments

I often want to encode a bunch of identically-shaped objects like

{"name": "raylu", "id": 1}
{"name": "bob", "id": 2}

msgpackr supports "records" for this: https://github.com/kriszyp/msgpackr#record--object-structures

cbor2 supports "string references": https://cbor2.readthedocs.io/en/latest/usage.html#string-references

it would be nice if msgpack-rust (and, thus, ormsgpack) supported something like either of these

raylu avatar Oct 16 '23 07:10 raylu