JsonPatchDocument.Replace(String, Object) 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.
Replace value. Will result in, for example, { "op": "replace", "path": "/a/b/c", "value": 42 }
public:
Microsoft::AspNetCore::JsonPatch::JsonPatchDocument ^ Replace(System::String ^ path, System::Object ^ value);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Replace (string path, object value);
member this.Replace : string * obj -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument
Public Function Replace (path As String, value As Object) As JsonPatchDocument
Parameters
- path
- String
target location
- value
- Object
value
Returns
The JsonPatchDocument for chaining.