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

JSONField(binary=True) represents using binary strings, which JSONRenderer does not support. #4187

Closed
tomchristie opened this issue Jun 10, 2016 · 1 comment
Labels
Milestone

Comments

@tomchristie
Copy link
Member

tomchristie commented Jun 10, 2016

Refs #4185.

Under Python 3 the JSONField(binary=True) option is not useful because it produces bytestring output, that JSONRenderer doesn't support. We should either:

  • Handle binary strings in JSONRenderer as if they by utf-8 decoding them to unicode.
  • Output unicode from JSONField(binary=True) instead of a bytestring.
@tomchristie
Copy link
Member Author

tomchristie commented Jun 13, 2016

Closed via #4191.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant