Skip to main content

get_null

Function get_null 

Source
pub fn get_null(m: &HashMap<String, Value>, key: &str) -> Result<(), String>
Expand description

Verifies that a field inside the map is a JSON Null type.

Returns Err if the key is missing or not Null.