I have this JSON array eg:filesList which I receive from my groovy controller:
[{"filenameAndPath":"a","description":"bb"}, {"filenameAndPath":"c","description":"d"},{"filenameAndPath":"e","description":"f"}]
In my gsp I want to render this into a format as such:
Filename and Path
a
Description
bb
Filename and Path
c
Description
d
Filename and Path
e
Description
f
How would I parse the JSON into such labels and fields in a gsp page?