If doing console.log(data) from inside a function that get passed the result of an AJAX request outputs

in the google chrome developer tools, I am wondering how I can get to the value of result?
I think the entire response is being interpreted as a string? normally I would just use the dataType parameter, but I do not have control over this AJAX request.
2 Answers
data.response property contains an object that is serialized to JSON, so you have to unserialize it in this way:
var response = JSON.parse(data.response),
result = response.result;
1 Comment
Hailwood
Thank you, I had tried
JSON.parse(data) but of course, that didn't work! your's does, so shall accept asap.
FileUploadedaka ` uploader.bind('FileUploaded', function (up, file, data) {...}`