<PackageReference Include="System.Text.Json" Version="10.0.3" />

System.Text.Json.Serialization.JsonConverterAttribute

When placed on a property or type, specifies the converter type to use.
namespace System.Text.Json.Serialization { public class JsonConverterAttribute : JsonAttribute { public Type ConverterType { get; } public JsonConverterAttribute(Type converterType); protected JsonConverterAttribute(); public virtual JsonConverter CreateConverter(Type typeToConvert); } }