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