8000 GitHub - messense/dirty-json-rs: Fix up dirty JSON string
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

messense/dirty-json-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dirty-json-rs

GitHub Actions Crates.io docs.rs

Fix up dirty JSON string

Features

dirty-json allows numberic object keys.

fn main() {
    let json = r#"{1: "foo", 2 : "bar"}"#;
    let fixed = dirty_json::fix(json);
    assert_eq!(fixed, r#"{"1":"foo","2":"bar"}"#);
}

License

This work is released under the MIT license. A copy of the license is provided in the LICENSE file.

About

Fix up dirty JSON string

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0