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

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

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


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.


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

Posted by "Bruce Mitchener (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Douglas Creager (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979222#action_12979222 ] 

Douglas Creager commented on AVRO-729:
--------------------------------------

Oh, and this patch depends on the patches I uploaded for AVRO-549 and AVRO-727.

> 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
>         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.


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

Posted by "Douglas Creager (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Douglas Creager updated AVRO-729:
---------------------------------

    Attachment: 0003-JSON-encoded-Avro-values.patch
                0002-Upgrading-to-Jansson-1.3.patch
                0001-avro_schema_to_json-can-take-const-schema.patch

Patch series for JSON encoding

> 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
>         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.