I am trying to add new JSON object to an array which is present in an external file. I am unable to figure out how to do that.
I use push method which is only updatin