<PackageReference Include="System.Text.Json" Version="8.0.0-preview.2.23128.3" />

RequiresDynamicCodeAttribute

Indicates that the specified method requires the ability to generate new code at runtime, for example through Reflection.
namespace System.Diagnostics.CodeAnalysis { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Method, Inherited = false)] internal sealed class RequiresDynamicCodeAttribute : Attribute { public RequiresDynamicCodeAttribute(string message) { <Message>k__BackingField = message; } } }