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

TJSONProtocol when serialized yields TField ids rather than names

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.9.2
    • Java - Library
    • None
    • Patch Available

    Description

      When using the serializer to with TJsonProtocol to output json data the TField id's are printed as the object name rather than the TField name. This works when using Thrift to serialize and deserialize data, but when TJsonProtocol is being used in other applications this can be difficult to deal with.

      Propose adding an option to serialize the object with the TField name rather than the id's

      Attachments

        1. THRIFT-2535.patch
          2 kB
          Jake Farrell

        Activity

          People

            jfarrell Jake Farrell
            jfarrell Jake Farrell
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: