Group
Extension

Matches 3

Lego-From-PNG ( G/GA/GAUDEON/Lego-From-PNG-0.04.tar.gz, GAUDEON, 2015; MetaCPAN )
Lego-From-PNG/lib/Lego/From/PNG/View/JSON.pm ( view source; MetaCPAN )
e Lego::From::PNG::View::JSON;

use strict;
use warnings;

BEGIN {
    $Lego::From::PNG::VERSION = '0.04';
}

use parent qw(Lego::From::PNG::View);

use Data::Debug;

use JSON;

sub print {
    my $se
gs = ref $_[0] eq 'HASH' ? %{$_[0]} : @_;

    return JSON->new->utf8->pretty->encode( \%args );
}

=pod

=head1 NAME

Lego::From::PNG::View::JSON - Format data returned from Lego::From::PNG

=head1 S
JSON'); # Data is returned as JSON

=head1 DESCRIPTION

Class to returned processed data in JSON format

=head1 USAGE

=head2 new

 Usage     : ->new()
 Purpose   : Returns Lego::From::PNG::View::JSON
Lego-From-PNG ( G/GA/GAUDEON/Lego-From-PNG-0.04.tar.gz, GAUDEON, 2015; MetaCPAN )
Lego-From-PNG/lib/Lego/From/PNG/View.pm ( view source; MetaCPAN )
= Lego::From::PNG->new({ filename => 'my_png.png' });

  $object->process(view => 'JSON'); # Data is returned as JSON

=head1 DESCRIPTION

Base class for formatting data returned from processing a PNG
Lego-From-PNG ( G/GA/GAUDEON/Lego-From-PNG-0.04.tar.gz, GAUDEON, 2015; MetaCPAN )
Lego-From-PNG/lib/Lego/From/PNG.pm ( view source; MetaCPAN )
those bricks.
 Argument  : view => 'a view' - optionally format the return data. options include: JSON and HTML
 Throws    :

 Comment   :
 See Also  :

=head2 whitelist

 Usage     : ->whitelist()
 P

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.