-Added JsonConstructorAttribute to explicitly define which constructor to use during deserialization
-Added IFormattable to JValue -Changed JValue ToString to call ToString on the internal value -Fixed code emit error when deserializing interfaces in certain situations
This commit is contained in:
@@ -45,6 +45,14 @@ namespace Newtonsoft.Json.Serialization
|
||||
/// <value>The object's properties.</value>
|
||||
public JsonPropertyCollection Properties { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the override constructor used to create the object.
|
||||
/// This is set when a constructor is marked up using the
|
||||
/// JsonConstructor attribute.
|
||||
/// </summary>
|
||||
/// <value>The override constructor.</value>
|
||||
public ConstructorInfo OverrideConstructor { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the parametrized constructor used to create the object.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user