title: How to search in a json field that contains an array of objects with Eloquent
body: <p>I'm trying to seach in JSON field with Eloquent, but now work, seach with 0 results.</p>
  
  <p>This is for Ubuntu server, running PostgresSQL, Laravel 5.8 and Apache 2.</p>
  
  <pre><code>[{
      "value": "1",
      "label": "numero"
  },{
      "value": "2016",
      "label": "anio"
  },{
      "value": "Acer",
      "label": "especie"
  },{
      "value": "2",
      "label": "cant_plantar"
  }]
  </code></pre>
  
  <pre><code>PlanificacionInfo::select('datos_complementarios')-&gt;WhereJsonContains('datos_complementarios', ["value" =&gt; "Escamonda 2019"]);
  </code></pre>
  
  <p>The query returns empty</p>