Currently, I am dealing with a lengthy JSON snippet that resembles the following:
{
"section: [
[stuff]
]
}
To incorporate this into my JavaScript code, I currently use the following approach:
var obj = {
// {All the stuff from above}
}
My goal is to store it in a JSON file that can be locally imported into a JS script and function similarly to this:
var obj = "path/file.json";
and have it perform in the same manner.