Group
Extension

Matches 35358

Catmandu-DBI ( N/NJ/NJFRANCK/Catmandu-DBI-0.13.tar.gz, NJFRANCK, 2024; MetaCPAN )
Catmandu-DBI/lib/Catmandu/Store/DBI/Handler/Pg.pm ( view source; MetaCPAN )
'json') {
        if ($dbh->{pg_server_version} < 90400) {
            Catmandu::Error->throw(
                "JSONB type only supported in PostgreSQL 9.4 and above");
        }
        $sql .= 'JSON
;
    my %json_cols;
    for my $map (values %$mapping) {

        if ($map->{type} eq 'binary') {
            $binary_cols{$map->{column}} = 1;
        }
        elsif ($map->{type} eq 'json') {
    
type => DBD::Pg->PG_BYTEA});
        }
        elsif ($json_cols{$col}) {
            $sth->bind_param($i + 1, $val, {pg_type => DBD::Pg->PG_JSONB});
        }
        else {
            $sth->bind_pa
Config-JSON-Enhanced ( B/BL/BLIAKO/Config-JSON-Enhanced-0.10.tar.gz, BLIAKO, 2024; MetaCPAN )
Config-JSON-Enhanced/script/configjson2perl.pl ( view source; MetaCPAN )
)';
binmode STDIN, ':encoding(UTF-8)';

use Getopt::Long qw(:config no_ignore_case);

use Config::JSON::Enhanced;
use Data::Roundtrip qw/perl2dump no-unicode-escape-permanently/;

my $OUTPUT_FILE = un
I inputstring] [--i 'afile.json'] [--o afile] [--c commentstyle] [--tags tags] [--(no-)escape-unicode|-e] [--(no-)terse] [--(no-)indent]\n"
	."\nIt will read an Enhanced-JSON string from command line 
local $/; <STDIN> }
}

my $result = Config::JSON::Enhanced::config2perl(\%params);
if( ! defined $result ){ print STDERR "$0 : error, call to ".'Config::JSON::Enhanced::config2perl()'." has failed.\n"
Config-JSON-Enhanced ( B/BL/BLIAKO/Config-JSON-Enhanced-0.10.tar.gz, BLIAKO, 2024; MetaCPAN )
Config-JSON-Enhanced/script/configjson2json.pl ( view source; MetaCPAN )
ncoding(UTF-8)';

use Getopt::Long qw(:config no_ignore_case);

use Config::JSON::Enhanced;
use Data::Roundtrip qw/perl2json no-unicode-escape-permanently/;

my $OUTPUT_FILE = undef;
my %params = (
	'
ub usage { return
	"Usage : $0 [--I inputstring] [--i 'afile.json'] [--o afile] [--c commentstyle] [--tags tags]\n"
	."\nIt will read a JSON string from command line (-I), or from a file (-i)\n"
	."\n
local $/; <STDIN> }
}

my $result = Config::JSON::Enhanced::config2perl(\%params);
if( ! defined $result ){ print STDERR "$0 : error, call to ".'Config::JSON::Enhanced::config2perl()'." has failed.\n"
App-ElasticSearch-Utilities ( B/BL/BLHOTSKY/App-ElasticSearch-Utilities-8.8.tar.gz, BLHOTSKY, 2024; MetaCPAN )
App-ElasticSearch-Utilities/scripts/es-cluster-settings.pl ( view source; MetaCPAN )
ngs;

use App::ElasticSearch::Utilities qw(:all);
use CLI::Helpers qw(:all);
use Const::Fast;
use JSON::MaybeXS;
use Getopt::Long::Descriptive;
use Pod::Usage;

#--------------------------------------
 $opt->manual;

#------------------------------------------------------------------------#
my $json = JSON->new->pretty->utf8->canonical;

my $current = es_request('/_cluster/settings', { uri_param =>
;
    }
    else {
        output({color=>'red'}, "FAILED applying settings:");
    }
    output($json->encode($data));

    # Show resulting settings
    my $now = es_request('/_cluster/settings', { 
WWW-Plivo-API ( M/MI/MIKEVNTNR/WWW-Plivo-API-0.04.tar.gz, MIKEVNTNR, 2024; MetaCPAN )
WWW-Plivo-API/lib/WWW/Plivo/API.pm ( view source; MetaCPAN )
oken{$self} );
    if( $content and $method ne 'GET' ) {
        $req->content_type( 'application/json' );
        $req->content( $content );
    }

    local $ENV{HTTPS_DEBUG} = $Debug;
    my $res =
lc($key)};
	}
        $Content{$key} = $val;
    }
    my $json = JSON->new();
    my $json_args = $json->encode(\%Content);

    return $json_args;
}

sub DESTROY {
    my $self = $_[0];

    delete 
App-ElasticSearch-Utilities ( B/BL/BLHOTSKY/App-ElasticSearch-Utilities-8.8.tar.gz, BLHOTSKY, 2024; MetaCPAN )
App-ElasticSearch-Utilities/scripts/es-aggregate.pl ( view source; MetaCPAN )
Search::Utilities::Aggregations;
use CLI::Helpers qw(:output);
use Getopt::Long::Descriptive;
use JSON::MaybeXS;
use Pod::Usage;
use Storable qw(dclone);
use YAML::XS ();

# Grab a copy of the args
my
             "Sort ascending, default is descnding" ],
    [],
    ["Display"],
    ['json',      "Results as JSON"],
    ['show-aggs', "Show computed aggregation block"],
    ['show-raw',  "Show raw 
rint $usage->text;
    exit 0;
}
pod2usage(-exitval => 0, -verbose => 2) if $opt->manual;

my $json = JSON->new->utf8->canonical;
my $qs = App::ElasticSearch::Utilities::QueryString->new();
my $q  = $
App-ElasticSearch-Utilities ( B/BL/BLHOTSKY/App-ElasticSearch-Utilities-8.8.tar.gz, BLHOTSKY, 2024; MetaCPAN )
App-ElasticSearch-Utilities/lib/App/ElasticSearch/Utilities/Connection.pm ( view source; MetaCPAN )
.8'; # VERSION

use App::ElasticSearch::Utilities::HTTPRequest;
use CLI::Helpers qw(:output);
use JSON::MaybeXS;
use LWP::UserAgent;
use Module::Load;
use Ref::Util qw(is_ref is_arrayref is_hashref);
alized a UA: %s%s", $ua->agent, $self->password ? ' (password provided)' : '');

    # Decode the JSON Automatically
    $ua->add_handler( response_done => sub {
        my ($response,$lwp_ua,$headers
se->content_type() || 'invalid';
        # JSON Transform
        if( $ctype =~ m{^application/json\b} ) {
            debug({color=>'yellow',indent=>1},"JSON Decoding Response Content");
            
ImgurAPI ( D/DI/DILLANBH/ImgurAPI-0.01.tar.gz, DILLANBH, 2024; MetaCPAN )
ImgurAPI/lib/ImgurAPI.pm ( view source; MetaCPAN )
ct;
use warnings;

use Data::Dumper;
use File::Slurp;
use HTTP::Request::Common;
use JSON qw(decode_json encode_json);
use List::Util qw(first);
use LWP::UserAgent;
use MIME::Base64;
use Mozilla::CA;
ient_secret'  => $args->{'client_secret'},
        'format_type'    => $args->{'format_type'} // 'json',
        'rapidapi_key'   => $args->{'rapidapi_key'},
        'user_agent'     => LWP::UserAgent
p->{'_content'});
    }

    my $decoded = eval { decode_json $resp->{'_content'} };
    if (my $err = $@) {
        die "failed to decode json response: $err\n" . $resp->{'_content'} . "\n";
    }

 
ImgurAPI ( D/DI/DILLANBH/ImgurAPI-0.01.tar.gz, DILLANBH, 2024; MetaCPAN )
ImgurAPI/blib/lib/ImgurAPI.pm ( view source; MetaCPAN )
ata::Dumper;
use File::Slurp;
use HTTP::Headers;
use HTTP::Request::Common 6.07;
use JSON qw(decode_json encode_json);
use List::Util qw(first);
use LWP::UserAgent;
use MIME::Base64;
use Mozilla::CA;
ient_secret'  => $args->{'client_secret'},
        'format_type'    => $args->{'format_type'} // 'json',
        'rapidapi_key'   => $args->{'rapidapi_key'},
        'user_agent'     => LWP::UserAgent
p->{'_content'});
    }

    my $decoded = eval { decode_json $resp->{'_content'} };
    if (my $err = $@) {
        die "failed to decode json response: $err\n" . $resp->{'_content'} . "\n";
    }

 
Net-MailChimp ( A/AR/ARTHAS/Net-MailChimp-0.2.0.tar.gz, ARTHAS, 2024; MetaCPAN )
Net-MailChimp/lib/Net/MailChimp.pm ( view source; MetaCPAN )
args = {
            %$args,
        };

        my $datatransport = $method eq 'get' ? 'form' : 'json';

        my $res = $self->ua->$method( $self->endpoint_uri . "$path" =>
            {
         
      return { httpstatus => $res->code, message => $res->body };
        }

        return $res->json;
    }

    sub md5($self, $string) {
        return md5_hex($string);
    }

    sub md5address(
WWW-Google-CustomSearch ( M/MA/MANWAR/WWW-Google-CustomSearch-0.40.tar.gz, MANWAR, 2024; MetaCPAN )
WWW-Google-CustomSearch/lib/WWW/Google/CustomSearch/Item.pm ( view source; MetaCPAN )
AUTHORITY = 'cpan:MANWAR';

=head1 NAME

WWW::Google::CustomSearch::Item - Placeholder for Google JSON/Atom Custom Search Item.

=head1 VERSION

Version 0.40

=cut

use 5.006;
use Data::Dumper;

use M
WWW-Google-CustomSearch ( M/MA/MANWAR/WWW-Google-CustomSearch-0.40.tar.gz, MANWAR, 2024; MetaCPAN )
WWW-Google-CustomSearch/lib/WWW/Google/CustomSearch/Page.pm ( view source; MetaCPAN )
AUTHORITY = 'cpan:MANWAR';

=head1 NAME

WWW::Google::CustomSearch::Page - Placeholder for Google JSON/Atom Custom Search Page.

=head1 VERSION

Version 0.40

=cut

use 5.006;
use Data::Dumper;

use M
AI-Image ( B/BO/BOD/AI-Image-0.1.tar.gz, BOD, 2024; MetaCPAN )
AI-Image/lib/AI/Image.pm ( view source; MetaCPAN )
e;

use strict;
use warnings;

use strict;
use warnings;

use Carp;
use HTTP::Tiny;
use JSON::PP;

our $VERSION = '0.1';
$VERSION = eval $VERSION;

my $http = HTTP::Tiny->new;

# Crea
         'Authorization' => 'Bearer ' . $self->{'key'},
         'Content-type'  => 'application/json'
     };
 }

# Get URL from image prompt
sub image {
    my ($self, $prompt) = @_;

    m
 'Bearer ' . $self->{'key'},
             'Content-type'  => 'application/json'
         },
         content => encode_json {
             model          => $self->{'model'},
             size   
Async-Event-Interval ( S/ST/STEVEB/Async-Event-Interval-1.13.tar.gz, STEVEB, 2024; MetaCPAN )
Async-Event-Interval/lib/Async/Event/Interval.pm ( view source; MetaCPAN )
aster&service=github' alt='Coverage Status' /></a>


=head1 SYNOPSIS

A simple event that updates JSON data from a website using a shared scalar
variable, while allowing the main application to contin
 = Async::Event::Interval->new(2, \&callback);

    my $json = $event->shared_scalar;

    $event->start;

    while (1) {
        print "$$json\n";

        #... do other things

        $event->rest
art if $event->error;
    }

    sub callback {
        $$json = ...; # Fetch JSON from website
    }

=head1 DESCRIPTION

Very basic implementation of asynchronous events triggered by a timed interva
Net-PaccoFacile ( A/AR/ARTHAS/Net-PaccoFacile-0.1.0.tar.gz, ARTHAS, 2024; MetaCPAN )
Net-PaccoFacile/lib/Net/PaccoFacile.pm ( view source; MetaCPAN )
args = {
            %$args,
        };

        my $datatransport = $method eq 'get' ? 'form' : 'json';

        # die $self->endpoint_uri . "$path";
        # use Data::Dump qw/dump/; die dump($reqa
esult;
        croak $res->message .': ' . $res->body if !$res->is_success;

        return $res->json;
    }

    sub _validate_method($self, $method) {
        confess 'Invalid-method' if !defined f
WWW-Google-CustomSearch ( M/MA/MANWAR/WWW-Google-CustomSearch-0.40.tar.gz, MANWAR, 2024; MetaCPAN )
WWW-Google-CustomSearch/lib/WWW/Google/CustomSearch/Request.pm ( view source; MetaCPAN )
HORITY = 'cpan:MANWAR';

=head1 NAME

WWW::Google::CustomSearch::Request - Placeholder for Google JSON/Atom Custom Search Request.

=head1 VERSION

Version 0.40

=cut

use 5.006;
use Data::Dumper;
use
WWW-Google-CustomSearch ( M/MA/MANWAR/WWW-Google-CustomSearch-0.40.tar.gz, MANWAR, 2024; MetaCPAN )
WWW-Google-CustomSearch/lib/WWW/Google/CustomSearch.pm ( view source; MetaCPAN )
head1 NAME

WWW::Google::CustomSearch - Interface to Google JSON/Atom Custom Search.

=head1 VERSION

Version 0.40

=cut

use 5.006;
use JSON;
use Data::Dumper;
use URI;

use WWW::Google::UserAgent;
u
b { return 1 });
has 'alt'              => (is => 'ro', isa => FileType, default => sub { return 'json' });

