json_io Build Status

A tool for simplifying saving and loading serializable types to and from json files.

Supports both: - rustc-serialize (by default) or - serde with the --features="serde_serialization" --no-default-features flags.

It looks like this:

```Rust

extern crate findfolder; extern crate jsonio;

fn main() { let teststring = "This is a jsonio test!".toowned(); let target = findfolder::Search::Parents(1).forfolder("target").unwrap(); let path = target.join("test"); jsonio::save(&path, &teststring).unwrap(); let thestring: String = jsonio::load(&path).unwrap(); asserteq!(&teststring, &thestring); println!("{:?}", the_string); }

```

You can add it to your project by adding this to your Cargo.toml:

toml [dependencies] json_io = "*"