utils_is_json_object

Function utils_is_json_object 

Source
pub fn utils_is_json_object(str: &str) -> Result<(), Error>
Available on crate feature v1_6 only.
Expand description

§str

the JSON string to test

§Returns

whether the passed string is valid JSON. If libnm is not compiled with libjansson support, this check will also return true for possibly invalid inputs. If that is a problem for you, you must validate the JSON yourself.