[
https://issues.apache.org/jira/browse/THRIFT-3145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aki Sukegawa updated THRIFT-3145:
---------------------------------
Summary: JSON protocol does not handle bool and empty containers correctly
(was: JSON protocol incompatible with (at least) Java implementation)
> JSON protocol does not handle bool and empty containers correctly
> -----------------------------------------------------------------
>
> 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, 0.9.3
> 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)