pub fn json_value_equals(text: &str, key: &str, expected: &str) -> boolExpand description
Compares one JSON field with exact text.
§Parameters
text: Input consumed bycrate::runtime::json_commands::json_value_equals.key: Input consumed bycrate::runtime::json_commands::json_value_equals.expected: Input consumed bycrate::runtime::json_commands::json_value_equals.
§Returns
Returns true when the condition checked by crate::runtime::json_commands::json_value_equals holds and false otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::json_value_equals("{}", "key", "value");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.