Group
Extension

Matches 35358

Plack-Middleware-Validate_Google_IAP_JWT ( H/HK/HKOBA/Plack-Middleware-Validate_Google_IAP_JWT-0.04.tar.gz, HKOBA, 2024; MetaCPAN )
Plack-Middleware-Validate_Google_IAP_JWT/lib/Plack/Middleware/Validate_Google_IAP_JWT.pm ( view source; MetaCPAN )
date_Google_IAP_JWT;
use strict;
use warnings;

our $VERSION = "0.04";

use MOP4Import::Base::CLI_JSON -as_base
  , [fields =>
     , [key_url => default => "https://www.gstatic.com/iap/verify/public_
->request(GET => $self->{key_url});
  if ($response->{success}) {
    my $jwt = $self->cli_decode_json($response->{content});
    my ResHeaders $headers = $response->{headers};
    my $expires = $head
ch_iap_public_key

Fetch L<https://www.gstatic.com/iap/verify/public_key-jwk> and returns decoded json.

=head1 LICENSE

Copyright (C) Kobayasi, Hiroaki.

This library is free software; you can redist
Dist-Zilla-PluginBundle-Author-Plicease ( P/PL/PLICEASE/Dist-Zilla-PluginBundle-Author-Plicease-2.79.tar.gz, PLICEASE, 2024; MetaCPAN )
Dist-Zilla-PluginBundle-Author-Plicease/lib/Dist/Zilla/Plugin/Author/Plicease/Tests.pm ( view source; MetaCPAN )
          $list{$module}++;
        }
      }
    }

    if($list{'JSON::MaybeXS'})
    {
      $list{'JSON::PP'}++;
      $list{'JSON::XS'}++;
    }

    if(my($alien) = grep { $_->isa('Dist::Zilla::
ul
SQLite
JavaScript
dir
plugins
munge
jQuery
namespace
PDF
PDFs
usernames
DBI
pluggable
APIs
SSL
JSON
YAML
uncommented
Solaris
OpenVMS
URI
URL
CGI
));
all_pod_files_spelling_ok;


__[ xt/author/versi
FFI-Platypus ( P/PL/PLICEASE/FFI-Platypus-2.10.tar.gz, PLICEASE, 2024; MetaCPAN )
FFI-Platypus/lib/FFI/Platypus/Bundle.pm ( view source; MetaCPAN )
ile.PL
 Generating a Unix-style Makefile
 Writing Makefile for Foo
 Writing MYMETA.yml and MYMETA.json
 % make
 cp lib/Foo.pm blib/lib/Foo.pm
 "/Users/ollisg/perl5/perlbrew/perls/perl-5.30.0/bin/perl"
Travel-Status-DE-DeutscheBahn ( D/DE/DERF/Travel-Status-DE-DeutscheBahn-6.15.tar.gz, DERF, 2024; MetaCPAN )
Travel-Status-DE-DeutscheBahn/lib/Travel/Status/DE/HAFAS/Message.pm ( view source; MetaCPAN )
_;

	my $json   = $conf{json};
	my $is_him = $conf{is_him};

	my $short = $json->{txtS};
	my $text  = $json->{txtN};
	my $type  = $json->{type};
	my $code  = $json->{code};
	my $prio  = $json->{prio};


	if ($is_him) {
		$short = $json->{head};
		$text  = $json->{text};
		$code  = $json->{hid};
	}

	my $ref = {
		short     => $short,
		text      => $text,
		type      => $type,
		code      => $code,
 => $is_him,
		ref_count => $conf{ref_count},
	};

	bless( $ref, $obj );

	return $ref;
}

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

	return { %{$self} };
}

1;

__END__

=head1 NAME

Travel::Status::DE::HAFAS
Object-Signature-Portable ( R/RR/RRWO/Object-Signature-Portable-v1.2.2.tar.gz, RRWO, 2024; MetaCPAN )
Object-Signature-Portable/lib/Object/Signature/Portable.pm ( view source; MetaCPAN )
jects

use v5.14;
use warnings;

use Carp;
use Crypt::Digest;
use Exporter 5.57 qw/ import /;
use JSON::MaybeXS;

# RECOMMEND PREREQ: Crypt::Digest 0.062

our $VERSION = 'v1.2.2';

