Json integer value automatically converts to string value
<p>When I send JSON request with integer value, it gets converted to string on the Java side automatically where the accepting field is of String type.
I am using Jersey Jackson API for JSON handling.
e.g.,</p>

<p><strong>JSON request</strong>:</p>

<pre><code>{
   "executable":1
}
</code></pre>

<p>Here I am sending integer value to string type executable variable.
But it is accepting the integer value and converting it to string.</p>

<p>What my requirement is strict validation for data types.</p>