Class DefaultSerializationBinder
- Namespace
- Newtonsoft.Json.Serialization
- Assembly
- Newtonsoft.Json.dll
The default serialization binder used when resolving and loading classes from type names.
public class DefaultSerializationBinder : SerializationBinder
- Inheritance
-
DefaultSerializationBinder
- Inherited Members
Constructors
DefaultSerializationBinder()
public DefaultSerializationBinder()
Methods
BindToType(string, string)
When overridden in a derived class, controls the binding of a serialized object to a type.
public override Type BindToType(string assemblyName, string typeName)
Parameters
assemblyName
stringSpecifies the Assembly name of the serialized object.
typeName
stringSpecifies the Type name of the serialized object.
Returns
- Type
The type of the object the formatter creates a new instance of.