A group of actions: None


The action adds a key-value pair to the JSON, if the key doesn`t exist, or update the value, if the key exists, and returns JSON containing the new value.

Action icon 

Settings 

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
JSONThe JSON to which the object will be addedRobin.JSON Yes
JSONPathJSONPath describes the path to the JSON element. It always starts with a „/“ character. The corresponding keys are listed below. Indexes are used to access array elements (counting starts from 0). For example, the path „/key/1“ indicates that we are trying to access the second element of the array, which is accessible by the key „key“.Robin.String Yes
ValueThe object to be added to the JSON as a value. Valid object types: collection, map, string, number, boolean. An error will occur if other types are used. Note: any value can be passed as a string.Robin.Object No
Results
Processed JSONJSON containing new value.Robin.JSON  
  • Нет меток