【问题】
Hi,
I have a problem very similar to
http://community.jaspersoft.com/questions/844023/need-help-looping-throu…,
but I can’t just change the json file as done by the person asking that question.
Any help would be greatly appreciated.
----
I am trying to create a report in iReport Designer v5.6.0 that loops through a JSON file and returns all data from different levels. For example, I’ve built a very simple JSON file that has a list of customers, and for each customer it lists all of his/her vehicles including fields for make, model and mileage. The desired output would be a l

在iReport Designer中创建报告时,遇到从JSON文件动态获取并展示多个层级数据的问题。原始JSON包含客户及其车辆信息,目标是列出每个客户及其所有车辆。尽管能显示第一个车辆,但无法遍历所有车辆。解决方案建议使用集算器的SPL语言,在数据预处理阶段将多层JSON转换为二维表,从而简化报表脚本的复杂性。
最低0.47元/天 解锁文章
686

被折叠的 条评论
为什么被折叠?



