Registry / utility / colored-json

colored-json

JSON →
library5.0.0rscratesunverified

Colorizes JSON output for command-line display with syntax highlighting.

# Cargo.toml [dependencies] colored_json = "5.0.0"
INSTALL
IMPORT
SIG · COLORED-JSON
C
colored-json
utilityrustv5.0.0
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.

to_colored_json_auto
use colored_json::to_colored_json_auto;

Converts a serde_json::Value to a colored JSON string for terminal output.

use colored_json::to_colored_json_auto; let json = serde_json::json!({ "key": "value" }); let colored = to_colored_json_auto(&json).unwrap(); println!("{}", colored);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
colored-json — cargo add colored-json · libregistry