Group
Extension

Matches 35359

Bencher-Scenarios-LogAny ( P/PE/PERLANCAR/Bencher-Scenarios-LogAny-0.09.tar.gz, PERLANCAR, 2017; MetaCPAN )
Bencher-Scenarios-LogAny/lib/Bencher/Scenario/LogAny/NoAdapterLogging.pm ( view source; MetaCPAN )
x version 3.16.0-4-amd64 >>.

Benchmark with C<< bencher -m LogAny::NoAdapterLogging --env-hashes-json '[{"PERL5OPT":"-Iarchive/Log-Any-1.040/lib"},{"PERL5OPT":"-Iarchive/Log-Any-1.041/lib"}]' >>:

 #
Array-2D ( A/AA/AARONRP/Array-2D-0.001_005.tar.gz, AARONRP, 2017; MetaCPAN )
Array-2D/lib/Array/2D.pm ( view source; MetaCPAN )
item *

Alternatives to the methods that result in padded rather than pruned data.

=item *

CSV, JSON, maybe other file types in C<new_from_file()> and C<file()>.

=back

=head1 SEE ALSO

Some other 
Captcha-noCAPTCHA ( C/CL/CLARSON/Captcha-noCAPTCHA-0.16.tar.gz, CLARSON, 2017; MetaCPAN )
Captcha-noCAPTCHA/lib/Captcha/noCAPTCHA.pm ( view source; MetaCPAN )
package Captcha::noCAPTCHA;

use warnings;
use strict;
use HTTP::Tiny;
use JSON::PP qw();

our $VERSION = '0.16'; # VERSION

sub new {
	my ($class,$args) = @_;
	my $self = bless {} ,$class;
	$self->si
$json = eval {JSON::PP::decode_json($response->{content})};
	if (!$json) {
		$self->{_attrs}->{errors} = ['invalid-json'];
		return;
	}
	$self->{_response} = $json;
	$self->{_attrs}->{errors} = $json-
>{'error-codes'};
	return $json->{success};
}

sub _get_set {
	my ($self,$name,@args) = @_;
	$self->{_attrs}->{$name} = $args[0] if (@args);
	return $self->{_attrs}->{$name};
}

1;

=head1 NAME

Captc
Finance-Bank-ID-BPRKS ( P/PE/PERLANCAR/Finance-Bank-ID-BPRKS-0.06.tar.gz, PERLANCAR, 2017; MetaCPAN )
Finance-Bank-ID-BPRKS/lib/Finance/Bank/ID/BPRKS.pm ( view source; MetaCPAN )
teTime->dmy . ' ' .
DateTime->hms). This is to make it easy to pass the data structure into YAML,
JSON, MySQL, etc. Nevertheless, internally DateTime objects are still used.

=back

Additional notes:
Yote-Server ( C/CA/CANID/Yote-Server-1.27.tar.gz, CANID, 2017; MetaCPAN )
Yote-Server/lib/Yote/Server/ModperlOperator.pm ( view source; MetaCPAN )
w(:common);

use Data::Dumper;
use Text::Xslate qw(mark_raw);
use Encode;
use HTML::Entities;
use JSON;
use URI::Escape;

use Yote::Server;

