Skip to content

data types for (de)serializing user settings from userdata3.json files

License

Notifications You must be signed in to change notification settings

bungaku-moe/userdata3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

userdata3 Latest Version

What is it?

Rust data types for (de)serializing user settings from userdata3.json files

How do I obtain this majestic tool?

Run the following Cargo command in your project directory (assuming you have cargo-edit installed):

cargo add userdata3

Or add the following line to your Cargo.toml (in the [dependencies] array):

userdata3 = "^ 0.2"

How do I use it?

use userdata3::UserData3;

fn main() {
  let json = std::fs::read_to_string("./path/to/some.userdata3.json").unwrap();
  let userdata3: UserData3 = serde_json::from_str(&json).unwrap();
  println!("{userdata3:#?}");
}

How was this made?

Using the discovery process for undocumented JSON formats described here.

License

userdata3 is available under the MIT License. See LICENSE.txt for the full text.

While the license is short, it's still written in fancy lawyer-speak. If you prefer more down-to-earth language, consider the following:

  • tl;drLegal has a simple visual summary available here.
  • FOSSA has a more in-depth overview available here.

About

data types for (de)serializing user settings from userdata3.json files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%