| DateParseHandling Enumeration |
Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
Namespace:
Newtonsoft.Json
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax public enum DateParseHandling
Members
| Member name | Value | Description |
---|
| None | 0 |
Date formatted strings are not parsed to a date type and are read as strings.
|
| DateTime | 1 |
Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to DateTime.
|
| DateTimeOffset | 2 |
Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to DateTimeOffset.
|
See Also