[ https://issues.apache.org/jira/browse/AVRO-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805118#action_12805118 ]
Doug Cutting commented on AVRO-373: ----------------------------------- +1 Thanks, Thiru! > EOF detection broken in JsonDecoder > ----------------------------------- > > Key: AVRO-373 > URL: https://issues.apache.org/jira/browse/AVRO-373 > Project: Avro > Issue Type: Bug > Components: java > Reporter: Doug Cutting > Assignee: Thiruvalluvan M. G. > Attachments: AVRO-373.patch > > > We'd like it when EOF is encountered between objects to throw EOFException, > while EOF encountered within an object to throw AvroTypeException. I think > this was working, but it's not working at present. The following command > fails: > echo '{"greeting":"Hello World!"}' | java -jar build/avro-tools-1.2.0-dev.jar > fromjson '{"type":"record","name":"hello","fields":[{"name": "greeting", > "type": "string"}]}' - -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.