Crates.io | userdata3 |
lib.rs | userdata3 |
version | 0.2.0 |
source | src |
created_at | 2023-11-15 18:27:53.675679 |
updated_at | 2023-11-17 03:13:26.876812 |
description | data types for (de)serializing user settings from userdata3.json files |
homepage | |
repository | https://github.com/vtubing/userdata3 |
max_upload_size | |
id | 1036660 |
size | 5,427 |
Rust data types for (de)serializing user settings from userdata3.json files
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"
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:#?}");
}
Using the discovery process for undocumented JSON formats described here.
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: