In the end, I wrote my own function to extract JSON data as silly little ones recommended in the original post. Thanks to all who responded. The JavaScript library dependency guide was very valuable, although I took this other route.
I used this answer as a guide to writing my own function to extract JSON. I needed to synchronize the data, so I adjusted the function with the tips mentioned in this other article .
In the end, my function looked like this. Hope this helps someone else who comes.
var fetchJSON = function(path, callback) { var httpRequest = new XMLHttpRequest(); httpRequest.open('GET', path, false); httpRequest.send(); if (httpRequest.readyState === 4) { if (httpRequest.status === 200) { var data = JSON.parse(httpRequest.responseText); if (callback) callback(data); } } }
Fall plates
source share