pub fn flatten_all_fields(obj: &mut Map<String, Value>)Expand description
Iteratively flattens all nested "fields" objects in this map (and any
sub-objects), so that any key-value pairs inside "fields" get merged
into the map that contains them. Avoids infinite recursion using
BFS plus a pointer-based visited set.