How to decode Json in Bugzilla template ?
how can I load the JSON Plugin correctly?
[% USE JSON ( pretty => 1 ) %];
<script type="text/javascript">
var foo = [% foo.json %];
</script>
or read in JSON
[% USE JSON %]
[% data = JSON.json_decode(json) %]
[% data.thing %]
it's giving me an error that plugin error - JSON: plugin not found