Changes for page Highlighted Collabs
Last modified by bougault on 2021/04/12 17:00
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,16 +1,5 @@ 1 1 {{velocity wiki="false"}} 2 -#if("$!request.outputSyntax" != '') 3 - $response.setContentType('application/json') 4 - 5 -{ 6 -"greeting" : "Hello", 7 -"location": "World" 8 -} 9 -#else 10 -{{html wiki="true"}} 11 -[[view json>>/bin/get/Collabs/public-json-data/Highlighted%20Collabs/?xpage=plain&outputSyntax=plain]] 12 -{{/html}} 13 -#end 2 +#set($mylist = ['foo','bar']) 3 +#set($mymap= {"things": $mylist}) 4 +$jsontool.serialize(${mymap}) 14 14 {{/velocity}} 15 - 16 -