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