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