Represents a JSON Patch document.
System.Object
JsonPatchDocument
public class JsonPatchDocument
public JsonPatchDocument ();
public JsonPatchDocument (Azure.Core.Serialization.ObjectSerializer serializer);
public JsonPatchDocument (ReadOnlyMemory<byte> rawDocument);
System.ReadOnlyMemory<System.Byte> rawDocument The binary representation of JSON Patch document. |
Initializes a new instance of JsonPatchDocument using an existing UTF8-encoded JSON Patch document.
public JsonPatchDocument (ReadOnlyMemory<byte> rawDocument, Azure.Core.Serialization.ObjectSerializer serializer);
System.ReadOnlyMemory<System.Byte> rawDocument The binary representation of JSON Patch document. |
ObjectSerializer serializer The ObjectSerializer instance to use for value serialization. |
public void AppendAdd<T> (string path, T value);
System.String path The path to apply the addition to. |
value The value to add to the path. |
Initializes a new instance of JsonPatchDocument using an existing UTF8-encoded JSON Patch document.
public void AppendAddRaw (string path, string rawJsonValue);
System.String path The path to apply the addition to. |
System.String rawJsonValue The raw JSON value to add to the path. |
public void AppendCopy (string from, string path);
System.String from The path to copy from. |
System.String path The path to copy to. |
public void AppendMove (string from, string path);
System.String from The path to move from. |
System.String path The path to move to. |
public void AppendRemove (string path);
System.String path The path to remove. |
public void AppendReplace<T> (string path, T value);
System.String path The path to replace. |
value The value to replace with. |
public void AppendReplaceRaw (string path, string rawJsonValue);
System.String path The path to replace. |
System.String rawJsonValue The raw JSON value to replace with. |
public void AppendTest<T> (string path, T value);
System.String path The path to test. |
value The value to replace with. |
public void AppendTestRaw (string path, string rawJsonValue);
System.String path The path to test. |
System.String rawJsonValue The raw JSON value to test against. |
public ReadOnlyMemory<byte> ToBytes ();
System.ReadOnlyMemory<System.Byte> The UTF8-encoded JSON. |
public override string ToString ();
ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnplonJ%2Bpu6bAjnqxrqqVY5CwvsRoaGdrZmN9cK3PomZ6sqWnsnCN2a6pnmZ6qLyvnMCtmqF8n5jCrrHNrWWhrJ2h