Skip to main content

acts_next/utils/
json.rs

1#[macro_export]
2macro_rules! include_json {
3    ($file:expr) => {{
4        let json_str = include_str!($file);
5        serde_json::from_str::<serde_json::Value>(json_str)
6            .expect(&format!("Failed to parse JSON file: {}", $file))
7    }};
8}