summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/request/queue.json.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/template/en/default/request/queue.json.tmpl b/template/en/default/request/queue.json.tmpl
index 121b52337..ec0f0ef66 100644
--- a/template/en/default/request/queue.json.tmpl
+++ b/template/en/default/request/queue.json.tmpl
@@ -38,5 +38,9 @@ foreach my $request (@$requests) {
}
push @results, \%item;
}
-$output .= JSON::XS::encode_json( \@results );
+{
+ use feature 'state';
+ state $json = JSON::XS->new->utf8->ascii;
+ $output .= $json->encode( \@results );
+}
[% END %]