DataContractJsonSerializer – Deserializing DateTime within List

In the .NET Framework version 4.5 the DataContractJsonSerializer has a constructor that accepts a DataContractJsonSerializerSettings object that can be used to set the DateTimeFormat: var ser = new DataContractJsonSerializer(typeof(CreateOmsEntryCommand), new DataContractJsonSerializerSettings { DateTimeFormat = new DateTimeFormat(“yyyy-MM-dd’T’HH:mm:ssZ”) });