JsonPatchOperation interface
The JSON model for a JSON Patch operation
Properties
from | The path to copy from for the Move/Copy operation. |
op | The patch operation |
path | The path for the operation. In the case of an array, a zero based index can be used to specify the position in the array (e.g. /biscuits/0/name). The "-" character can be used instead of an index to insert at the end of the array (e.g. /biscuits/-). |
value | The value for the operation. This is either a primitive or a JToken. |
Property Details
from
The path to copy from for the Move/Copy operation.
from: string
Property Value
string
op
path
The path for the operation. In the case of an array, a zero based index can be used to specify the position in the array (e.g. /biscuits/0/name). The "-" character can be used instead of an index to insert at the end of the array (e.g. /biscuits/-).
path: string
Property Value
string
value
The value for the operation. This is either a primitive or a JToken.
value: any
Property Value
any
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour