>
<h4>getLong</h4>
<pre class="methodSignature">long&nbsp;getLong()</pre>
<div class="block">Returns a JSON number as a long. The returned value is equal
 to <code>new BigDecimal(getString()).longValue()</code>. Note that this
 conversion can lose information about the overall magnitude and
 precision of the number value as well as return a result with
 the opposite sign. This method is only called when the parser state is
 <a href="JsonParser.Event.html#VALUE_NUMBER"><code>JsonParser.Event.VALUE_NUMBER</co