pub fn safe_integer(value: &Value) -> Option<i64>Expand description
What: The safe-integer reading of one JSON value. Why: Shared by object fields and array items.
In TS you’d write (pseudocode):
function safeInteger(value: unknown): number | undefined;