[ https://issues.apache.org/jira/browse/THRIFT-3396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14965627#comment-14965627 ]
Jens Geyer commented on THRIFT-3396: ------------------------------------ GitHub user phongphan opened a pull request: https://github.com/apache/thrift/pull/658 DART: Allow decode JSON escaped unicode string. Hi This patch allow Dart's json protocol to be able to comsume escaped unicode string (\uXXXX). To make the `readString` test runnable, I have to initialize `_context` variable by calling `_resetContext();` in ctor. Not sure it's safe or not. You can merge this pull request into a Git repository by running: $ git pull https://github.com/phongphan/thrift dart-json-escaped-unicode Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/658.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #658 ---- commit 5302549361fb57ef557901838f13e78bbc3b0f8c Author: Phongphan Phuttha <phongp...@acm.org> Date: 2015-10-20T14:52:20Z DART: Allow decode JSON escaped unicode string. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- > DART: UTF-8 sent by PHP as JSON is not understood by TJsonProtocol > ------------------------------------------------------------------ > > Key: THRIFT-3396 > URL: https://issues.apache.org/jira/browse/THRIFT-3396 > Project: Thrift > Issue Type: Sub-task > Components: Dart - Library > Reporter: Phongphan Phuttha > > This is similar to THRIFT-2336. > The json protocol does not allowed encoded unicode json string (\uXXXX). -- This message was sent by Atlassian JIRA (v6.3.4#6332)