Skip to main content

get_value

Function get_value 

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

Extracts a raw JSON Value parameter value from the arguments map.

Returns Err if the key is missing.