#xlsx #excel #json

json-to-xlsx

Simple library to convert JSON files to Excel (xlsx)

3 releases

Uses new Rust 2024

0.1.2 Sep 29, 2025
0.1.1 Jul 16, 2025
0.1.0 Jul 1, 2025

#47 in #xlsx

Download history 6/week @ 2025-10-15

212 downloads per month

MIT license

14KB
282 lines

json-to-xlsx

Crates.io version

Info

Simple library to convert JSON files to Excel (xlsx).

How to use

let json_input = File::open("input.json").unwrap();
let xlsx_output = File::create("output.xlsx").unwrap();

let buf_reader = BufReader::new(json_input);

match json_to_xlsx(buf_reader, xlsx_output) {
    Ok(_) => println!("Success!"),
    Err(e) => println!("{e}"),
}

Dependencies

~8MB
~141K SLoC