1<?xml version="1.0" encoding="UTF-8"?>
2<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Report" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="81afe112-ee1b-4443-8d1c-cb6d9ab95dd8">
3 <property name="com.jaspersoft.studio.data.defaultdataadapter" value="JsonArrayDataAdapter.xml"/>
4 <subDataset name="details1" uuid="4563e834-a9e5-43b5-9f0a-824948c73c73">
5 <field name="A1" class="java.lang.String">
6 <fieldDescription><![CDATA[a1]]></fieldDescription>
7 </field>
8 </subDataset>
9 <subDataset name="details2" uuid="f703cb76-2a4a-44f1-9a42-227e180038d2">
10 <field name="A2" class="java.lang.String">
11 <fieldDescription><![CDATA[a2]]></fieldDescription>
12 </field>
13 </subDataset>
14 <queryString language="json">
15 <![CDATA[]]>
16 </queryString>
17 <field name="A1" class="java.lang.String">
18 <fieldDescription><![CDATA[a1]]></fieldDescription>
19 </field>
20 <field name="A2" class="java.lang.String">
21 <fieldDescription><![CDATA[a2]]></fieldDescription>
22 </field>
23 <detail>
24 <band height="99" splitType="Stretch">
25 <textField>
26 <reportElement x="72" y="16" width="100" height="24" uuid="698866c8-7d26-4bc7-8727-b4a56d239a53"/>
27 <textFieldExpression><![CDATA[$F{A1}]]></textFieldExpression>
28 </textField>
29 <textField>
30 <reportElement x="190" y="16" width="100" height="24" uuid="e775c6c0-4058-4bc4-8c7a-d4d381fd6e66"/>
31 <textFieldExpression><![CDATA[$F{A2}]]></textFieldExpression>
32 </textField>
33 <componentElement>
34 <reportElement x="90" y="40" width="333" height="20" uuid="c3237c70-6b2e-43e3-aa21-5092d8b91afc"/>
35 <jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical">
36 <datasetRun subDataset="details1" uuid="f5fdc6a3-736f-43ce-b549-cd7332d19eb8">
37 <dataSourceExpression><![CDATA[((net.sf.jasperreports.engine.data.JsonDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("details1")]]></dataSourceExpression>
38 </datasetRun>
39 <jr:listContents height="20" width="333">
40 <textField>
41 <reportElement x="10" y="0" width="130" height="20" uuid="07e3ff2a-3832-4b06-9275-cb1ee8e51cfe"/>
42 <textFieldExpression><![CDATA[$F{A1}]]></textFieldExpression>
43 </textField>
44 </jr:listContents>
45 </jr:list>
46 </componentElement>
47 <componentElement>
48 <reportElement x="90" y="60" width="333" height="20" uuid="38f3ac11-ad3e-464c-813a-46132f23783f"/>
49 <jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical">
50 <datasetRun subDataset="details2" uuid="833a13c3-e9b8-4f56-9f8f-279d32d403e8">
51 <dataSourceExpression><![CDATA[((net.sf.jasperreports.engine.data.JsonDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("details2")]]></dataSourceExpression>
52 </datasetRun>
53 <jr:listContents height="20" width="333">
54 <textField>
55 <reportElement x="10" y="0" width="130" height="20" uuid="3d9fb513-bfc9-4d95-a3da-16b95cf15e7c"/>
56 <textFieldExpression><![CDATA[$F{A2}]]></textFieldExpression>
57 </textField>
58 </jr:listContents>
59 </jr:list>
60 </componentElement>
61 </band>
62 </detail>
63</jasperReport>