doctemplates-0.7.1: test/filter-and-partial.test
{ "employee":
[ { "name": { "first": "John", "last": "Doe" } }
, { "name": { "first": "Omar", "last": "Smith" }
, "salary": "30000" }
, { "name": { "first": "Sara", "last": "Chen" }
, "salary": "60000" }
]
}
.
$for(employee)$
$it:name()/uppercase$
$endfor$
.
(JOHN) DOE
(OMAR) SMITH
(SARA) CHEN