Hi Jon
Not sure I'm adding any value here but...
There are a few places that you can check you JSON syntax, e.g.
http://jsonlint.com/ or
http://jsonformatter.curiousconcept.com/.
Also if you are not sure whether there is a problem in your JSON you could add an error detection function to your timemap, I had mentioned this in a recent post on the subject "Reading JSON local URL in OpenLayers format":
"Because of this error the JQuery AJAX call calls the error function
instead of the success function. You might want to add a custom error
function so as to spot this kind of problem in the future. I defined an
error function as follows:
var errFn = function(jqXHR, textStatus, errorThrown){
alert(textStatus);
}
And then changed the dataset options to be:
options: {
url: ...,
error: errFn
}"
This will flag up any parse errors in your JSON (or XML?).
Note that this will not work if you are using JSONP or cross domain. The documentation for JQuery Ajax (
http://api.jquery.com/jQuery.ajax/ error) mentions "
Note: This handler is not called for cross-domain script and JSONP requests."
For JSONP requests you can add an error handler but you have to use something like
https://github.com/jaubourg/jquery-jsonp.
Hope that helps.
Alan