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/10 21:37:54 UTC

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

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

Jens Geyer resolved THRIFT-2174.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.0)
                   0.9.2

Committed.
                
> Deserializing JSON fails in specific cases
> ------------------------------------------
>
>                 Key: THRIFT-2174
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2174
>             Project: Thrift
>          Issue Type: Sub-task
>          Components: Go - Library
>    Affects Versions: 0.9.1
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 0.9.2
>
>         Attachments: THRIFT-2174_Deserializing_JSON_fails_in_specific_cases-v2.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
> Additionally, a few superfluous JSON type identifiers exist.

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