JsonPatchDocument.Copy(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copy the value at specified location to the target location. Will result in, for example: { "op": "copy", "from": "/a/b/c", "path": "/a/b/e" }
public:
Microsoft::AspNetCore::JsonPatch::JsonPatchDocument ^ Copy(System::String ^ from, System::String ^ path);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Copy (string from, string path);
member this.Copy : string * string -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument
Public Function Copy (from As String, path As String) As JsonPatchDocument
Parameters
- from
- String
source location
- path
- String
target location
Returns
The JsonPatchDocument for chaining.