If the page loads fine, the return will not be null.
However sometimes the API simply doesn’t return anything.
An empty string would do fine for this purpose.
However I think indeed try catching the parse is the way to go.
If the page loads fine, the return will not be null.
However sometimes the API simply doesn’t return anything.
An empty string would do fine for this purpose.
However I think indeed try catching the parse is the way to go.