You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2013/09/09 00:13:51 UTC
[jira] [Updated] (THRIFT-2176) TSimpleJSONProtocol.ReadFieldBegin()
does not return field type and ID
[ https://issues.apache.org/jira/browse/THRIFT-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer updated THRIFT-2176:
-------------------------------
Attachment: THRIFT-2176-simplejson-go.patch
By design. SimpleJSON was never meant to be deserializable by Thrift, see [Thrift Wiki|http://wiki.apache.org/thrift/ThriftUsageJava] explanations. The patch adds only some comments and excludes the SimpleJSON protocol from the serializer tests.
> TSimpleJSONProtocol.ReadFieldBegin() does not return field type and ID
> ----------------------------------------------------------------------
>
> Key: THRIFT-2176
> URL: https://issues.apache.org/jira/browse/THRIFT-2176
> Project: Thrift
> Issue Type: Sub-task
> Components: Go - Library
> Affects Versions: 0.9.1
> Reporter: Jens Geyer
> Fix For: 1.0
>
> Attachments: THRIFT-2176-simplejson-go.patch
>
>
> Even if the field data has been read successfully so far, the method still returns always STOP and -1 instead of the field type and ID, which causes struct.Read() to fail.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira