Whenever working with unfamiliar JSON, I suggest formatting it nicely at http://jsonlint.com
In this case, the API call returns a JSON object with a results array that contains the user object.
data.results[0].user;
will give you the user object you are looking for, which you can use in code.
In order to see the contents of an object in an alert dialog, you'll first need to pass the object into JSON.stringify().
$.ajax({
url: 'http://api.randomuser.me/',
dataType: 'json',
success: function (data) {
console.log(dataObj);
alert(JSON.stringify(dataObj.results[0].user));
}
});