Array value of a JSON object can be modified. It can be simply done by modifying the value present at a given index.
Example: Modifying the value present at an index in array
I am bad
Note: If value is modified at an index which is out of the array size, then the new modification will not replace anything in the original information but rather will be an add-on.
Example: Modifying the value of index which is out of the array size.
I am Good bad