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