Group
Extension

Matches 35359

Tapper-Benchmark ( T/TA/TAPPER/Tapper-Benchmark-5.0.0.tar.gz, TAPPER, 2016; MetaCPAN )
Tapper-Benchmark/lib/Tapper/Benchmark.pm ( view source; MetaCPAN )
ttern] : [];

    my $s_key;
    if ( $or_self->{cache} ) {
        require JSON::XS;
        $s_key = JSON::XS::encode_json($ar_pattern);
        if ( my $ar_search_data = $or_self->{cache}->get("lis

    # cache?
    my $s_key;
    if ( $or_self->{cache} ) {
        require JSON::XS;
        $s_key = JSON::XS::encode_json({bench_value_id => $i_bench_value_id});
        if ( my $hr_search_data = $
arch ) = @_;

    my $s_key;
    if ( $or_self->{cache} ) {
        require JSON::XS;
        $s_key = JSON::XS::encode_json($hr_search);
        if ( my $ar_search_data = $or_self->{cache}->get("sear
Tapper-Benchmark ( T/TA/TAPPER/Tapper-Benchmark-5.0.0.tar.gz, TAPPER, 2016; MetaCPAN )
Tapper-Benchmark/lib/Tapper/Benchmark/Query/SQLite.pm ( view source; MetaCPAN )
ed_selects{$or_self} = {};

    # deep copy hash
    require JSON::XS;
    $hr_search = JSON::XS::decode_json(
        JSON::XS::encode_json( $hr_search )
    );

    my (
        $s_limit,
        $s
WebService-Walmart ( B/BR/BRANDON/WebService-Walmart-0.01.tar.gz, BRANDON, 2016; MetaCPAN )
WebService-Walmart/lib/WebService/Walmart.pm ( view source; MetaCPAN )
;
use warnings;
$WebService::Walmart::VERSION = "0.01";
use Moose;
use Try::Tiny;
use JSON::MaybeXS qw/ decode_json /;
use Data::Dumper;

use WebService::Walmart::Store;
use WebService::Walmart::Item;
y $content = $response->{content};
    my $status  = $response->{status};
    
    my $h = decode_json($content);
    #return $h;
    my $item = WebService::Walmart::Item->new($h);
    return $item;
}
   my $h = decode_json($content); 
    my $r = $h->{reviews};
    
    my @reviews;
    foreach my $store_json (@$r) {
        my $store = WebService::Walmart::Review->new($store_json);
        push @
WebService-Walmart ( B/BR/BRANDON/WebService-Walmart-0.01.tar.gz, BRANDON, 2016; MetaCPAN )
WebService-Walmart/lib/WebService/Walmart/Request.pm ( view source; MetaCPAN )
Request::VERSION"); },);
has api_key  => ( is => 'rw');
has output   => ( is => 'rw', default => 'json');
has debug    => ( is => 'rw', default => 0);


sub _get {
    my ($self, $path) = @_;
    my @
Config-Simple-Extended ( H/HE/HESCO/Config-Simple-Extended-0.16.tar.gz, HESCO, 2016; MetaCPAN )
Config-Simple-Extended/lib/Config/Simple/Extended.pm ( view source; MetaCPAN )
on are
documented by Mr. Ruzmetov in the perldoc for his module.

If you need some combination of json, yaml, xml, perl, ini or
Config::General formats, take a look at: Config::Merge, which I
learned 
Mojo-SinaWeibo ( S/SJ/SJDY/Mojo-SinaWeibo-1.6.tar.gz, SJDY, 2016; MetaCPAN )
Mojo-SinaWeibo/lib/Mojo/SinaWeibo.pm ( view source; MetaCPAN )
inaWeibo::LAST_DISPATCH_TIME = undef;
use Mojo::Base 'Mojo::EventEmitter';
use Mojo::JSON qw(encode_json decode_json);
use Mojo::Util qw(b64_encode dumper sha1_sum url_escape url_unescape encode decod
62'
        ),
    );
};

has 'nick';
has login_type  => "rsa";#wsse
has api_form => "HTML";#HTML|JSON
has login_state => "invalid";
has 'need_pin' => 0;
has rsa => sub {Crypt::RSA::ES::PKCS1v15->new}
&callback=parent.sinaSSOController.feedBackUrlCallBack',
        returntype  => ($s->api_form eq "JSON"?"TEXT":"META"),
        servertime  => $s->servertime,
        nonce       => $s->nonce,
       
PerlGuard-Agent ( J/JO/JONTAYLOR/PerlGuard-Agent-0.15.tar.gz, JONTAYLOR, 2016; MetaCPAN )
PerlGuard-Agent/lib/PerlGuard/Agent/Output/PerlGuardServer.pm ( view source; MetaCPAN )
::PerlGuardServer;
use Moo;
extends 'PerlGuard::Agent::Output';

use HTTP::Async;
use Encode;
use JSON;
use HTTP::Request;
use HTTP::Headers;
use Time::HiRes;

has api_key => ( is => 'rw', lazy => 1, 
 => shift->api_key, 
      'content-type' => 'application/json'
    ) 
});

has json_encoder => ( is => 'rw', lazy => 1, default => sub { JSON->new->utf8->convert_blessed->allow_blessed });

sub DEFAU
sum_of_web_transactions" => $profile->webservice_transaction_count,
    };

    $content = $self->json_encoder->encode($content);

  };

  

  #warn $content;

  $self->check_responses();

  unless($s
Mojo-SinaWeibo ( S/SJ/SJDY/Mojo-SinaWeibo-1.6.tar.gz, SJDY, 2016; MetaCPAN )
Mojo-SinaWeibo/lib/Mojo/SinaWeibo.pod ( view source; MetaCPAN )
*/*
    > 
    < HTTP/1.1 200 OK
    < Server: Mojolicious (Perl)
    < Content-Type: application/json;charset=UTF-8
    < Connection: keep-alive
    < Date: Fri, 12 Jun 2015 08:01:08 GMT
    < Conten
录加密算法,当前仅支持rsa登录加密算法,wsse无法正常登录
    api_form   #JSON|HTML 微博api接口返回类型,当前仅能够在HTML模式下正常工作

=head1 客户端方
Mojo-SinaWeibo ( S/SJ/SJDY/Mojo-SinaWeibo-1.6.tar.gz, SJDY, 2016; MetaCPAN )
Mojo-SinaWeibo/doc/SinaWeibo.pod ( view source; MetaCPAN )
*/*
    > 
    < HTTP/1.1 200 OK
    < Server: Mojolicious (Perl)
    < Content-Type: application/json;charset=UTF-8
    < Connection: keep-alive
    < Date: Fri, 12 Jun 2015 08:01:08 GMT
    < Conten
录加密算法,当前仅支持rsa登录加密算法,wsse无法正常登录
    api_form   #JSON|HTML 微博api接口返回类型,当前仅能够在HTML模式下正常工作

=head1 客户端方
Text-API-Blueprint ( Z/ZU/ZURBORG/Text-API-Blueprint-0.003.tar.gz, ZURBORG, 2016; MetaCPAN )
Text-API-Blueprint/lib/Text/API/Blueprint.pm ( view source; MetaCPAN )
 or single method given";
    }
}

# Payload (3) Headers Attributes Body Body_CODE Body_YAML Body_JSON Schema Concat
BEGIN { push @EXPORT_OK => qw(Payload) }

sub Payload {
    my $args = shift;
    m
 Body_YAML( delete $args->{yaml} );
    }
    elsif ( exists $args->{json} ) {
        push @body => Body_JSON( delete $args->{json} );
    }

    push @body => Schema( delete $args->{schema} ) if exi
' ) );
}

sub _json {
    my ($struct) = @_;
    load_class('JSON');
    our $JSON //= JSON->new->utf8->pretty->allow_nonref->convert_blessed;
    $JSON->encode($struct);
}

# Body_JSON (2) Body_CODE
Strehler ( C/CY/CYMON/Strehler-1.6.8.tar.gz, CYMON, 2016; MetaCPAN )
Strehler/lib/Strehler/Admin.pm ( view source; MetaCPAN )
 Dancer2 0.166001;
use Dancer2::Plugin::DBIC;
use Dancer2::Plugin::Ajax;
use Dancer2::Serializer::JSON;
use Strehler::Dancer2::Plugin::Admin;
use HTML::FormFu 1.00;
use HTML::FormFu::Element::Block;
u
lse
    {
        return 0;
    }
};
ajax '/category/info' => sub
{
    content_type('application/json');
    my $category;
    my $input = params->{input};
    my $option = params->{option} || undef;
me'} . "/*";
        $data{'id'} = 'anc:'.$input;
    }
    my $serializer = Dancer2::Serializer::JSON->new();
    return $serializer->serialize(\%data);
};
ajax '/category/tagform/:type/:id?' => sub
Strehler ( C/CY/CYMON/Strehler-1.6.8.tar.gz, CYMON, 2016; MetaCPAN )
Strehler/lib/Strehler/Element.pm ( view source; MetaCPAN )

        $data{$c} = $self->get_attr_multilang($c, $language);
    }
    return %data;
}

