You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Rhys Adams (JIRA)" <ji...@apache.org> on 2015/05/12 02:52:00 UTC

[jira] [Updated] (THRIFT-3145) JSON protocol incompatible with (at least) Java implementation

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

Rhys Adams updated THRIFT-3145:
-------------------------------
    Attachment: thrift-fixes.patch

My changes to the JSON protocol implementation.

> JSON protocol incompatible with (at least) Java implementation
> --------------------------------------------------------------
>
>                 Key: THRIFT-3145
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3145
>             Project: Thrift
>          Issue Type: Bug
>          Components: Haskell - Library
>    Affects Versions: 0.9.2
>            Reporter: Rhys Adams
>         Attachments: thrift-fixes.patch
>
>
> I'm using Thrift to communicate with Apache Aurora and have had to make a couple of changes to the JSON protocol implementation, namely:
> * Write booleans as '1'/'0' instead of "true"/"false"
> * Parse empty lists
> The code appears identical in the current master branch. I've attached a patch with the changes I've made, but they've only been tested for my use case; I haven't looked at any specs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)