pub fn dedupe(items: Vec<Value>, key: &str, command: Option<&str>) -> Vec<Value>Expand description
Drops later elements whose scalar at key was already seen.
Elements lacking the key are always kept: dropping them would silently collapse rows that were never proven duplicate.