title: JQuery Ajax; what are the advantages of sending data in json?
body: <p>I have a form which sent the entered values using ajax:</p>
  
  <pre><code>    var form_data = {
          board_id : $("#board-tabs").tabs('option', 'selected'),
          name : $('#board_name').val(),
          csrf_test_name : $("input[name=csrf_test_name]").val()
      };
  </code></pre>
  
  <p>In that case form_data will be sent. </p>
  
  <p>The server will return some JSON content. </p>
  
  <p>Server side i'm using PHP and I'm wondering if there is some advantage sending form_data as a JSON object (considering that it must be decoded).</p>