Skip to content

Commit

Permalink
Fixing .NET deserialization of dates from JSON wire protocol
Browse files Browse the repository at this point in the history
Fixes issue #1120.
  • Loading branch information
jimevans committed Oct 8, 2015
1 parent fabe89a commit bf5ea32
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public override void WriteJson(JsonWriter writer, object value, JsonSerializer s

private object ProcessToken(JsonReader reader)
{
// Recursively processes a token. This is required for elements that next other elements.
// Recursively processes a token. This is required for elements that next other elements.
object processedObject = null;
if (reader != null)
{
Expand Down Expand Up @@ -94,6 +94,7 @@ private object ProcessToken(JsonReader reader)
}
else
{
reader.DateParseHandling = DateParseHandling.None;
processedObject = reader.Value;
}
}
Expand Down

0 comments on commit bf5ea32

Please sign in to comment.