Interface IContractResolver
- Namespace
- Newtonsoft.Json.Serialization
- Assembly
- Newtonsoft.Json.dll
Used by JsonSerializer to resolves a JsonContract for a given Type.
public interface IContractResolver
Methods
ResolveContract(Type)
Resolves the contract for a given type.
JsonContract ResolveContract(Type type)
Parameters
type
TypeThe type to resolve a contract for.
Returns
- JsonContract
The contract for a given type.