Hi there,
Using SIMPLX Widgeteer 0.6.5 with MODX 2.2.10.
I have problems to get the data out of the JSON-dataset in the way I need it.
My dataset:
[
{
"object":"house1",
"appartements": [
{"Obj_ID":"3A01",
"Etage":"EG"
},
{"Obj_ID":"3A02",
"Etage":"2.OG
}
]
},
{
"object":"house2",
"appartements": [
{"Obj_ID":"3B01",
"Etage":"2.OG"
},
{"Obj_ID":"3B02",
"Etage":"1.OG"
}
]
}
]
And I'd like to output it as a table with the following structure (chunk):
Title: House 1
Appartements:
<table>
<tr>
<td>3A01</td>
<td>EG</td>
</tr>
<tr>
<td>3A02</td>
<td>2. OG</td>
</tr>
</table>
Title: House 2
Appartements:
<table>
<tr>
<td>3B01</td>
<td>2.OG</td>
</tr>
<tr>
<td>3B02</td>
<td>1. OG</td>
</tr>
</table>
I tried, like Jorgen, with and without the "matching"-parameters.
So, is Widgeteer able to produce such a "nested" output I'd like to have? If so, how can I achieve this? And if not: with what Extra/Code/Snippet could it be done?
At the moment I really am confused...
Thanks for your help.
Fabian