Description
CsToml v1.9.0 is scheduled to include new features from .NET 11.
New built-in support type
Union type support
How to use
It plans to add a new TomlUnionAttribute<T>.
Adding the above TomlUnionAttribute<T> will generate code for the Formatter class used for serialization/deserialization using CsToml.Generator.
[TomlUnion<int>]
public union SampleUnion(int, string);
Description
CsToml v1.9.0 is scheduled to include new features from .NET 11.
New built-in support type
System.Numerics.BFloat16System.Numerics.Decimal32/System.Numerics.Decimal64/System.Numerics.Decimal128System.Numerics.Complex<T>Union type support
union/IUnion/IUnionMember.Add union type support #123
How to use
It plans to add a new
TomlUnionAttribute<T>.Adding the above
TomlUnionAttribute<T>will generate code for theFormatterclass used for serialization/deserialization usingCsToml.Generator.