Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2158 Compact, JSON, and SimpleJSON protocols are not working correctly
  3. THRIFT-2176

TSimpleJSONProtocol.ReadFieldBegin() does not return field type and ID

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.9.2
    • Go - Library
    • None
    • Patch Available

    Description

      Even if the field data has been read successfully so far, the method still returns always STOP and -1 instead of the field type and ID, which causes struct.Read() to fail.

      Attachments

        Activity

          People

            jensg Jens Geyer
            jensg Jens Geyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: