Skip to main content

parse_i64

Function parse_i64 

Source
pub fn parse_i64(bytes: &[u8]) -> Option<i64>
Expand description

Parse a JSON number byte-slice as i64. Tries integer parse first, then falls back to parse_f64 (truncating fractional component).