title: ExtJS 4 How to get Form value as Integer
body: <p>I'm using  Ext.JSON.encode(this.getUserForm().getForm().getValues()) to encode my form values in Json fomat.</p>
  
  <p>Here is the probleme : All values are encoded as string, even integer values.</p>
  
  <pre><code>{
    "userId":"15",
    "username":"Albert",
    "firstName":"Albert",
    "lastName":"Einstein"
  }
  </code></pre>
  
  <p>the user id a <strong>HiddenFiled</strong></p>
  
  <p>How to make my user ID field encoded as Integer.</p>
  
  <p>Thanks</p>