Skip to content

Upgrade schedule for v1.9.0 #121

Description

@prozolic

Description

CsToml v1.9.0 is scheduled to include new features from .NET 11.

New built-in support type

  • System.Numerics.BFloat16
  • System.Numerics.Decimal32 / System.Numerics.Decimal64 / System.Numerics.Decimal128
  • System.Numerics.Complex<T>

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);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions