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

Serializing HashMap<Vec<u8>,rmpv::Value> #322

Open
bobi6666 opened this issue Dec 9, 2022 · 1 comment
Open

Serializing HashMap<Vec<u8>,rmpv::Value> #322

bobi6666 opened this issue Dec 9, 2022 · 1 comment

Comments

@bobi6666
Copy link

bobi6666 commented Dec 9, 2022

hello, I would like to ask if any of you could help me write a serializer for HashMap<Vec<u8,rmpv::Value>? because when I use .to_vec() it stores keys as a list of ints and this is not good or backwards compatible

@kornelski
Copy link
Collaborator

kornelski commented Dec 9, 2022

What should it do? Are you looking for https://lib.rs/crates/serde_bytes perhaps?

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

2 participants