avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Kahn (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-1291) Python library missing strict JSON encode/decoe
Date Tue, 09 Apr 2013 16:24:16 GMT
Jeremy Kahn created AVRO-1291:

             Summary: Python library missing strict JSON encode/decoe
                 Key: AVRO-1291
                 URL: https://issues.apache.org/jira/browse/AVRO-1291
             Project: Avro
          Issue Type: Bug
          Components: python
            Reporter: Jeremy Kahn

The Python Avro libraries don't actually have a proper JSON decoder or encoder, because they
don't handle the [type-hinting for unions|http://avro.apache.org/docs/current/spec.html#json_encoding]

The Python {{avro.io}} library should provide a pair of {{StrictJsonEncoder,StrictJsonDecoder}}}
classes that correctly include (and decode) the type hints when the schema expects a union.

Jonathan Coveney [raised this concern|http://mail-archives.apache.org/mod_mbox/avro-user/201304.mbox/%3CCAKne9Z6nkYXwb4QzPr4qNyH1o7TnL1674MspgnHuKMuD2imguQ%40mail.gmail.com%3E]
on the Avro User mailing list.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message