
termcolor-json
A library for writing colored JSON output to a termcolor terminal.
let stdout = StandardStream::stdout(ColorChoice::Auto);
termcolor_json::to_writer(
&mut stdout.lock(),
&serde_json::json!({
"string": "value",
"number": 123,
"bool": true,
"null": null,
}),
)?;