The add operation inserts a new value into a JSON document at the specified path. If the path points to an existing array element, the new value is inserted before that element. If the path ends with a hyphen (-), the value is appended to the array.
Add a new property to an object
Append an item to an array
Insert at a specific array position
Use our free online JSON Patch generator to create add patches instantly
🚀 Open JSON Patch Generator