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

JSON generator: output complete descriptors

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9.2
    • 0.9.3
    • JSON - Compiler
    • None
    • Patch Available

    Description

      (Someone should probably add a Jira component for the JSON generator.)

      The attached pull request contains some improvements to the JSON generator:

      1. programs are no longer merged by default, use "--gen json:merge"
      2. "index" is renamed to "key" for fields to match the compiler's internal naming
      3. types are described in a way that does not require string parsing
      4. full support for exceptions, unions, namespaces, includes and required/optional fields

      Attachments

        Activity

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

          People

            jensg Jens Geyer
            stigsb Stig Bakken
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment