You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2009/09/22 20:06:17 UTC
[jira] Updated: (AVRO-118) JSON encoder does not easily permit
multiple reads or writes
[ https://issues.apache.org/jira/browse/AVRO-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated AVRO-118:
------------------------------
Attachment: AVRO-118.patch
Attaching a patch that illustrates this.
The second write fails unless the 'encoder.flush(); encoder.init(out)' is uncommented.
The second read fails unless a new decoder is constructed.
> JSON encoder does not easily permit multiple reads or writes
> ------------------------------------------------------------
>
> Key: AVRO-118
> URL: https://issues.apache.org/jira/browse/AVRO-118
> Project: Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.1.0
> Reporter: Doug Cutting
> Attachments: AVRO-118.patch
>
>
> The JSON encoder does not permit one to easily write or read sequences of instances from a single stream.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.