Just so we're not mucking up the wishlist but... in startup if you do
this, you get JSON::XS encoding:
$self->renderer->add_handler(json => sub {
my ($self, $c, $output, $data) = (@_);
$$output = JSON::XS->new->encode($data->{json});
});
At least, if I understood the renderer guts correctly...
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.