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/08 00:51:53 UTC

[jira] [Commented] (THRIFT-2174) Deserializing JSON fails in specific cases

    [ https://issues.apache.org/jira/browse/THRIFT-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13761141#comment-13761141 ] 

Jens Geyer commented on THRIFT-2174:
------------------------------------

See also:
https://groups.google.com/forum/#!topic/golang-nuts/1smBsPOdFT0
                
> Deserializing JSON fails in specific cases
> ------------------------------------------
>
>                 Key: THRIFT-2174
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2174
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Library
>    Affects Versions: 0.9.1
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 1.0
>
>         Attachments: THRIFT-2174_Deserializing_JSON_fails_in_specific_cases.patch
>
>
> There are two fatal problems in the Go json/simplejson protocol implementation:
> (1) iobuf.Reader.Buffered() is used wrongly, causing protcol reads to fail in some cases
> (2) a typo in StringToTypeId() causes "i16" to be unrecognized

--
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