-Added DateFormatHandling to control whether dates are written in the MS format or ISO format, with ISO as the default
-Added DateTimeZoneHandling to control reading and writing DateTime time zone details -Added reader/writer specific Formatting, DateFormatHandling and DateTimeZoneHandling to JsonSerializerSettings -Added feature of reader/writer specific settings to be set on JsonReader/JsonWriter when serializing -Added ReadAsDate to JsonReader -Added ReadAsString to JsonReader -Changed JsonTextReader to automatically read ISO strings as dates -Refactored ReadAsXXX methods and reduce code redundancy -Removed unused JsonDateTimeSerializationMode
This commit is contained in:
@@ -349,13 +349,13 @@ keyword such as type of business.""
|
||||
""Test3"": ""Test3Value"",
|
||||
""Test4"": null
|
||||
},
|
||||
""\/Date(971136000000)\/"",
|
||||
""2000-10-10T00:00:00Z"",
|
||||
55,
|
||||
[
|
||||
""1"",
|
||||
2,
|
||||
3.0,
|
||||
""\/Date(-62030076711000)\/""
|
||||
""0004-05-06T07:08:09Z""
|
||||
],
|
||||
new ConstructorName(
|
||||
""param1"",
|
||||
|
||||
Reference in New Issue
Block a user