mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
support json format templating
This commit is contained in:
@@ -156,6 +156,9 @@ export class TemplateSrv {
|
||||
}
|
||||
return value;
|
||||
}
|
||||
case 'json': {
|
||||
return JSON.stringify(value);
|
||||
}
|
||||
case 'percentencode': {
|
||||
// like glob, but url escaped
|
||||
if (_.isArray(value)) {
|
||||
|
||||
Reference in New Issue
Block a user