JsonPatchDocument.Move(String, String) 方法

定义

删除指定位置的值并将其添加到目标位置。 将生成 ,例如: { “op”: “move”, “from”: “/a/b/c”, “path”: “/a/b/d” }

public:
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument ^ Move(System::String ^ from, System::String ^ path);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Move (string from, string path);
member this.Move : string * string -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument
Public Function Move (from As String, path As String) As JsonPatchDocument

参数

from
String

源位置

path
String

目标位置

返回

用于链接的 JsonPatchDocument

适用于