You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2019/01/04 03:10:02 UTC
[jira] [Closed] (THRIFT-4082) Java library can't parse JSON
generated by javascript TJSONProtocol
[ https://issues.apache.org/jira/browse/THRIFT-4082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James E. King III closed THRIFT-4082.
-------------------------------------
This issue was resolved without a fixVersion but was not closed - closing.
> Java library can't parse JSON generated by javascript TJSONProtocol
> -------------------------------------------------------------------
>
> Key: THRIFT-4082
> URL: https://issues.apache.org/jira/browse/THRIFT-4082
> Project: Thrift
> Issue Type: Bug
> Components: Java - Compiler
> Affects Versions: 0.10.0
> Reporter: Neia Neutuladh
> Priority: Critical
>
> Thrift definition:
> struct Entity {
> 1: string id;
> }
> service EntityService {
> void save(1: Entity entity);
> }
> JSON document: [1,"save",1,0,{"1":{"rec":{"1":{"str":"q19786052"}}}}]
> Error:
> org.apache.thrift.protocol.TProtocolException: Unexpected character:}
> (Additionally, the parser would ideally state where it found the unexpected character.)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)