SerializerLib Library to easily serialize and deserialize You can use the Nuget Package SerializerLib https://www.nuget.org/packages/SerializerLib/