pub fn jsonb_to_number<T: TryFrom<F64>>(v: JsonbRef<'_>) -> Result<Option<T>>Expand description
Note that PostgreSQL casts JSON numbers from arbitrary precision numeric but we use f64.
This is less powerful but still meets RFC 8259 interoperability.