After much head scratching as to why my returned Json string is breaking JSON.parse, I have realized that it is the returned dates that it doesn't like.
.net property:-
[JsonProperty("start")]
[JsonConverter(typeof(JavaScriptDateTimeConverter))]
public DateTime Start
{
get { return _start; }
set { _start = value; }
}
Output Json String from web service:-
"{\"id\":9815,\"start\":new Date(1286535600000),\"end\":new Date(1286537400000),\"title\":\"Title of meeting\",\"owner\":\"D\",\"contactdetails\":\"David\",\"room\":{\"title\":\"Small Meeting Room\",\"id\":2}}"
Any help appreciated.