var json = $.getJSON("sun.json", function(json1) {
    $.each(json1, function(key, data) {
        //Json Code
    });
});
json.done(function() {
    $.getJSON("sun2.json", function(json1) {
        $.each(json1, function(key, data) {
            //More json Code
        });
    });
});
Would it be possible to do this? I want to generate some stuff with the first json file, then when it is done, do more stuff with the second json file. I don't see why it wouldn't work, but I figured I'd get some clarification here just in case.
 
     
    