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

Jens Geyer updated THRIFT-2217:
-------------------------------

    Component/s: Python - Library
                 Go - Library

> TSimpleJSONProtocol and TJSONProtocol exports boolean as 1/0
> ------------------------------------------------------------
>
>                 Key: THRIFT-2217
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2217
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Library, Java - Library, Python - Library
>    Affects Versions: 0.9
>            Reporter: Andrew Selder
>
> Both the TSimpleJSONProtocol and TJSONProtocols export bool values with a 1 
> for true and a 0 for false.
> JSON defines true and false literals which would be a much more appropriate 
> representation of the actual state of the object.
> Consumers of the exported JSON end up with integer values instead of 
> booleans. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to