Dela via


JsonPatchDocument.Move(String, String) Method

Definition

Removes value at specified location and add it to the target location. Will result in, for example: { "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

Parameters

from
String

source location

path
String

target location

Returns

The JsonPatchDocument for chaining.

Applies to