confluentinc / avro

Mirror of Apache Avro
Apache License 2.0
12 stars 20 forks source link

How to access a nested record from generic record? #18

Open codyrehm opened 4 years ago

codyrehm commented 4 years ago

How can I get access to the actual field values when we have a generic record with a nested record as one of the fields?

{ fields: [ "someNestedRecord" : { "someName": "someValue } ] }

Even the ToString() on generic record does not seem to be able to handle this?