Something like ADL from C++?
Kagamin
spam at here.lot
Wed Dec 4 12:23:15 UTC 2024
On Wednesday, 4 December 2024 at 02:39:12 UTC, Timon Gehr wrote:
> Sure, but the question was, how do you do actually do the
> serialization via introspection.
C# does custom serialization by inheritance of
[ISerializable](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.serialization.iserializable) interface. There's also aspect-oriented approach, but it's deprecated in favor of DTO pattern.
More information about the Digitalmars-d
mailing list