I currently have a .js in which I save a json array and equal it to a variable
applications = {"apps": [
{ "app":"app1", "buzon":"buzon1" },
...
]};
And below, in the same script I use the variable to work with the json data. The idea is to remove the array from the .js file to clarify the code, save it in another .json file and from the .js invoke its contents and match it to the variable. I hope you have explained to me.
Can someone tell me how to do this?
Thank you very much:)