pub fn fields_from_structure(structure: &Value) -> Vec<Value>
Extract a flat fields array from an explicit form_structure value. Supports { "groups": [ { "fields": [...] } ] } and { "fields": [...] }.
fields
form_structure
{ "groups": [ { "fields": [...] } ] }
{ "fields": [...] }