There is JSON based serialization, and XML based serialization, but as far as I can see they both have limitations when it comes to things like collections and generic types - or at least they did in .NET 5. It looks like the JSON serialization at least has been improved in .NET 6; but I've not had chance to investigate yet.
|