title: JSON.stringify() <input> values as numbers?
body: <p>I am using <code>JSON.stringify()</code> on html <code>&lt;input&gt;</code>s to send through a websocket like so:</p>
  
  <pre><code>JSON.stringify({
      numberValue: $('#numberValue').val()
  })
  </code></pre>
  
  <p>but it encodes <code>$('#numberValue').val()</code> as a <code>String</code>.</p>
  
  <p>How can it be encoded as a <code>Number</code>?</p>