sub get_json_data
{
    my $self = shift;
    my $language = shift;
    my %data = $self->get_ext_data($langua
    my $img = $self->new($_->id);
        my %el;
        if(exists $args{'json'})
        {
            %el = $img->get_json_data($args{'language'});
        }
        else
        {
            if(e
WebService-Strike ( M/MG/MGV/WebService-Strike-0.006.tar.gz, MGV, 2016; MetaCPAN )
WebService-Strike/lib/WebService/Strike/Torrent.pm ( view source; MetaCPAN )
rict;
use warnings;
use parent qw/Class::Accessor::Fast/;

our $VERSION = 0.006;

use JSON::MaybeXS qw/decode_json/;
use MIME::Base64;
use URI::Escape;
use WebService::Strike;

__PACKAGE__->mk_ro_acce
Strehler ( C/CY/CYMON/Strehler-1.6.8.tar.gz, CYMON, 2016; MetaCPAN )
Strehler/lib/Strehler/API.pm ( view source; MetaCPAN )
PI;
$Strehler::API::VERSION = '1.6.8';
use strict;
use Dancer2 0.166001;
use Dancer2::Serializer::JSON;
use Strehler::Helpers;
use Strehler::Meta::Category;

prefix '/api/v1';

set layout => undef;

m
   my %data = $obj->get_json_data($lang);    
    if($callback)
    {
        content_type('application/javascript');
    }
    else
    {
        content_type('application/json');
    }
    return se
   content_type('application/javascript');
    }
    else
    {
        content_type('application/json');
    }
    return serialize(\%data, $callback);
};

get '/:entity/:id' => sub {
    my $entity 
Net-OpenID-Consumer ( W/WR/WROG/Net-OpenID-Consumer-1.18.tar.gz, WROG, 2016; MetaCPAN )
Net-OpenID-Consumer/lib/Net/OpenID/ClaimedIdentity.pm ( view source; MetaCPAN )
y $url = $cident->claimed_url;
    my $openid_server = $cident->identity_server;
    # ... return JSON with those to user agent (whose request was
    # XMLHttpRequest, probably)
  }

  if ($CLASSIC_m
Time-Progress-Stored ( J/JO/JOHANL/Time-Progress-Stored-1.002.tar.gz, JOHANL, 2016; MetaCPAN )
Time-Progress-Stored/lib/Time/Progress/Stored.pm ( view source; MetaCPAN )
  my $response_json = $storage->retrieve($progress_id)
            or return $self->render(status => 404, json => {});

        return $self->render(json => { progress => $response_json });
    }


=h
 progress report. The request contains the progress id, and
it's simply fetched and returned as a JSON payload.

See above for the contents of the payload.


=head3 Client making a request to a long r
Net-OpenID-Consumer ( W/WR/WROG/Net-OpenID-Consumer-1.18.tar.gz, WROG, 2016; MetaCPAN )
Net-OpenID-Consumer/lib/Net/OpenID/Consumer.pm ( view source; MetaCPAN )
(hmac_sha1_hex);
use Time::Local;
use HTTP::Request;
use LWP::UserAgent;
use Storable;
use JSON qw(encode_json);
use URI::Escape qw(uri_escape_utf8);
use HTML::Parser;

sub new {
    my Net::OpenID::C
fail($code) $text");
    }
    wantarray ? () : undef;
}

sub json_err {
    my Net::OpenID::Consumer $self = shift;
    return encode_json({
        err_code => $self->{last_errcode},
        err_tex
elow.

=item $csr->B<errtext>

Returns the last error text.

=item $csr->B<json_err>

Returns the last error code/text in JSON format.

=back

=head2 Configuration

=over 4

=item $csr->B<ua>($user_ag
WebService-Strike ( M/MG/MGV/WebService-Strike-0.006.tar.gz, MGV, 2016; MetaCPAN )
WebService-Strike/lib/WebService/Strike.pm ( view source; MetaCPAN )
query');
our $VERSION = '0.006';
our $BASE_URL = 'https://getstrike.net/api/v2';

use JSON::MaybeXS qw/decode_json/;
use HTTP::Tiny;
use Sort::ByExample qw/sbe/;
use WebService::Strike::Torrent;

sub 
l);
	die $response unless $response->{success}; ## no critic (RequireCarping)
	$response = decode_json $response->{content};

	map { WebService::Strike::Torrent->new($_) } @{$response->{torrents}};
}
d=$id";
	my $response = _ht->get($url);
	return unless $response->{success};
	my %imdb = %{decode_json $response->{content}};
	$imdb{lc $_} = delete $imdb{$_} for keys %imdb; ## no critic (ProhibitUse
Object-RateLimiter ( A/AV/AVENJ/Object-RateLimiter-1.004001.tar.gz, AVENJ, 2016; MetaCPAN )
Object-RateLimiter/lib/Object/RateLimiter.pm ( view source; MetaCPAN )
eue}  = $self->_queue->copy if $self->_queue;
  $self->new(%params);
}

{ no warnings 'once'; *TO_JSON = *export }
sub export {
  my ($self) = @_;
  +{
    events   => $self->events, 
    seconds  => 
meant like a government thing\n]
unless caller; 1;

=pod

=for Pod::Coverage EVENTS QUEUE SECS TO_JSON

=head1 NAME

Object::RateLimiter - A flood control (rate limiter) object

=head1 SYNOPSIS

  use
Net-Vimeo ( I/IM/IMIRELA/Net-Vimeo-0.000004.tar.gz, IMIRELA, 2016; MetaCPAN )
Net-Vimeo/lib/Net/Vimeo.pm ( view source; MetaCPAN )
package Net::Vimeo;

use Carp;
use Clone qw( clone );
use HTTP::Request;
use JSON qw( decode_json );
use Moose;
use Net::OAuth;

use namespace::autoclean;

with 'Net::Vimeo::OAuth';

our $VERSION = '0
q ) = @_;

    croak "No request for content retrieving" 
        unless $req;

    return decode_json( $req->content );
}

__PACKAGE__->meta->make_immutable;

1;

=head1 NAME

Net::Vimeo - Make reque
    => 'someuserid',
        page        => 1,
        per_page    => 10,
        format      => 'json',
    };

    my $result = $vimeo->make_api_request( 'GET', $request_params);

The canonical docu

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