Email::MIME::Kit::ManifestReader::JSON - read manifest.json files


Email-MIME-Kit documentation Contained in the Email-MIME-Kit distribution.

Index


Code Index:

NAME

Top

Email::MIME::Kit::ManifestReader::JSON - read manifest.json files

VERSION

Top

version 2.102010

AUTHOR

Top

Ricardo Signes <rjbs@cpan.org>

COPYRIGHT AND LICENSE

Top


Email-MIME-Kit documentation Contained in the Email-MIME-Kit distribution.

package Email::MIME::Kit::ManifestReader::JSON;
BEGIN {
  $Email::MIME::Kit::ManifestReader::JSON::VERSION = '2.102010';
}
use Moose;
# ABSTRACT: read manifest.json files

with 'Email::MIME::Kit::Role::ManifestReader';
with 'Email::MIME::Kit::Role::ManifestDesugarer';

use JSON;

sub read_manifest {
  my ($self) = @_;

  my $json_ref = $self->kit->kit_reader->get_kit_entry('manifest.json');

  my $content = JSON->new->decode($$json_ref);
}

no Moose;
1;

__END__