File: space-in-loop.test

package info (click to toggle)
haskell-doctemplates 0.11.0.1-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 288 kB
  • sloc: haskell: 1,223; makefile: 7
file content (27 lines) | stat: -rw-r--r-- 339 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ "employee":
  [ { "name": { "first": "John", "last": "Doe" } }
  , { "name": { "first": "Omar", "last": "Smith" }
    , "salary": "30000" }
  , { "name": { "first": "Sara", "last": "Chen" }
    , "salary": "60000" }
  ]
}
.
$for(employee)$
$employee.name.first$

$endfor$
---
$for(nonexistent)$

$endfor$
---
.
John

Omar

Sara

---
---