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

JSON generator: output complete descriptors

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved: