blob: c6c17d52875875afd0f9f6a8acfc89cba12042e5 [file] [log] [blame]
Nils Diewald02df9912014-06-03 16:08:07 +00001% use JSON::XS;
2
Nils Diewaldb40ddad2014-06-23 15:39:18 +00003% if (stash('search.query') && stash('test_port')) {
Nils Diewald44a72782014-06-20 16:03:21 +00004% state $json = JSON::XS->new->allow_blessed->pretty;
5<code class="query serial<% if (param('action') eq 'inspect') { %> active<% } %>">
6 <span>JSON-LD Serialization for <%= param 'q' %> (<%= param 'ql' %>)</span>
7 <pre>
8<%= $json->encode(stash('search.query')) =%>
9 </pre>
10</code>
11% };