Ajax post JSON help

Ajax post JSON help

Hello,

I have a ajax post that is a datatype json.
So my success function looks like this:
  1. success: function(d)
  2. {
  3.       alert(d.name);
  4. }
But it is not sure name exists. How can i check this out?

Regards,

Niels