title: Is there a way to send a form data that has integers and strings?
body: <p>Often when sending a forms using ajax and jQuery, the method <code>$(this).serialize()</code> or <code>$(this).serializeArray()</code> is used to transform the form into a JSON object. The problem is that all the values in the JSON are of type string.I have a form with inputs that have numbers: </p>
  
  <pre><code>&lt;label for="name"&gt;name:&lt;/label&gt;
  &lt;input class="w-input input" id="name" name="name" placeholder="Enter your name" type="text" required&gt;
  
  &lt;label for="age"&gt;Age&lt;/label&gt;
  &lt;input class=input" id="age" name="age" placeholder="Enter your age" type="number" required&gt;
  </code></pre>
  
  <p>is there a way to still transform the form into a JSON but keep the types as it is required in the form, meaning still having my input that suppose to be numbers be numbers in the JSON.  </p>