title: How to get primitive json request payload in Laravel 5?
body: <p>Let say that this is the payload of a request:</p>
  
  <pre><code>{name : 'John', age: 42}
  </code></pre>
  
  <p>You can get all paramters with <code>Request::all()</code>.</p>
  
  <p>How do I get request payload correctyly if payload is a primitive type like <code>true</code> or <code>42</code>?</p>
  
  <p><code>Request::getContent()</code> receives them as strings, I want them to be in correct type as well.</p>