title: How would I parse this json?
body: <p>I've been having issues trying to parse this json data.<br>
  I tried to do this to return the name but its not working:</p>
  
  <pre><code> foreach(json_decode($test) as $item){  
   $name= $item-&gt;users-&gt;name;}
  </code></pre>
  
  <p>This is the json code:</p>
  
  <pre><code> {
    "users":[
   {
   "id":"dsfdfsd",
   "id_str":"dsfsdf",
   "name":"Davy",
   "screen_name":"Davy232",
   "location":"Colorado"
   },
  {
   "id":"wer",
   "id_str":"wer",
   "name":"Sarah",
   "screen_name":"Davy232",
   "location":"LA"
    },
   {
   "id":"fdf",
   "id_str":"fdf",
   "name":"James",
   "screen_name":"James374",
   "location":"Vegas"
    }
  ]
  }
  </code></pre>