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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