iddleware::JSON::ForBrowsers;
{
$Plack::Middleware::JSON::ForBrowsers::VERSION = '0.002000';
}
use parent qw(Plack::Middleware);
# ABSTRACT: Plack middleware which turns application/json responses
into HTML
use strict;
use warnings;
use Carp;
use JSON;
use MRO::Compat;
use Plack::Util::Accessor qw(json html_head html_foot);
use List::MoreUtils qw(any);
use Encode;
use HTML::Entities qw(encode_
rg/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JSON::ForBrowsers</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=ut