Skip to content

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

Description

@lovelydinosaur

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.

Activity

added this to the 3.4.0 Release milestone on Jun 10, 2016

lovelydinosaur commented on Jun 13, 2016

@lovelydinosaur
MemberAuthor

Closed via #4191.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions