DateParseHandling Enumeration

Json.NET

Json.NET - Quick Starts & API Documentation DateParseHandling Enumeration
NamespacesNewtonsoft.JsonDateParseHandling
Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
Declaration Syntax
C# Visual Basic Visual C++
public enum DateParseHandling
Public Enumeration DateParseHandling
public enum class DateParseHandling
Members
Member Description
None Date formatted strings are not parsed to a date type and are read as strings.
DateTime Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to DateTime.
DateTimeOffset Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to DateTimeOffset.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.6.14930)