title: Getting data from json through jquery
body: <p>I am trying to learn how to retrieve data from a json obj that I return from PHP but I can not figure out how to get the values. My data looks something like this:</p>
  
  <pre><code>[{"user_name":"herp"},{"email":"herp.derp@gmail.com"},{"yy":"yyyy"},{"mm":"mm"},{"dd":"dd"}]
  </code></pre>
  
  <p>My client-side script looks something like this:</p>
  
  <pre><code>        $.ajax({
          type : 'POST',
          url : 'serverside/get_installningar.php',
          dataType : 'json',
          success : function(data) {
  
          }
      });
  </code></pre>
  
  <p>I would like to type something like data.user_name to retrieve the user_name and so on. But is there a method for doing this? I have looked in the forum but can't find the right thing.</p>