I am trying to get a table to populate with the same data in the main report using Jasper / iReport. How can I get Json to endure?
In the datasource data editor I tried:
((net.sf.jasperreports.engine.data.JsonDataSource)$P{REPORT_DATA_SOURCE})
new ((net.sf.jasperreports.engine.data.JsonDataSource)$P{REPORT_DATA_SOURCE})
$P{REPORT_DATA_SOURCE}
$P{REPORT_CONNECTION}
All of which compile, but none of them actually generate a table. Any ideas? There is no method like cloneDataSource () for JSON, so what's the alternative?
My ultimate goal is simple: pass JSON data and use it to create a chart, and then a table displaying the same information. I worked on this for many days, Jasper is hard for me. Please, help!
sally source
share