You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm a happy user with your safari extension.
I'm a iOS and django developer.
The django side will output JSON format to iOS side.
Your extension helps me a lot while checking the content django returned.
But currently, I have to check some JSON output with some UTF-8 Chinese string.
for example: {"patientType": "\u9580\u8a3a"}
which should be {"patientType": "門診"}
I have no idea how to solve this in an extension development.
But I hope one day I can use your extension for checking JSON with non-English content.
Thanks very much.
The text was updated successfully, but these errors were encountered:
I found that it's quite easy fix this by adding a line obj = eval('"'+obj+'"');
in renderString function before the return line.
the eval will make \u9580 to its original value in Chinese.
Hello, I'm a happy user with your safari extension.
I'm a iOS and django developer.
The django side will output JSON format to iOS side.
Your extension helps me a lot while checking the content django returned.
But currently, I have to check some JSON output with some UTF-8 Chinese string.
for example:
{"patientType": "\u9580\u8a3a"}
which should be
{"patientType": "門診"}
I have no idea how to solve this in an extension development.
But I hope one day I can use your extension for checking JSON with non-English content.
Thanks very much.
The text was updated successfully, but these errors were encountered: