Group
Extension

Matches 2

Email-MIME-Kit ( R/RJ/RJBS/Email-MIME-Kit-3.000008.tar.gz, RJBS, 2023; MetaCPAN )
Email-MIME-Kit/lib/Email/MIME/Kit/ManifestReader/JSON.pm ( view source; MetaCPAN )
Reader::JSON 3.000008;
# ABSTRACT: read manifest.json files

use v5.20.0;
use Moose;

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

use JSON 2;

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

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

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

no Moose;
__PACKAGE__->meta->make
ble;
1;

__END__

=pod

=encoding UTF-8

=head1 NAME

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

=head1 VERSION

version 3.000008

=head1 PERL VERSION

This library should run 
Email-MIME-Kit ( R/RJ/RJBS/Email-MIME-Kit-3.000008.tar.gz, RJBS, 2023; MetaCPAN )
Email-MIME-Kit/lib/Email/MIME/Kit.pm ( view source; MetaCPAN )

#pod stored as a directory that might look like this:
#pod
#pod   sample.mkit/
#pod     manifest.json
#pod     body.txt
#pod     body.html
#pod     logo.jpg
#pod
#pod The manifest file tells Email::M
d into
#pod text strings.  This could lead to serious problems.  For example: the
#pod F<manifest.json> file might contain:
#pod
#pod   "header": [
#pod     { "Subject": "Message for [% customer_name 
nifest', writer => '_set_manifest');

my @auto_attrs = (
  [ manifest_reader => ManifestReader => JSON => [ 'read_manifest' ] ],
  [ kit_reader      => KitReader      => Dir  => [ 'get_kit_entry',
   

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