2 unstable releases
0.2.0 | Nov 17, 2023 |
---|---|
0.1.0 | Nov 15, 2023 |
#2262 in Encoding
Used in 2 crates
(via orphism)
5KB
exp3
What is it?
Rust data types for (de)serializing expression settings from .exp3.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 exp3
Or add the following line to your Cargo.toml
(in the [dependencies]
array):
exp3 = "^ 0.2"
How do I use it?
use exp3::Expression3;
fn main() {
let json = std::fs::read_to_string("./path/to/some.exp3.json").unwrap();
let exp3: Expression3 = serde_json::from_str(&json).unwrap();
println!("{exp3:#?}");
}
How was this made?
Using the discovery process for undocumented JSON formats described here.
License
exp3
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:
Dependencies
~1.4–2.4MB
~48K SLoC