-Added ReadAsInt32 to JsonReader
-Improved performance by using an enum rather than a type check to test contract type
This commit is contained in:
@@ -42,6 +42,7 @@ namespace Newtonsoft.Json.Serialization
|
||||
public JsonStringContract(Type underlyingType)
|
||||
: base(underlyingType)
|
||||
{
|
||||
ContractType = JsonContractType.String;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user