 class="externalLink">IllegalStateException</a></code> - when the parser state is not
      <code>VALUE_NUMBER</code></dd>
</dl>
</li>
</ul>
<a id="getInt()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInt</h4>
<pre class="methodSignature">int&nbsp;getInt()</pre>
<div class="block">Returns a JSON number as an integer. The returned value is equal
 to <code>new BigDecimal(getString()).intValue()</code>. Note that
 this conversion can lose information about the overall magnitude
 and 