Converting JSON to Usable object in Javascript
<p>I have some JSON with two parameters expressed as </p>

<pre><code>{"pushid":"35336165333161382d646338302d346665302d626236312d303763313435663036656131","count":1}
</code></pre>

<p>I'm trying to get access to the "pushid" and the "count" as usable elements, either in an object, an array or a map, and am a little confused as to how to do that. </p>

<p>When I call JSON.parse(json) it returns undefined, and so I assume that it's already an object. However, when I try to use json[1] it returns the second character of the whole thing (which in this case is "). How do I make an object </p>

<pre><code>var obj = {pushId: SOME_STRING, count: SOME_INT)?
</code></pre>

<p>Thanks in advance,</p>