Files
bwavfile/tests/ffprobe_media_tests.rs
2020-11-22 18:48:08 -08:00

17 lines
388 B
Rust

extern crate serde_json;
use serde_json::{Result, Value, from_str};
use std::fs::File;
use std::io::Read;
#[test]
fn test_a() {
let mut json_file = File::open("tests/ffprobe_media_results.json").unwrap();
let mut s = String::new();
json_file.read_to_string(&mut s).unwrap();
let v: Value = from_str(&mut s).unwrap();
//println!("file list: {:?}", ffprobe_data);
}