title: How to convert JSON into associative/indexed array
body: <p>Given this JSON</p>
  
  <pre><code>{
    "users": [
      {
        "name" : "Elliot",
        "type" : "Reader",
        "age" : 23,
        "social" : {
          "facebook" : "https://facebook.com",
          "twitter" : "https://twitter.com"
        }
      },
      {
        "name" : "Fraser",
        "type" : "Author",
        "age" : 17,
        "social" : {
          "facebook" : "https://facebook.com",
          "twitter" : "https://twitter.com"
        }
      }
    ]
  }
  </code></pre>
  
  <p>I need a function/library to return a <strong>map</strong> in order to do <code>myMap[0].name</code>  to get the value "Elliot".
  Is there anyone who can help me? Thanks.</p>