converting double array to json
<p>I have an Array that looks like this</p>

<pre><code>[["BR",1],["USA",2],["CH",3]]
</code></pre>

<p>and I want to convert it to something like this</p>

<pre><code>{"br":1,"usa":2,"ch":3};
</code></pre>

<p>Any clues?</p>

<p>Thanks guys</p>
