I have I file named dump.json
of the form:
[{"key": "XYZ", "values": [[1424642400000, 28], [1424728800000, 80], [1424815200000, 92]]}]
and, what I would like to do is loading it somehow in JavaScript under the variable name histcatexplong
:
var histcatexplong = [{"key": "XYZ", "values": [[1424642400000, 28], [1424728800000, 80], [1424815200000, 92]]}];
How can I do that?