<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">package Catalyst::Helper::View::JSON;

use strict;

=head1 NAME

Catalyst::Helper::View::JSON - Helper for JSON Views

=head1 SYNOPSIS

    script/create.pl view JSON JSON

=head1 DESCRIPTION

Helper for JSON Views.

=head2 METHODS

=head3 mk_compclass

=cut

sub mk_compclass {
    my ( $self, $helper ) = @_;
    my $file = $helper-&gt;{file};
    $helper-&gt;render_file( 'compclass', $file );
}

=head1 SEE ALSO

L&lt;Catalyst::Manual&gt;, L&lt;Catalyst::Test&gt;, L&lt;Catalyst::Request&gt;,
L&lt;Catalyst::Response&gt;, L&lt;Catalyst::Helper&gt;, L&lt;Catalyst::View::JSON&gt;

=head1 AUTHOR

Hunter Thomas, C&lt;archangelq@archangelq.net&gt;

=head1 LICENSE

This library is free software . You can redistribute it and/or modify
it under the same terms as perl itself.

=cut

1;

__DATA__

__compclass__
package [% class %];

use strict;
use base 'Catalyst::View::JSON';

=head1 NAME

[% class %] - Catalyst JSON View

=head1 SYNOPSIS

See L&lt;[% app %]&gt;

=head1 DESCRIPTION

Catalyst JSON View.

=head1 AUTHOR

[% author %]

=head1 LICENSE

This library is free software, you can redistribute it and/or modify
it under the same terms as Perl itself.

=cut

1;
</pre></body></html>