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

TJSONProtocol when serialized yields TField ids rather than names

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment