-Fixed deserializer attempting to populate JSON onto an object that was created with a non-default constructor

-Added GetResolvedPropertyName to DefaultContractResolver
This commit is contained in:
James Newton-King
2012-05-27 21:29:02 +12:00
parent 2fbf5f7808
commit aef0759038
9 changed files with 132 additions and 26 deletions
+6
View File
@@ -350,6 +350,12 @@ namespace Newtonsoft.Json
}
}
/// <summary>
/// Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
/// </summary>
/// <value>
/// <c>true</c> if there will be a check for additional JSON content after deserializing an object; otherwise, <c>false</c>.
/// </value>
public virtual bool CheckAdditionalContent
{
get { return _checkAdditionalContent ?? JsonSerializerSettings.DefaultCheckAdditionalContent; }