Skip to main content

string_answer

Function string_answer 

Source
pub fn string_answer(value: &Value, field: &str) -> Option<String>
Expand description

Read a hook’s answer as a string: either the string itself or the named field of a returned object ("B" or { label: "B" }).