-Added Path to JsonReader/JsonWriter/ErrorContext with the JSON path of the current position
-Changed collection type on JsonArrayContract to public -Changed dictionary key type and dictionary value type on JsonDictionaryContract to public -Fixed error handling when failing to parse array content -Fixed error handling when there are missing required properties
This commit is contained in:
@@ -37,7 +37,12 @@ namespace Newtonsoft.Json.Serialization
|
||||
/// </summary>
|
||||
public class JsonArrayContract : JsonContract
|
||||
{
|
||||
internal Type CollectionItemType { get; private set; }
|
||||
/// <summary>
|
||||
/// Gets the <see cref="Type"/> of the collection items.
|
||||
/// </summary>
|
||||
/// <value>The <see cref="Type"/> of the collection items.</value>
|
||||
public Type CollectionItemType { get; private set; }
|
||||
|
||||
internal JsonContract CollectionItemContract { get; set; }
|
||||
|
||||
private readonly bool _isCollectionItemTypeNullableType;
|
||||
|
||||
Reference in New Issue
Block a user