Skip to content

Instantly share code, notes, and snippets.

@gregoryyoung
Created February 26, 2014 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gregoryyoung/9229767 to your computer and use it in GitHub Desktop.
Save gregoryyoung/9229767 to your computer and use it in GitHub Desktop.
JsonConvert.DefaultSettings = () => new JsonSerializerSettings
{
DateParseHandling = DateParseHandling.None
};
var foo = JsonConvert.DeserializeObject(@"[
{
""eventId"": ""fbf4a1a1-b4a3-4dfe-a01f-ec52c34e16e4"",
""eventType"": ""event-type"",
""data"": {
""BirthDate"": ""1987-11-07T00:00:00.000+01:00""
}
}
]");
Console.Write(foo);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment