convert vulnus to soundspace maps. (or vice versa).
docs.rs crates.io
Firstly add in your cargo.toml:
vconvert = "0.1.0"
Then in your code:
use vconvert::vulnus; fn main() { let mut vulnus_map = serde_json::from_slice::<vulnus::Map>( include_bytes!("../vmap.json") // or however you get your map ).expect("unable to parse map"); // then do what ever you want with it }
There are some examples in the examples folder.