Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace PatchInsertInstruction

An operation that inserts a value into an array, shifting array items as necessary and handling NOT_FOUND exceptions by creating the implied containing structure.

Properties

Const operation

operation: string = "INSERT"

selection

selection: string

The set of values to which the operation applies as a JMESPath expression for evaluation against the context resource. An operation fails if the selection yields an exception, except as otherwise specified. Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.

value

value: any

A value to be inserted into the target.

Methods

getDeserializedJsonObj

getJsonObj