pub fn parse_options(val: &Value) -> Vec<QuestionOption>Expand description
Parses options from either an array of objects [{"label": "...", "description": "..."}]
or an array of strings ["Option A", "Option B"].
pub fn parse_options(val: &Value) -> Vec<QuestionOption>Parses options from either an array of objects [{"label": "...", "description": "..."}]
or an array of strings ["Option A", "Option B"].