our @EXPORT    = qw
nvalid digest format: %s', $args{format} );
    }

    $args{serializer} //= sub {
        return JSON->new->canonical(1)->allow_nonref(1)->utf8(1)->pretty(0)
            ->indent(0)->space_before(0)-
 with
public key signatures.) of Perl data structures.

The object is serialized into a canonical JSON structure, and then
hashed using the MD5 algorithm.

Any two machines running different versions 
FFI-Platypus ( P/PL/PLICEASE/FFI-Platypus-2.10.tar.gz, PLICEASE, 2024; MetaCPAN )
FFI-Platypus/lib/FFI/Build/MM.pm ( view source; MetaCPAN )
package FFI::Build::MM;

use strict;
use warnings;
use 5.008004;
use Carp ();
use FFI::Build;
use JSON::PP ();
use File::Glob ();
use File::Basename ();
use File::Path ();
use File::Copy ();
use ExtUt
en my $fh, '>', 'fbx.json';
  print $fh JSON::PP::encode_json($self->{prop});
  close $fh;
}

sub load_prop
{
  my($self) = @_;
  return unless $self->{save};
  unless(-f 'fbx.json')
  {
    $self->{p
rop} = {};
    return;
  }
  open my $fh, '<', 'fbx.json';
  $self->{prop} = JSON::PP::decode_json(do { local $/; <$fh> });
  close $fh;
}

sub clean
{
  my($self) = @_;
  foreach my $stage (qw( build
Plack-Middleware-TrafficAdvice ( R/RR/RRWO/Plack-Middleware-TrafficAdvice-v0.3.1.tar.gz, RRWO, 2024; MetaCPAN )
Plack-Middleware-TrafficAdvice/lib/Plack/Middleware/TrafficAdvice.pm ( view source; MetaCPAN )
;

use Cwd;
use File::Temp qw/ tempfile /;
use HTTP::Date;
use HTTP::Status qw/ :constants /;
use JSON::MaybeXS 1.004000;

our $VERSION = 'v0.3.1';


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

    if (my
traffic-advice-XXXXXXXX', SUFFIX => '.json', UNLINK => 0, TMPDIR => 1);
        $self->file( $filename );

        if (ref($data)) {
            my $encoder = JSON::MaybeXS->new( { utf8 => 1 } );
    
file));

    [
        HTTP_OK,
        [
         'Content-Type'   => 'application/trafficadvice+json',
         'Content-Length' => $stat[7],
         'Last-Modified'  => HTTP::Date::time2str( $stat
Dist-Zilla-PluginBundle-Author-Plicease ( P/PL/PLICEASE/Dist-Zilla-PluginBundle-Author-Plicease-2.79.tar.gz, PLICEASE, 2024; MetaCPAN )
Dist-Zilla-PluginBundle-Author-Plicease/lib/Dist/Zilla/Plugin/Author/Plicease/SpecialPrereqs.pm ( view source; MetaCPAN )
   foreach my $module (keys $prereqs->{$phase}->{$type}->%*)
        {
          if($module =~ /^(JSON|PerlX::Maybe)$/)
          {
            $self->zilla->register_prereqs({
              type  => 
 if($module eq 'JSON::MaybeXS')
          {
            $self->zilla->register_prereqs({
              type => 'recommends',
              phase => $phase,
            }, "Cpanel::JSON::XS" => 0);
   
m Mojolicious

Require 4.31

=item Role::Tiny

Require 1.003001.  See rt#83248

=item JSON::XS

Recommended if JSON is required.

=item PerlX::Maybe::XS

Recommended if PerlX::Maybe is required.

=ite
Data-Section-Pluggable ( P/PL/PLICEASE/Data-Section-Pluggable-0.08.tar.gz, PLICEASE, 2024; MetaCPAN )
Data-Section-Pluggable/lib/Data/Section/Pluggable.pm ( view source; MetaCPAN )
('json');
 
 # prints "Welcome to Perl" without prefix
 # or trailing white space.
 say $dsp->get_data_section('hello.txt');
 
 # also prints "Welcome to Perl"
 say $dsp->get_data_section('hello.json'
$dsp->get_data_section('hello.bin');
 
 __DATA__
 
 @@ hello.txt
   Welcome to Perl
 
 
 @@ hello.json
 {"message":"Welcome to Perl"}
 
 @@ hello.bin (base64)
 VGhpcyBpcyBiYXNlNjQgZW5jb2RlZC4K

=head1
xtension.  The extension should be a filename
extension without the C<.>, for example C<txt> or C<json>.

The callback takes the L<Data::Section::Pluggable> instance as its first argument and the cont
Sq ( D/DA/DAVIDRAAB/Sq-0.007.tar.gz, DAVIDRAAB, 2024; MetaCPAN )
Sq/benchmarks/signature.pl ( view source; MetaCPAN )
::Type is not just for function
# signature checking. For example you also can use it to validate JSON input
# data, or other kind of stuff that you later don't disable in your code and
# stays active
Tie-Hash-DataSection ( P/PL/PLICEASE/Tie-Hash-DataSection-0.01.tar.gz, PLICEASE, 2024; MetaCPAN )
Tie-Hash-DataSection/lib/Tie/Hash/DataSection.pm ( view source; MetaCPAN )
'Tie::Hash::DataSection', __PACKAGE__, $plugin;

the name of the plugin, for example C<trim> or C<json>.

=item array reference

 tie %hash, 'Tie::Hash::DataSection', __PACKAGE__, [$plugin, @args];

T
Travel-Status-DE-DeutscheBahn ( D/DE/DERF/Travel-Status-DE-DeutscheBahn-6.15.tar.gz, DERF, 2024; MetaCPAN )
Travel-Status-DE-DeutscheBahn/lib/Travel/Status/DE/HAFAS/StopFinder.pm ( view source; MetaCPAN )
se strict;
use warnings;
use 5.014;
use utf8;

use Carp   qw(confess);
use Encode qw(decode);
use JSON;
use LWP::UserAgent;

our $VERSION = '6.15';

# {{{ Constructors

sub new {
	my ( $obj, %conf ) =
on [(] [)] ; $ }{}x;

	if ( $ref->{developer_mode} ) {
		say $ref->{raw_reply};
	}

	$ref->{json} = from_json( $ref->{raw_reply} );

	return $ref;
}

sub new_p {
	my ( $obj, %conf ) = @_;
	my $promise
; $ }{}x;

			if ( $self->{developer_mode} ) {
				say $self->{raw_reply};
			}

			$self->{json} = from_json( $self->{raw_reply} );

			$promise->resolve( $self->results );
			return;
		}
	)->catch(
Travel-Status-DE-DeutscheBahn ( D/DE/DERF/Travel-Status-DE-DeutscheBahn-6.15.tar.gz, DERF, 2024; MetaCPAN )
Travel-Status-DE-DeutscheBahn/lib/Travel/Status/DE/HAFAS/Location.pm ( view source; MetaCPAN )
 => $loc->{wt},
		distance_m => $loc->{dist},
	};

	bless( $ref, $obj );

	return $ref;
}

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

	my $ret = { %{$self} };

	return $ret;
}

1;

__END__

=head1 NAME

Travel:
Travel-Status-DE-DeutscheBahn ( D/DE/DERF/Travel-Status-DE-DeutscheBahn-6.15.tar.gz, DERF, 2024; MetaCPAN )
Travel-Status-DE-DeutscheBahn/lib/Travel/Status/DE/HAFAS/Stop.pm ( view source; MetaCPAN )
($self) = @_;

	if ( $self->{messages} ) {
		return @{ $self->{messages} };
	}
	return;
}

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

	my $ret = { %{$self} };

	for my $k ( keys %{$ret} ) {
		if ( ref( $ret->{$
Travel-Status-DE-DeutscheBahn ( D/DE/DERF/Travel-Status-DE-DeutscheBahn-6.15.tar.gz, DERF, 2024; MetaCPAN )
Travel-Status-DE-DeutscheBahn/lib/Travel/Status/DE/HAFAS.pm ( view source; MetaCPAN )
e DateTime::Format::Strptime;
use Digest::MD5 qw(md5_hex);
use Encode      qw(decode encode);
use JSON;
use LWP::UserAgent;
use Travel::Status::DE::HAFAS::Journey;
use Travel::Status::DE::HAFAS::Locat
my $json = $self->{json} = JSON->new->utf8;

	# The JSON request is the cache key, so if we have a cache we must ensure
	# that JSON serialization is deterministic.
	if ( $self->{cache} ) {
		$json->c
anonical;
	}

	$req = $json->encode($req);
	$self->{post} = $req;

	my $url = $conf{url} // $hafas_instance->{$service}{mgate};

	if ( my $salt = $hafas_instance->{$service}{salt} ) {
		if ( $hafas_in
App-DPath ( S/SC/SCHWIGON/App-DPath-0.12.tar.gz, SCHWIGON, 2024; MetaCPAN )
App-DPath/lib/App/DPath.pm ( view source; MetaCPAN )
::Load($filecontent)];
        }
        elsif ($intype eq "json") {
                require JSON;
                $data = JSON::decode_json($filecontent);
        }
        elsif ($intype eq "xml")
 
list);
        }
        elsif ($outtype eq "json")
        {
                eval "use JSON -convert_blessed_universally";
                my $json = JSON->new->allow_nonref->pretty->allow_blessed->c
ument
(which defaults to 'yaml') and returns the resulting data structure. Other
data types are: 'json', 'xml', 'ini', 'cfggeneral', 'dumper' and 'tap'.

The optional third argument specifies a list o
Travel-Status-DE-DeutscheBahn ( D/DE/DERF/Travel-Status-DE-DeutscheBahn-6.15.tar.gz, DERF, 2024; MetaCPAN )
Travel-Status-DE-DeutscheBahn/lib/Travel/Status/DE/HAFAS/Journey.pm ( view source; MetaCPAN )
loc->eva eq $req_stop ) {
			return $stop->prod_dep // $stop->prod_arr;
		}
	}
	return;
}

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

	my $ret = { %{$self} };

	for my $k ( keys %{$ret} ) {
		if ( ref( $ret->{$
Sq ( D/DA/DAVIDRAAB/Sq-0.007.tar.gz, DAVIDRAAB, 2024; MetaCPAN )
Sq/lib/Sq/Data/XML.pm ( view source; MetaCPAN )
ble to write, not really humand readable. Too much stuff. Schemas,
# Xpath?
#
# Schemas: Just use JSON and use the type-system Sq::Type for "Schemas".
#
# XPath:   how crappy is your language support 
Dist-Zilla-PluginBundle-Author-Plicease ( P/PL/PLICEASE/Dist-Zilla-PluginBundle-Author-Plicease-2.79.tar.gz, PLICEASE, 2024; MetaCPAN )
Dist-Zilla-PluginBundle-Author-Plicease/lib/Dist/Zilla/Plugin/Author/Plicease/Init2.pm ( view source; MetaCPAN )
ader_re => qr/^@@ (.*?)$/ };
  use Dist::Zilla::MintingProfile::Author::Plicease;
  use JSON::PP qw( encode_json );
  use Encode qw( encode_utf8 );

  # ABSTRACT: Dist::Zilla initialization tasks for 
 $self->gather_file_simple  ('.gitattributes');
    $self->gather_file_simple  ('.vscode/settings.json');
    $self->gather_file_template('.gitignore');
    $self->gather_file_simple  ('alienfile') if
code_json({
        name               => $self->zilla->name,
        description        => $self->abstract,
        private            => (!$org && $self->github_private) ? JSON::PP::true : JSON::PP:
Log-GELF-Util ( A/AD/ADAMC/Log-GELF-Util-1.03.tar.gz, ADAMC, 2024; MetaCPAN )
Log-GELF-Util/lib/Log/GELF/Util.pm ( view source; MetaCPAN )
;
use Time::HiRes qw(time);
use Sys::Syslog qw(:macros);
use Sys::Hostname;
use JSON::MaybeXS qw(encode_json decode_json);
use IO::Compress::Gzip qw(gzip $GzipError);
use IO::Uncompress::Gunzip qw(gun
n encode_json(validate_message(@p));
}

sub decode {
    my @p = validate_pos(
        @_,
        { type => SCALAR },
    );

    my $msg = shift @p;

    return validate_message(decode_json($msg));
age will be
validated with L</validate_message>.

Returns a JSON encoded string representing the message.

=head2 decode( $ )

Accepts a JSON encoded string representing the message. This will be
conv

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