Rust data types for (de)serializing pose settings from pose3.json files
Run the following Cargo command in your project directory (assuming you have cargo-edit installed):
cargo add pose3
Or add the following line to your Cargo.toml
(in the [dependencies]
array):
pose3 = "^ 0.2"
use pose3::Pose3;
fn main() {
let json = std::fs::read_to_string("./path/to/some.pose3.json").unwrap();
let pose3: Pose3 = serde_json::from_str(&json).unwrap();
println!("{pose3:#?}");
}
Using the discovery process for undocumented JSON formats described here.
pose3
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: