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

JSON generator: output complete descriptors

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.9.3
    • Component/s: JSON - Compiler
    • Labels:
      None
    • Patch Info:
      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: