Skip to main content

print_diff

Function print_diff 

Source
pub fn print_diff(raw: &str, filtered: &str, tool: &str, preset: Option<&str>)
Expand description

Display a colored diff between raw and filtered JSON strings.

Shows lines present only in raw (removed by filtering) in red, lines present only in filtered in green, and common lines dimmed.