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

Convert object keys to numbers #100

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

boomfly
Copy link

@boomfly boomfly commented Dec 23, 2021

I am making library for Bluez DBus.
ManufacturerData that format:
a{qv}
But when passing that object:

{
  0x0059: {...}
}

0x0059 key was converting to string and produces wrong company id two bytes

@alexcastillo
Copy link

Hi,

This PR will allow us to use this library. Any chance this can be reviewed/merged?

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants