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

ISerializationBinder

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