Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3903

JSON Encoding of floats

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Python - Library
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gwincr11 Cory Gwin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: