A C# console application that converts JSON data into PDF reports with charts and visualizations.
- Convert JSON data to formatted PDF reports
- Generate various chart types (bar, line, pie, etc.)
- Customizable report layouts and styling
- Support for multiple data sources
- .NET 9.0 SDK or later
- Windows OS (required for Windows Forms components)
- Git
git pullcd JsonToPdfConverterdotnet restoredotnet builddotnet runThe application expects the following JSON files in the project directory:
sample-report.json- Report configuration and layoutsample-data.json- Data to be visualizedsample-charts-showcase.json- Chart configurations
After running the application, it will generate:
complete-report.pdf- The final PDF report with charts
Models/- Data models and report structure definitionsServices/- Core services for PDF generation and chart creationTests/- Unit tests for PDF generation functionality
- iTextSharp (5.5.13.3) - PDF generation library
- Newtonsoft.Json (13.0.3) - JSON parsing and serialization
- System.Drawing.Common (9.0.6) - Chart and graphics generation