title: Encode Json and get a value from it in laravel
body: <p>json:</p>
  
  <pre><code>[
     {"student":"a","relation":"son","id":"74"},
     {"student":"b","relation":"son","id":"75"}
  ]
  </code></pre>
  
  <p>I want to get the value of each id in this json.(ie 74 and 75)
  This json is from a column called relation from user table.</p>
  
  <p>I am working with laravel.</p>