title: How do I parse jsonb column value from controller to my view blade?
body: <p>I am developing a little web application that has a <code>user_id</code> column &amp;   <code>jsonb</code> column <code>information</code> in the database table, which contains user information. I want to show <code>Auth::user()</code> information on my blade file. </p>
  
  <p>the column <code>information</code> contains may more arrays, here is the <code>jsonb</code> column data. </p>
  
  <pre><code>{"work": {"info": "work", "company": "Augnitive", "working_to": "2019-01-02", "designation": "Software Engineer", "working_from": "2019-01-01", "responsibilities": "Hello"}, "contact": {"info": "contact", "email": "ki.tushar21@gmail.com", "mobile": "01681654863", "address": "House 156, Sultangonj, Rayer Bazar Dhaka 1209, West Agargaon, West Agargaon", "facebook": "fb.com", "linkedin": "linkedin.com", "citizenship": "Bangladesh"}, "personal": {"bday": "2019-01-01", "info": "personal", "blood": "A(+VE)", "gender": "Male"}, "education": {"info": "education", "edu_type": "SSC", "institute": "PGJHS", "graduation": "2010"}}
  </code></pre>
  
  <p>I have no idea how to display these data in view from controller</p>
  
  <pre><code>    public function index()
      {
          $profile = Auth::user()-&gt;profile;
  //        return $profile;
          return view('home')-&gt;with('profile',json_decode($profile,true));
      }
  </code></pre>