create_workbook_from_json
Build an Excel workbook from JSON data, including styles, tables, and charts, and save it to a specified file path.
Instructions
Builds a new Excel workbook from JSON matching the shape generate_json produces (see the main library repo's Json.schema.json) and saves it to disk - the inverse of generate_json. The JSON-side equivalent of create_workbook_from_xml, for a caller that already produces data as JSON and wants to reach Excel without learning the OOXML schema or this library's own F#/C# API. Covers the same worksheet/workbook-level feature set generate_json does; unlike create_workbook, this isn't limited to plain cell values - styling, tables, charts, and every other modeled feature can be expressed in the JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | The workbook JSON content - an object matching Json.schema.json's root shape. | |
| path | Yes | Output file path, e.g. "C:\reports\invoice.xlsx". The directory must already exist. |