1 ## This is an example comment
2 ## This velocity template is used to test the hideNullJson directive
6 ## by default the values parameters provided are surrounded in double quotes and separated by a colon
7 #hideNullJson("svc-request-id",$svc-request-id)#end
8 ## override default settings so the comma isn't written
9 #hideNullJson("svc-action",$svc-action, true, true, false)#end
11 "service-information": {
12 ## if we look at the values in parameters we see service-type is already surrounded by quotes
13 ## we override the default so the string isn't surrounded by excess quotes
14 #hideNullJson("service-type",$service-type,true,false,true)#end
15 ## the first parameter doesn't need to be a literal
16 #hideNullJson($customerNameTag,$customer-name)#end
17 ## if the first parameter already has already been quoted we can override the default
18 #hideNullJson($siidTag,$service-instance-id,false,true,false)#end
19 #hideNullJson("customer-phone-number",$customer-phone-number)#end