Skip to content

JSONAPIAdapter calls json.dumps with option ensure_ascii=True #70

Description

@yudi-matsuzake

I'm implementing a RESTful server that reponses in the portuguese language and with the ensure_ascii=True the 'ã' looks like '\u00e3' in the json responses.

Is there any problem what will cause make this change (ensure_ascii=False)? Or is there any way to implement an option to JSONAPIAdapter call json.dumps with the argument ensure_ascii=False?

I think that decode the json to utf8 is not job for the client application.

Maybe can I use the postprocessors in some way?

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions