rinehimer / jxtl

Automatically exported from code.google.com/p/jxtl
Apache License 2.0
0 stars 2 forks source link

Easier Output For Lists #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Right now if you have a list (array in JSON), you have to use a section to 
output it.  For example, give this JSON:

{ "number": [1, 2, 3, 4, 5] }

You need to use this code to just output a space separated list:

{{#section number ; separator=" "}}
{{.}}
{{#end}}

It should be possible to do this:

{{number ; separator=" "}}

Original issue reported on code.google.com by rinehi...@gmail.com on 11 Oct 2010 at 4:07

GoogleCodeExporter commented 9 years ago
Completed in revision 148.

Original comment by rinehi...@gmail.com on 25 Oct 2010 at 4:31