View Single Post
Old January 12, 2022, 16:08   #4
AnonymousHero
Veteran
 
AnonymousHero's Avatar
 
Join Date: Jun 2007
Posts: 1,388
AnonymousHero is on a distinguished road
Quote:
Originally Posted by Dean Anderson View Post
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.
I see. I'd bet that JSON serialization + e.g. zstd compression should do the trick nicely. (Circular references in data structures can be tricky tho, but I'm guessing there's some way to handle that.)
AnonymousHero is offline   Reply With Quote