Relative Content

Tag Archive for c#serializationattributesdeserialization

Generic serializer for custom data using attributes in C#

I want to create a generic serializer that is able to serialize and deserialize data provided in a specific enforced format. Lets say I have implemented two data structures with atributes (for JSON and MessagePack) and a simple serializer implementation: