Group
Extension

Matches 2

Mail-AuthenticationResults ( M/MB/MBRADSHAW/Mail-AuthenticationResults-2.20250709.tar.gz, MBRADSHAW, 2025; MetaCPAN )
Mail-AuthenticationResults/lib/Mail/AuthenticationResults/Parser.pm ( view source; MetaCPAN )
il::AuthenticationResults::Token::Separator;
use Mail::AuthenticationResults::Token::String;

use JSON;


sub new {
    my ( $class, $auth_header ) = @_;
    my $self = {};
    bless $self, $class;

 
self->parsed();
}


sub from_authentication_results_json {
    my ( $self, $json ) = @_;
    my $j = JSON->new();
    my $hashref = $j->decode( $json );
    return $self->_from_hashref( $hashref );
}
er and return the parsed object.

=head2 from_authentication_results_json( $json )

Parse $json as the json returned from an as_json method call and return the parsed object.

=head2 tokenise( $header
Mail-AuthenticationResults ( M/MB/MBRADSHAW/Mail-AuthenticationResults-2.20250709.tar.gz, MBRADSHAW, 2025; MetaCPAN )
Mail-AuthenticationResults/lib/Mail/AuthenticationResults/Header/Base.pm ( view source; MetaCPAN )
;
use warnings;
our $VERSION = '2.20250709'; # VERSION
use Scalar::Util qw{ weaken refaddr };
use JSON;
use Carp;
use Clone qw{ clone };

use Mail::AuthenticationResults::Header::Group;
use Mail::Auth
  $hashref->{'children'} = \@children;
    }
    return $hashref;
}


sub as_json {
    my ( $self ) = @_;
    my $J = JSON->new();
    $J->canonical();
    return $J->encode( $self->_as_hashref() );
bject when calledas a child
of another objects as_string method call.

=head2 as_json()

Return this instance as a JSON serialised string

=head2 as_string()

Returns this instance as a string.

=head

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