JsonPatchDocument.Test(String, Object) Method

Definition

Test value. Will result in, for example, { "op": "test", "path": "/a/b/c", "value": 42 }

public:
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument ^ Test(System::String ^ path, System::Object ^ value);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Test (string path, object value);
member this.Test : string * obj -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument
Public Function Test (path As String, value As Object) As JsonPatchDocument

Parameters

path
String

target location

value
Object

value

Returns

The JsonPatchDocument for chaining.

Applies to