Skip to content

Release 11.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Apr 15:50
7ffbb84

New features

  • #604 Support for deserialization of interface types (Fixes #601)
    This allows to register a concrete class for a given interface. When deserializing a value of that interface type, the concrete class will be deserialized instead.
    var sut = new DeserializerBuilder()
        .WithNamingConvention(CamelCaseNamingConvention.Instance)
        .WithTypeMapping<ICar, Car>()
        .WithTypeMapping<IModelSpec, ModelSpec>()
        .Build();
    Check this test for a more complete example

Other fixes

  • #603 Fix nullable annotation of TagName implicit converter.
  • #602 Fix nullable annotations for AnchorName implicit converter.