0

I am trying to add new array key in JSON object but it is not adding a new element.

Below this usedReference is not present in the JSON object. I want to create this array Element usedReference without updating the JSON object.

{
    "op": "add",
    "path": "/usedReference/-",
    "value": {
        "reference": "Aravind"
    }
}
spaceKelan
  • 67
  • 7

0 Answers0