You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@avro.apache.org by Tim Goodman <ti...@hooklogic.com> on 2013/05/28 16:41:20 UTC

Avro serialization in C# - how to include schema

I'm trying to use Avro serialization in C#.  My understanding is that normally with Avro the schema is written with the data.

But the constructor for GenericReader<T> requires both a writer schema and a reader schema.  Is there a way to extract the writer schema from the data?  (In my case I wrote it with GenericWriter<T> and the BinaryEncoder).

- Tim Goodman