Nils Diewald | 02df991 | 2014-06-03 16:08:07 +0000 | [diff] [blame^] | 1 | % use JSON::XS; |
2 | |||||
3 | % if (stash('search.query')) { | ||||
4 | <code><span>JSON-LD Query for <%= param 'q' %> (<%= param 'ql' %>)</span><pre> | ||||
5 | % my $json = JSON::XS->new->pretty; | ||||
6 | %= $json->encode(stash('search.query')) | ||||
7 | </pre></span></code> | ||||
8 | % } |