Patrick Farry created AVRO-2389:
-----------------------------------

             Summary: Serializers for plain old C# objects (POCOs)
                 Key: AVRO-2389
                 URL: https://issues.apache.org/jira/browse/AVRO-2389
             Project: Apache Avro
          Issue Type: New Feature
          Components: csharp
    Affects Versions: 1.8.2
            Reporter: Patrick Farry


Hi All,

I have written code that implements Avro serialization for POCO classes - i.e. 
classes that are not generated by Avro codegen and do not implement 
ISpecificRecord. The idea was to make it work as much like 
[JSON.net|http://json.net/] as possible.

The serializer inherits from SpecificDefaultWriter and the deserializer from 
SpecificDefaultReader.

Avro fields are mapped to C# properties either by matching the field name and 
property name or by using an attribute to specify the field sequence number. 

Is this something that would be of interest to the Avro project? My company has 
approved committing the code and I'd be available and happy to maintain this 
code and work on other parts of the C# implementation.

Regards.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to