Registry / utility / json-color

json-color

JSON →
library0.7.1rscratesunverified

Colorize JSON strings.

# Cargo.toml [dependencies] json-color = "0.7.1"
INSTALL
IMPORT
SIG · JSON-COLOR
J
json-color
utilityrustv0.7.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

colorize_json
use json_color::colorize_json;

Colorizes a JSON string for terminal output.

use json_color::colorize_json; fn main() { let colored = colorize_json("{\"key\": \"value\"}").unwrap(); println!("{}", colored); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
json-color — cargo add json-color · libregistry