macro_rules! macro_generate_from_json {
    ($json_path:expr) => { ... };
}
Expand description

Attempts to generate file templates from a JSON file.

§Arguments

  • $json_path - The path to the JSON file as a string slice.

§Returns

Returns a Result<(), String> indicating the success or failure of file generation. If successful, returns Ok(()). If an error occurs, returns Err with an error message.