blob: f64af82febaef5251759f285f12a5ceec98393ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
jsonObject = {
"_countries":
QPID.iterations( { "__ITERATING_VALUE": [ 0, 1 ] },
{
// this is a comment - it wouldn't be allowed if this were pure JSON
"_name": "Country",
"_regions": QPID.times(2,
{
"_name": "repeatingRegion__REGION_INDEX",
"_towns": [
{
"_name": "town1",
"_iteratingAttribute": "__ITERATING_VALUE",
"_consumers": []
}
]
},
"__REGION_INDEX"
)
})
}
|