-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvalid-invalid-json.json
42 lines (42 loc) · 1.4 KB
/
valid-invalid-json.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"someThing": {
"type": "string",
"defaultValue": ""
}
},
"variables": {
"leftBracket": "[",
"rightBracket": "]",
"blobName": "[last(split('https://templatebotstorage.blob.core.windows.net/vhds/existinggenwinvm.vhd', '/'))]"
},
"resources": [],
"outputs": {
"sample": {
"type": "string",
"value": "[concat(variables('leftBracket'), 'dbo', variables('rightBracket'), '.', variables('leftBracket'), 'table', variables('rightBracket')) ]"
},
"sample2": {
"type": "string",
"value": "[concat(variables('leftBracket'), variables('leftBracket'), 'dbo', variables('rightBracket'), '.', variables('leftBracket'), 'table', variables('rightBracket'), variables('rightBracket')) ]"
},
"sq":{
"type": "string",
"value": "[concat('''Something in single quotes - '' ', 'and something not')]"
},
"escapeMe": {
"type": "string",
"value": "[[this will be in brackets, not an expression - see: variables('blobName') is not evaluated]"
},
"someObjDoubleQuotes": {
"type": "object",
"value": "[json(concat('{\"storageAccountType\": \"Premium_LRS\"}'))]"
},
"someRepro": {
"type": "string",
"value": "[['DefaultEndpointsProtocol=https',]"
}
}
}