<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />

Newtonsoft.Json.Serialization.ISerializationBinder

public interface ISerializationBinder
Allows users to control class loading and mandate what class to load.
namespace Newtonsoft.Json.Serialization { public interface ISerializationBinder { Type BindToType(string assemblyName, string typeName); void BindToName(Type serializedType, out string assemblyName, out string typeName); } }