Function json_color::colorize_json_string [] [src]

pub fn colorize_json_string(s: &str) -> Result<String, Error>

Colorize a string of JSON.

Errors

An error is returned if the string is invalid JSON or an I/O error occurs.