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

TSimpleJSONProtocol exports boolean as 1/0

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aselder Andrew Selder
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: