Please share your code, otherwise we are not going to be able to check it.
This is because $.getJSON is asynchronous. The for loop will complete before the data all comes back.
For example, do this:
console.log(isStreaming); console.log(i); //console.log(isStreaming[i]);
You will see that
i is always 8.
For more information on this specific issue, see this:
Here is a great free tutorial: