title: Send multiple JSON objects through AJAX/jQuery returns me an "undefined" array (PHP)
body: <h2>The goal</h2>
  
  <p>Send <code>[{"ID": 1, "Name": "XBOX"}, {"ID": 2, "Name": "Playstation 3"}]</code> via <code>$.ajax()</code> using jQuery.</p>
  
  <h2>The problem</h2>
  
  <p>I have this:</p>
  
  <pre><code>[...]
  
  var object = $.parseJSON(data);
  
  $.ajax({
      type: "POST",
      url: "laboratory.php",
      data: object,
      success: function(response) {
          console.log(response);
      }
  });
  </code></pre>
  
  <p>And, in <code>laboratory.php</code>:</p>
  
  <pre><code>&lt;?php print_r($_REQUEST); ?&gt;
  </code></pre>
  
  <p>And finally, the return <strong>via console</strong> is:</p>
  
  <pre><code>Array
  (
      [undefined] =&gt; 
  )
  </code></pre>
  
  <p>This is what the <code>data</code>'s variable means:</p>
  
  <pre><code>[{"ID": 1, "Name": "XBOX"}, {"ID": 2, "Name": "Playstation 3"}]
  </code></pre>
  
  <p>And this is what <code>object</code> means (by Chrome's console):</p>
  
  <pre><code>[Object, Object]
  </code></pre>
  
  <p>Can someone give me an idea?</p>