JsonISerializableContract
Contract details for a Type used by the JsonSerializer.
using System;
using System.Runtime.CompilerServices;
namespace Newtonsoft.Json.Serialization
{
public class JsonISerializableContract : JsonContainerContract
{
[System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})]
[field: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})]
public ObjectConstructor<object> ISerializableCreator {
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})]
get;
[param: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})]
set;
}
[System.Runtime.CompilerServices.NullableContext(1)]
public JsonISerializableContract(Type underlyingType)
: base(underlyingType)
{
ContractType = JsonContractType.Serializable;
}
}
}