You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Cory Gwin (JIRA)" <ji...@apache.org> on 2016/08/24 18:55:20 UTC

[jira] [Created] (THRIFT-3903) JSON Encoding of floats

Cory Gwin created THRIFT-3903:
---------------------------------

             Summary: JSON Encoding of floats
                 Key: THRIFT-3903
                 URL: https://issues.apache.org/jira/browse/THRIFT-3903
             Project: Thrift
          Issue Type: Bug
          Components: Python - Library
            Reporter: Cory Gwin


When casting floats, such as epoch time Time.time(), that have a precision > 2 the TJSON and SIMPLEJSON encodings are losing decimal precision due to the JSON algorithms casting to strings. It would be ideal to handle this better.



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