| ... |
... |
@@ -14,8 +14,8 @@ |
| 14 |
14 |
#if("$!request.outputSyntax" != '') |
| 15 |
15 |
$response.setContentType('application/json') |
| 16 |
16 |
#end |
| 17 |
|
-##set($MyJsonData = {'greeting': 'Hello', 'location': 'World'}) |
| 18 |
|
-$jsontool.serialize($collabs) |
|
17 |
+#set($MyJsonData = {'greeting': 'Hello', 'location': 'World'}) |
|
18 |
+$jsontool.serialize($MyJsonData) |
| 19 |
19 |
|
| 20 |
20 |
## In order to ensure the generated JSON is valid it is recommanded to |
| 21 |
21 |
## build the JSON in memory (using Velocity/Java maps, arrays and basic types) |