在Blazor客户端中将JsonPatchDocument与PatchAsync一起使用

在我的Blazor客户项目中,我有以下代码:

    @using Microsoft.AspNetCore.JsonPatch

    ...

    var doc = new JsonPatchDocument<Movie>()
         .Replace(o => o.Title, "New Title");

    await Http.PatchAsync("api/patch/" + MovieId, doc);

这不会编译并出现以下错误:

错误CS1503参数2:无法从中转换   'Microsoft.AspNetCore.JsonPatch.JsonPatchDocument'   到'System.Net.Http.HttpContent'

After some research, I've installed Newtonsoft.Json but I'm unsure how to configure the project to use it, or if indeed this is the correct solution for getting JsonPatchDocument working in a Blazor Project?

If JsonPatchDocument is not supported by Blazor, how can I implement a HTTP Patch request?