Skip to content

JunSuzukiJapan/json_pretty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json_pretty

Simple Json prettifier for Rust language.

Installation

In Cargo.toml:

[dependencies]
json_pretty = "*"

Example

extern crate json_pretty;
use json_pretty::PrettyFormatter;

// ...

let s = r#"{"description": "string for test", "id" : 123, "true" : true}"#;
let formatter = PrettyFormatter::from_str(s);
let result = formatter.pretty();
println!("s: {}", result);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages