title: Classic ASP - Parse JSON XMLHTTP Return
body: <p>I am having trouble finding a good way to parse the return I'm getting from XMLHTTP. The return is JSON.</p>
  
  <p>ASP Code used to GET JSON:</p>
  
  <pre><code>&lt;%@ Language=VBScript %&gt;
  &lt;%
  Set xmlhttp = CreateObject("Msxml2.ServerXMLHTTP.6.0")
  xmlhttp.open "GET", "http://someip:8080/Publisher/Titles/Paging/0,0,tc?output=json", 0
  xmlhttp.send ""
  Response.AddHeader "Content-Type", "application/json;charset=UTF-8"
  Response.Charset = "UTF-8"
  pageReturn = xmlhttp.responseText
  
  Set xmlhttp = Nothing 
  response.write pageReturn
  %&gt;
  </code></pre>
  
  <p>Returned JSON</p>
  
  <pre><code>{
   "Titles": {
    "resultCount": 37886,
    "moreResources": true
   }
  }
  </code></pre>
  
  <p>I need to display just the value of "resultCount" to the screen.  Any help would be greatly appreciated.</p>