AdrianStrugala / AvroConvert

Rapid Avro serializer for C# .NET
Other
97 stars 27 forks source link

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

Closed famattsson closed 2 months ago

famattsson commented 3 months ago

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

AdrianStrugala commented 3 months ago

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

AdrianStrugala commented 2 months ago

Hello @famattsson

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

Regards, Adrian