pub fn integer(path: &str, value: Value) -> Result<i64, Error>
Fails with WrongType when the value is not an integer.
WrongType