sub new {
    my( $pkg, %options ) = @_;

    #
    # Setup


sub handle_json_request {
    my( $self, $req ) = @_;

    my $json_payload = uri_unescape(scalar($req->param('p')));

    my $in_json = decode_json( $json_payload );

    my( $out_json, @uploads );
      $out_json = $self->{server}->invoke_payload( $json_payload, \@uploads );
    };
    if( $@ ) {
        my $err = ref $@ ? $@ : { err => "INTERNAL ERROR" };
        $out_json = to_json( $err );
 
WWW-RiotGames-LeagueOfLegends ( A/AR/ARCANEZ/WWW-RiotGames-LeagueOfLegends-0.0001.tar.gz, ARCANEZ, 2017; MetaCPAN )
WWW-RiotGames-LeagueOfLegends/lib/WWW/RiotGames/LeagueOfLegends.pm ( view source; MetaCPAN )
package WWW::RiotGames::LeagueOfLegends;
use strict;
use warnings;
use Moo;
use LWP;
use JSON;
use URI;
use Sub::Name;
use Types::Standard qw(Str Int Enum InstanceOf Bool);
use Function::Parameters;

eout => (
  is => 'rw',
  isa => Int,
  lazy => 1,
  default => sub { 5 },
);

has json => (
  isa => InstanceOf['JSON'],
  is => 'lazy',
  handles => [ qw(decode) ],
);

has debug => (
  is => 'rw',
' ' . $VERSION, ssl_opts => { verify_hostname => 0, SSL_verify_mode => 0x00 } );
}

sub _build_json { JSON->new->utf8->allow_nonref }

method champion_mastery( Int :$summoner_id, Int :$champion_id = 0
Dist-Zilla-Plugin-Rinci-AbstractFromMeta ( P/PE/PERLANCAR/Dist-Zilla-Plugin-Rinci-AbstractFromMeta-0.10.tar.gz, PERLANCAR, 2017; MetaCPAN )
Dist-Zilla-Plugin-Rinci-AbstractFromMeta/lib/Dist/Zilla/Plugin/Rinci/AbstractFromMeta.pm ( view source; MetaCPAN )

    $abstract;
}

# dzil also wants to get abstract for main module to put in dist's
# META.{yml,json}
sub before_build {
   my $self  = shift;
   my $name  = $self->zilla->name;
   my $class = $name
JSON-Assert ( S/SG/SGREEN/JSON-Assert-0.08.tar.gz, SGREEN, 2017; MetaCPAN )
JSON-Assert/lib/JSON/Assert/Changes.pod ( view source; MetaCPAN )
=head1 CHANGELOG FOR JSON::Assert

=head2 VERSION 0.08,  7 JULY 2017

=over

=item *

Fix missing dep for MooX::Types::MooseLike::Base

=back

=head2 VERSION 0.07, 27 JUNE 2017

=over

=item *

RT #12
06 DECEMBER 2016

=over

=item *

Added does_jpath_contains method to Test::JSON::Assert, 
fixed does_jpath_contains in JSON::Assert

=back

=head2 VERSION 0.03, 15 MAY 2015

=over

=item *

Replaced 
Yote-Server ( C/CA/CANID/Yote-Server-1.27.tar.gz, CANID, 2017; MetaCPAN )
Yote-Server/lib/Yote/Server.pm ( view source; MetaCPAN )
alized';
no warnings 'numeric';

use Lock::Server;
use Yote;

use bytes;
use IO::Socket::SSL;
use JSON;
use Time::HiRes qw(time);
use URI::Escape;
use UUID::Tiny;


use vars qw($VERSION);

$VERSION = 
       $sock->close;
            exit;
        }
        

        # data has the input parmas in JSON format.
        # POST /

        if ( $verb ne 'POST' ) {
            $sock->print( "HTTP/1.1 40
p=//;
        my $out_json;
        eval {
            $out_json = $self->invoke_payload( $data );
        };

        if( ref $@ eq 'HASH' ) {
            $out_json = encode_json( $@ );
        } 
  
Yote-Server ( C/CA/CANID/Yote-Server-1.27.tar.gz, CANID, 2017; MetaCPAN )
Yote-Server/cgi-bin/yote_cgi.pl ( view source; MetaCPAN )
Base/lib';

use Yote;
use Yote::Server;

use CGI;
use DateTime;
use Data::Dumper;
use Encode;
use JSON;
use URI::Escape;

sub _log {
    my( $msg ) = @_;
    open my $out, ">>/opt/yote/log/yote.log";
re_locker;

}
my $cgi = CGI->new;

# check if a file upload
my $json_payload = uri_unescape(scalar($cgi->param('p')));
_log( "IN : '$json_payload'" );
my $uploads = $cgi->param('f');
my( @uploads );
i
e FILE;

    }
}

my $out_json;
eval {
    $out_json = $main::yote_server->invoke_payload( $json_payload, \@uploads );
};

if( ref $@ eq 'HASH' ) {
    $out_json = encode_json( $@ );
    undef $@;
} e
CPAN-Testers-WWW-Reports ( B/BA/BARBIE/CPAN-Testers-WWW-Reports-3.60.tar.gz, BARBIE, 2017; MetaCPAN )
CPAN-Testers-WWW-Reports/vhost/toolkit/compress-reports.pl ( view source; MetaCPAN )
w = $rows[0];

        my ($data,$json);
        eval {
            $json = $serializer->deserialize($row->{report});
            $data = $serializer->serialize($json);
        };

        if($@ || !$
Log-ger-Layout-YAML ( P/PE/PERLANCAR/Log-ger-Layout-YAML-0.001.tar.gz, PERLANCAR, 2017; MetaCPAN )
Log-ger-Layout-YAML/lib/Log/ger/Layout/YAML.pm ( view source; MetaCPAN )
istribution Log-ger-Layout-YAML), released on 2017-06-28.

=head1 SYNOPSIS

 use Log::ger::Layout JSON => (
     add_fields         => {key3 => 'value', key4 => 'value', ...},         # optional
     
Mythfs-perl ( L/LD/LDS/Mythfs-perl-1.36.tar.gz, LDS, 2017; MetaCPAN )
Mythfs-perl/lib/Net/MythTV/Fuse/Recordings.pm ( view source; MetaCPAN )
nd.

=head1 METHODS

=cut

use strict;
use POSIX 'strftime';
use LWP::UserAgent;
use JSON qw(encode_json decode_json);
use Date::Parse 'str2time';
use XML::Simple;
use threads;
use threads::shared;
us
ltaneous http gets 

# This single shared variable caches the recorded list from the backend as a JSONized string.
# Within each thread, the list is then unserialized and temporarily cached in each th
$Cache{mtime}\n" if $self->debug;
    $self->mtime($Cache{mtime});
    return $self->cache(decode_json($Cache{recorded}||''));
}

=head2 $path = $r->recording_to_path($metadata)

Given the metadata re
Plack-Session-Store-RedisFast ( A/AK/AKZHAN/Plack-Session-Store-RedisFast-0.05.tar.gz, AKZHAN, 2017; MetaCPAN )
Plack-Session-Store-RedisFast/lib/Plack/Session/Store/RedisFast/Encoder/MojoJSON.pm ( view source; MetaCPAN )
ackage Plack::Session::Store::RedisFast::Encoder::MojoJSON;

use strict;
use warnings;

use 5.008_005;

use Mojo::JSON qw( decode_json encode_json );

sub new {
    my ($class) = @_;

    bless {}, $c
e_json($thing);
}

sub decode {
    my ( $self, $bytes ) = @_;

    decode_json($bytes);
}

1;

__END__

=pod

=encoding utf-8

=head1 NAME

Plack::Session::Store::RedisFast::MojoJSON - L<Mojo::JSON> 
ojo::JSON>-based implementation of L<Plack::Session::Store::RedisFast/inflate>
and L<Plack::Session::Store::RedisFast/deflate>.

=head1 SYNOPSIS

    use Plack::Session::Store::RedisFast::MojoJSON;

 
CPAN-Testers-WWW-Reports ( B/BA/BARBIE/CPAN-Testers-WWW-Reports-3.60.tar.gz, BARBIE, 2017; MetaCPAN )
CPAN-Testers-WWW-Reports/lib/Labyrinth/Plugin/CPAN/Distros.pm ( view source; MetaCPAN )
inth::DTUtils;
use Labyrinth::Plugin::CPAN;
use Labyrinth::Variables;
use Labyrinth::Writer;

use JSON::XS;

#----------------------------------------------------------------------------
# Public Inte
arams{name});
            $tvars{update} = 1;
        }
    }

    # decode from JSON string
    my $parms = decode_json($summary[0]->{dataset});
    for my $key (keys %$parms) { $tvars{$key} = $parms
CPAN-Testers-WWW-Reports ( B/BA/BARBIE/CPAN-Testers-WWW-Reports-3.60.tar.gz, BARBIE, 2017; MetaCPAN )
CPAN-Testers-WWW-Reports/vhost/toolkit/reports-checker.pl ( view source; MetaCPAN )
als;
use Labyrinth::Variables;

use Labyrinth::Plugin::Content;
use Labyrinth::Plugin::CPAN;

use JSON::XS;
use File::Find::Rule;
use File::Slurp;
use Getopt::Long;

#---------------------------------
uthor_lower($cpan,$dbx);
    check_distro_lower($cpan,$dbx);

#    check_author_json($cpan,$dbx);
#    check_distro_json($cpan,$dbx);

    _log("Finish");
}

