I need to push an an object into an array in in a Json file. To make it simple lets say that my Json looks like this:
var JsonObj = {
"elements" : []
}
I tried Push() method but it didnt work. tried also to assign to JsonObj.elements[0]= ... it also fails. How can i make it work?