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

TypeError: dict_keys([]) is not JSON serializable #407

Closed
exctac opened this issue May 7, 2020 · 2 comments
Closed

TypeError: dict_keys([]) is not JSON serializable #407

exctac opened this issue May 7, 2020 · 2 comments

Comments

@exctac
Copy link

exctac commented May 7, 2020

What versions are you using?

  • OS: Ubuntu 19.10
  • Python: 3.5.3
  • UltraJSON: 2.0.3

This error occurs when executing the code

ujson.dumps(dict().keys())

but there is no such error in UltraJSON v.1.35.

@hugovk
Copy link
Member

hugovk commented May 8, 2020

Thank you for the report, this is a duplicate of #374 and explained at #374 (comment).

@hugovk hugovk closed this as completed May 8, 2020
@exctac
Copy link
Author

exctac commented May 8, 2020

Thank you!

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