pub fn json_integer(v: &Value) -> Result<i128, WriteRefusal>Expand description
A JSON integer, an int’s, a counter’s or a time’s (core §7.6):
integer text from −2^63 to 2^64 − 1, read exactly, so a 64-bit counter
takes 2^64 − 1. Any other number is a binary64: value, a number of
the wrong type, below 2^63 in magnitude, and range from 2^63 on,
since a JSON reader without big integers holds integer text past 64
bits so.