Skip to content

Commit

Permalink
Merge pull request #383 from AArnott/fix377_v2.2
Browse files Browse the repository at this point in the history
Use user-supplied JsonConverters when deserializing IProgress<T> report
  • Loading branch information
AArnott authored Nov 26, 2019
2 parents 32bb9dd + 7777462 commit d9e7aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StreamJsonRpc/JsonMessageFormatter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ private JsonRpcRequest ReadRequest(JToken json)
MessageFormatterProgressTracker.ProgressParamInformation progressInfo = null;
if (this.formatterProgressTracker.TryGetProgressObject(progressToken, out progressInfo))
{
object typedValue = value.ToObject(progressInfo.ValueType);
object typedValue = value.ToObject(progressInfo.ValueType, this.JsonSerializer);
progressInfo.InvokeReport(typedValue);
}
}
Expand Down

0 comments on commit d9e7aad

Please sign in to comment.