jmcnamara / rust_xlsxwriter

A Rust library for creating Excel XLSX files.
https://crates.io/crates/rust_xlsxwriter
Apache License 2.0
250 stars 23 forks source link

feature request: Implement `IntoExcelData` for `serde_json::Value` #50

Closed Xydez closed 7 months ago

Xydez commented 11 months ago

Feature Request

It would be pretty nice to be able to do sheet.write(serde_json::Value), pretty what needs to be done is just implement for all types of serde_json::Value. Should perhaps be put behind a feature flag.

Or even better, maybe IntoExcelData could even be implemented for anything that derives Serialize, or maybe a macro

jmcnamara commented 11 months ago

Thanks. That is a good suggestion. I'll look into it. Probably I'll target full Serialize support.

jmcnamara commented 7 months ago

Would the following work for your use case: WIP and RFC: Initial support for Serde serialization #61

jmcnamara commented 7 months ago

Closing in favour of #61