AvroConvert icon indicating copy to clipboard operation
AvroConvert copied to clipboard

Deserializing from avro to json using Avro2Json only returns first row in list.

Open famattsson opened this issue 1 year ago • 1 comments

An avro bytearray contains data in a list format. I have confirmed this by saving the bytearray to a file and using other tools to convert to json, in which case I get a list of values.

How to reproduce? Have an avro file with several rows of objects and call Avro2Json with that bytearray, then observe the results.

What is the Avro data? Fill up the section or provide a sample file avrofile.txt

What is the expected behavior? To get a json string like this avrojson.json

famattsson avatar Mar 21 '24 16:03 famattsson

Hey, Thank you for reporting the bug. I will work on a fix. Best, Adrian

AdrianStrugala avatar Apr 05 '24 20:04 AdrianStrugala

Hello @famattsson

Thank you for your contribution. The fix is available from v.3.4.7 of AvroConvert.

Regards, Adrian

AdrianStrugala avatar Apr 26 '24 14:04 AdrianStrugala