You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Bruce Mitchener (JIRA)" <ji...@apache.org> on 2011/01/11 19:34:46 UTC

[jira] Resolved: (AVRO-729) JSON encoded Avro values

     [ https://issues.apache.org/jira/browse/AVRO-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruce Mitchener resolved AVRO-729.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.0

After a bit of a nightmare, this is in.

The SVN server timed out on me, so I had to break the upgrade commit into 2 pieces. Unfortunately, I did that with SVN rather than Git, and things went downhill from there.

I also did a couple of fixes to this to keep CMake working.


> JSON encoded Avro values
> ------------------------
>
>                 Key: AVRO-729
>                 URL: https://issues.apache.org/jira/browse/AVRO-729
>             Project: Avro
>          Issue Type: New Feature
>          Components: c
>            Reporter: Douglas Creager
>            Assignee: Douglas Creager
>             Fix For: 1.5.0
>
>         Attachments: 0001-avro_schema_to_json-can-take-const-schema.patch, 0002-Upgrading-to-Jansson-1.3.patch, 0003-JSON-encoded-Avro-values.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.