[System.Text.Json] Stack Overflow when appending modifiers to TypeInfoResolverChain · Issue #112735 · dotnet/runtime

The code using System.Text.Json; using System.Text.Json.Serialization.Metadata; JsonSerializerOptions options = new(JsonSerializerOptions.Default); options.TypeInfoResolverChain.Add(new DefaultJson...