title: How to Decode Json object in laravel and apply foreach loop on that in laravel
body: <p>i am getting this request.
    </p>
  
  <pre><code> { "area": [
          {
              "area": "kothrud"
          },
          {
              "area": "katraj"
          }
      ]
  }
  </code></pre>
  
  <p>and i want to provide response to this by searching records in database based on above request. how will i decode above  json array and use each area field separately.</p>