JsonPatchDocument Class
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.
Represents a JSON Patch document.
public class JsonPatchDocument
type JsonPatchDocument = class
Public Class JsonPatchDocument
- Inheritance
-
JsonPatchDocument
Constructors
JsonPatchDocument() |
Initializes a new instance of JsonPatchDocument that uses JsonObjectSerializer as the default serializer. |
JsonPatchDocument(ObjectSerializer) |
Initializes a new instance of JsonPatchDocument |
JsonPatchDocument(ReadOnlyMemory<Byte>) |
Initializes a new instance of JsonPatchDocument |
JsonPatchDocument(ReadOnlyMemory<Byte>, ObjectSerializer) |
Initializes a new instance of JsonPatchDocument using an existing UTF8-encoded JSON Patch document. |
Methods
AppendAdd<T>(String, T) |
Appends an "add" operation to this JsonPatchDocument. |
AppendAddRaw(String, String) |
Initializes a new instance of JsonPatchDocument using an existing UTF8-encoded JSON Patch document. |
AppendCopy(String, String) |
Appends a "copy" operation to this JsonPatchDocument. |
AppendMove(String, String) |
Appends a "move" operation to this JsonPatchDocument. |
AppendRemove(String) |
Appends a "remove" operation to this JsonPatchDocument. |
AppendReplace<T>(String, T) |
Appends a "replace" operation to this JsonPatchDocument. |
AppendReplaceRaw(String, String) |
Appends a "replace" operation to this JsonPatchDocument. |
AppendTest<T>(String, T) |
Appends a "test" operation to this JsonPatchDocument. |
AppendTestRaw(String, String) |
Appends a "test" operation to this JsonPatchDocument. |
ToBytes() |
Returns a UTF8-encoded representation of this JsonPatchDocument instance. |
ToString() |
Returns a formatted JSON string representation of this JsonPatchDocument. |
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor