Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: c
    • Labels:
      None

      Description

      I've added support in the C library for getting the JSON encoding of an Avro value. There are three patches in this series. One of the changes is to upgrade our copy of the Jansson library to 1.3. (All of the existing test cases pass with the upgrade.) Some Avro values have JSON encodings that aren't technically valid JSON top-level values, since they're just bare scalars, but the new Avro function works with these just fine. The test_avro_data test case has been updated to verify the JSON encodings for each of the Avro schema types it tests.

      1. 0001-avro_schema_to_json-can-take-const-schema.patch
        4 kB
        Douglas Creager
      2. 0002-Upgrading-to-Jansson-1.3.patch
        364 kB
        Douglas Creager
      3. 0003-JSON-encoded-Avro-values.patch
        16 kB
        Douglas Creager

        Issue Links

          Activity

          Doug Cutting made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Bruce Mitchener made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.5.0 [ 12315282 ]
          Resolution Fixed [ 1 ]
          Jeff Hammerbacher made changes -
          Link This issue requires AVRO-727 [ AVRO-727 ]
          Jeff Hammerbacher made changes -
          Link This issue requires AVRO-549 [ AVRO-549 ]
          Douglas Creager made changes -
          Field Original Value New Value
          Attachment 0001-avro_schema_to_json-can-take-const-schema.patch [ 12467802 ]
          Attachment 0002-Upgrading-to-Jansson-1.3.patch [ 12467803 ]
          Attachment 0003-JSON-encoded-Avro-values.patch [ 12467804 ]
          Douglas Creager created issue -

            People

            • Assignee:
              Douglas Creager
              Reporter:
              Douglas Creager
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development