[−][src]Function pact_matching::models::json_utils::json_to_num
pub fn json_to_num(value: Option<Value>) -> Option<usize>
Converts an optional JSON struct to a usize, returning None
if it is not a numeric type.
pub fn json_to_num(value: Option<Value>) -> Option<usize>
Converts an optional JSON struct to a usize, returning None
if it is not a numeric type.