title: How to create HTML select option from JSON hash?
body: <p>I have a simple JSON code:</p>
  
  <pre><code>[{'1':'Name'}, {'2', 'Age'}, {'3','Gender'}]
  </code></pre>
  
  <p>I have a select tag in my HTML:</p>
  
  <pre><code>&lt;select name="datas" id="datas"&gt;&lt;/select&gt;
  </code></pre>
  
  <p>I need a simple way to create HTML select box from this JSON, like this:</p>
  
  <pre><code>&lt;select name="datas" id="datas"&gt;
      &lt;option value="1"&gt;Name&lt;/option&gt;
      &lt;option value="2"&gt;Age&lt;/option&gt;
      &lt;option value="3"&gt;Gender&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>