thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (THRIFT-4082) Java library can't parse JSON generated by javascript TJSONProtocol
Date Fri, 10 Feb 2017 17:58:41 GMT

     [ https://issues.apache.org/jira/browse/THRIFT-4082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jens Geyer updated THRIFT-4082:
-------------------------------
    Priority: Critical  (was: Major)

> 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 - Library
>    Affects Versions: 0.10.0
>            Reporter: Christopher Wright
>            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
(v6.3.15#6346)

Mime
View raw message