blob: 6ef646f12919b866aafd1f40b63cecac256f6a52 [file] [log] [blame]
% use JSON::XS;
% if (stash('search.query')) {
<code class="query serial<% if (param('action') eq 'inspect') { %> active<% } %>"><span>JSON-LD Query for <%= param 'q' %> (<%= param 'ql' %>)</span><pre>
% my $json = JSON::XS->new->allow_blessed->pretty;
%= $json->encode(stash('search.query'))
</pre></span></code>
% }