Add json-color
to your Cargo.toml as usual, and then import and call the colorize_json_string
function:
```rust extern crate json_color;
...
if let Ok(coloredjson) = colorizejsonstring("{ \"foo\": [1, 2.0, false, null] }") { println!("{}", coloredjson); } ```
That's it!
Hosted at docs.rs.