<PackageReference Include="Newtonsoft.Json" Version="14.0.1-beta2" />
Newtonsoft.Json.Serialization.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);
}
}