sub prep_hashes {
    my ($cpan,$dbx) = @_
('hash','GetAuthorSummary',$row->{author});
        if(@summary) {
            my $tvars = decode_json($summary[0]->{dataset});
            next    unless($tvars->{distributions});

            my $do
Mojo-SlackRTM ( S/SK/SKAJI/Mojo-SlackRTM-0.04.tar.gz, SKAJI, 2017; MetaCPAN )
Mojo-SlackRTM/lib/Mojo/SlackRTM.pm ( view source; MetaCPAN )
:SlackRTM;
use Mojo::Base 'Mojo::EventEmitter';

use IO::Socket::SSL;
use Mojo::IOLoop;
use Mojo::JSON ();
use Mojo::Log;
use Mojo::UserAgent;
use Scalar::Util ();

use constant DEBUG => $ENV{MOJO_SLA
b {
    my $tx = shift;
    return if $tx->success and $tx->res->json("/ok");
    if ($tx->success) {
        my $error = $tx->res->json("/error") || "Unknown error";
        return $error;
    } else
 get $SLACK_URL/rtm.start?token=XXX: $error");
        return;
    }
    my $metadata = $tx->res->json;
    $self->metadata($metadata);
    my $url = $metadata->{url};
    $self->ua->websocket($url =>
Dancer2-Plugin-Locale ( D/DM/DMUEY/Dancer2-Plugin-Locale-0.07.tar.gz, DMUEY, 2017; MetaCPAN )
Dancer2-Plugin-Locale/lib/Dancer2/Plugin/Locale.pm ( view source; MetaCPAN )
e = readdir($dh) ) {
                next if $file !~ m/\.json$/;
                next if $file eq 'en.json';
                $file =~ s/\.json//;
                if ( Locales::normalize_tag($file) ne
 $file ) {
                    warn "Skipping un-normalized locale named lexicon ($file.json) …\n";                                                                      # just no apparent need to co

                }

                if ( !-f "$locale_dir/$file.json" ) {
                    warn "Skipping non-file lexicon ($file.json) …\n";
                    next;
                }

        
WebService-BR-Vindi ( D/DL/DLIMA/WebService-BR-Vindi-0.04.tar.gz, DLIMA, 2017; MetaCPAN )
WebService-BR-Vindi/lib/WebService/BR/Vindi.pm ( view source; MetaCPAN )
s;

our @ISA = qw();

our $VERSION = '0.04';


# Preloaded methods go here.
use MIME::Base64;
use JSON::XS;
use utf8;

# Configura as URLs de destino baseado na tag raiz
$WebService::BR::Vindi::Target
 );
 $class->{ua}->ssl_opts( verify_hostname => 0 );
 $class->{ua}->env_proxy;

 # JSON helper
 $class->{json} = JSON::XS->new->allow_nonref->utf8;


 bless( $class, $self );
}

#
# Make the next requ
).' if !$_[0]->{app};
 $_[0]->{failsafe} = 1;
 $_[0];
}

sub ua      { shift->{ua} }
sub json    { shift->{json} }
sub app     { shift->{app} }



#
# Faz uma requisição
#
# @param $Endpoint    Tipo
Plack-Session-Store-RedisFast ( A/AK/AKZHAN/Plack-Session-Store-RedisFast-0.05.tar.gz, AKZHAN, 2017; MetaCPAN )
Plack-Session-Store-RedisFast/lib/Plack/Session/Store/RedisFast/Encoder/Custom.pm ( view source; MetaCPAN )
encoding utf-8

=head1 NAME

Plack::Session::Store::RedisFast::JSON - L<JSON> adapter for Redis session store.

=head1 DESCRIPTION

L<JSON>-based implementation of L<Plack::Session::Store::RedisFast/i
eflate>.

=head1 SYNOPSIS

    use Plack::Session::Store::RedisFast::JSON;

    my $encoder = Plack::Session::Store::RedisFast::JSON->new;

    my $bytes = $encoder->encode( $hashref );

    my $hashr
coder->decode( $bytes );

=head1 DESCRIPTION

Used by default when L<JSON::XS> and L<Mojo::JSON> are not available.

=head1 METHODS

=head2 new

    Plack::Session::Store::RedisFast::JSON->new;

=cut

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