has [ qw(callback fields quotaUser userIp cref cx dateRestrict exactTerms
         excludeT
t with the JSON/Atom Custom Search API. With Google Custom Search, you can
harness the power of Google to create a customized search experience for your own
website.  You  can  use the JSON/Atom Custo
Net-OpenVPN-Manager ( A/AT/ATOY/Net-OpenVPN-Manager-0.17.tar.gz, ATOY, 2024; MetaCPAN )
Net-OpenVPN-Manager/lib/Net/OpenVPN/Manager/Plugin/PacketFilter.pm ( view source; MetaCPAN )
);
use MooseX::Types::Structured qw(Dict Optional);
use Net::OpenVPN::Manager::Plugin;
use JSON qw(encode_json);
use Scalar::Util qw(reftype);

with 'Net::OpenVPN::Manager::Startable';
with 'Net::Open
         'GET + /profiles' => sub {
                [200, ['Content-type' => 'application/json'], [encode_json({ profiles => [$self->profile_names]})]]
            },
            'GET + /profile/*' =>
ist"]]
                } else {
                    [200, ['Content-type' => 'application/json'], [encode_json({ name => $name, content => _profile_entries($self->get_profile($name)) })]]
            
WWW-Google-CustomSearch ( M/MA/MANWAR/WWW-Google-CustomSearch-0.40.tar.gz, MANWAR, 2024; MetaCPAN )
WWW-Google-CustomSearch/lib/WWW/Google/CustomSearch/Result.pm ( view source; MetaCPAN )
THORITY = 'cpan:MANWAR';

=head1 NAME

WWW::Google::CustomSearch::Result - Placeholder for Google JSON/Atom Custom Search Result.

=head1 VERSION

Version 0.40

=cut

use 5.006;
use Data::Dumper;
use 
Net-OpenVPN-Manager ( A/AT/ATOY/Net-OpenVPN-Manager-0.17.tar.gz, ATOY, 2024; MetaCPAN )
Net-OpenVPN-Manager/lib/Net/OpenVPN/Manager/Plugin/Iptables.pm ( view source; MetaCPAN )
ef HashRef);
use MooseX::Types::Structured qw(Dict Optional);
use Digest::MD5 qw(md5_base64);
use JSON;

with 'Net::OpenVPN::Manager::Startable';
with 'Net::OpenVPN::Manager::Addressable';
with 'Net::
|| $hidden  } $self->profile_names;
                [200, ['Content-type' => 'application/json'], [encode_json({ profiles => [@profiles]})]]
            },
            'GET + /profile/*' => sub {
    
' => 'application/json'], [encode_json({ error => "profile does not exist" })]]
                } else {
                    [200, ['Content-type' => 'application/json'], [encode_json({ name => $name,

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