title: Get data from jobs table / json, Laravel
body: <p>I want to extract some specific data from this JSON, like the ID of the FacetofaceSession session (114) from <code>data-&gt;command</code>, there is a simple way of doing that?</p>
  <pre><code>{
    &quot;uuid&quot;: &quot;0c1c038e-72c5-4cec-98d1-620ff4b0df20&quot;,
    &quot;displayName&quot;: &quot;App\\Listeners\\SendConfirmationNotification&quot;,
    &quot;job&quot;: &quot;Illuminate\\Queue\\CallQueuedHandler@call&quot;,
    &quot;maxTries&quot;: null,
    &quot;maxExceptions&quot;: null,
    &quot;delay&quot;: null,
    &quot;timeout&quot;: null,
    &quot;timeoutAt&quot;: null,
    &quot;data&quot;: {
      &quot;commandName&quot;: &quot;Illuminate\\Events\\CallQueuedListener&quot;,
      &quot;command&quot;: &quot;O:36:\&quot;Illuminate\\Events\\CallQueuedListener\&quot;:8:{s:5:\&quot;class\&quot;;s:42:\&quot;App\\Listeners\\SendConfirmationNotification\&quot;;s:6:\&quot;method\&quot;;s:6:\&quot;handle\&quot;;s:4:\&quot;data\&quot;;a:1:{i:0;O:21:\&quot;App\\Events\\UserBooked\&quot;:3:{s:7:\&quot;session\&quot;;O:45:\&quot;Illuminate\\Contracts\\Database\\ModelIdentifier\&quot;:4:{s:5:\&quot;class\&quot;;s:28:\&quot;App\\Models\\FacetofaceSession\&quot;;s:2:\&quot;id\&quot;;i:114;s:9:\&quot;relations\&quot;;a:1:{i:0;s:10:\&quot;facetoface\&quot;;}s:10:\&quot;connection\&quot;;s:5:\&quot;mysql\&quot;;}s:4:\&quot;user\&quot;;O:45:\&quot;Illuminate\\Contracts\\Database\\ModelIdentifier\&quot;:4:{s:5:\&quot;class\&quot;;s:8:\&quot;App\\User\&quot;;s:2:\&quot;id\&quot;;i:1;s:9:\&quot;relations\&quot;;a:3:{i:0;s:26:\&quot;facetofaceActivitySessions\&quot;;i:1;s:25:\&quot;pendingFacetofaceSessions\&quot;;i:2;s:25:\&quot;waitingFacetofaceSessions\&quot;;}s:10:\&quot;connection\&quot;;s:5:\&quot;mysql\&quot;;}s:6:\&quot;socket\&quot;;N;}}s:5:\&quot;tries\&quot;;N;s:10:\&quot;retryAfter\&quot;;N;s:9:\&quot;timeoutAt\&quot;;N;s:7:\&quot;timeout\&quot;;N;s:3:\&quot;job\&quot;;N;}&quot;
    }
  }
  </code></pre>
  <p>After I use <code>unserialize($job_details[&quot;data&quot;][&quot;command&quot;])</code> , I get this.;</p>
  <p><a href="https://i.stack.imgur.com/F5UmH.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F5UmH.jpg" alt="enter image description here" /></a></p>