diff options
author | JamesNK <james@newtonking.com> | 2009-03-14 03:38:28 +0300 |
---|---|---|
committer | JamesNK <james@newtonking.com> | 2009-03-14 03:38:28 +0300 |
commit | 9fd47e6334acb834f4bd024ae3dcb143af4a0d9b (patch) | |
tree | 137a6939ab7883dc40b61cbcfece8693141011e3 /Src/Newtonsoft.Json.Tests/TestObjects/GenericListAndDictionaryInterfaceProperties.cs | |
parent | e5eaa1499072c1220e6ef1769a391717e2547c00 (diff) |
-Added support to deserializing to IEnumerable<T>, IList<T>, IDictionary<K, V>
-Added populating members when creating object from non default constructor
-Added case best match when deserializing properties
-Added ToString(Formatting, JsonConverters[]) overload to JToken
-Added SerializeObject(object, Formatting, JsonConverter[]) overload to JsonConvert
-Added IMappingResolver. Property added to JsonSerializer, JsonSerializerSettings, JsonSchemaGenerator
-Added CamelCaseMappingResolver
Diffstat (limited to 'Src/Newtonsoft.Json.Tests/TestObjects/GenericListAndDictionaryInterfaceProperties.cs')
-rw-r--r-- | Src/Newtonsoft.Json.Tests/TestObjects/GenericListAndDictionaryInterfaceProperties.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Src/Newtonsoft.Json.Tests/TestObjects/GenericListAndDictionaryInterfaceProperties.cs b/Src/Newtonsoft.Json.Tests/TestObjects/GenericListAndDictionaryInterfaceProperties.cs new file mode 100644 index 0000000..5514778 --- /dev/null +++ b/Src/Newtonsoft.Json.Tests/TestObjects/GenericListAndDictionaryInterfaceProperties.cs @@ -0,0 +1,14 @@ +using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Newtonsoft.Json.Tests.TestObjects
+{
+ public class GenericListAndDictionaryInterfaceProperties
+ {
+ public IEnumerable<int> IEnumerableProperty { get; set; }
+ public IList<int> IListProperty { get; set; }
+ public IDictionary<string, int> IDictionaryProperty { get; set; }
+ }
+}
\ No newline at end of file |