json-color - A Rust library to colorize JSON strings

Usage

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!

Documentation

Hosted at docs.rs.