Group
Extension

Matches 35359

Amazon-SES ( R/RC/RCONOVER/Amazon-SES-0.06.tar.gz, RCONOVER, 2015; MetaCPAN )
Amazon-SES/lib/Amazon/SES.pm ( view source; MetaCPAN )
lt()> is the most important attribute of the resonse I will be giving you a sample result data in JSON notation for your reference.

=head2 new(access_key => $key, secret_key => $s_key)

=head2 ne
ax. See L<Response class|Amazon::SES::Response>.

Sample successful response looks like this in JSON:

    {
        "MessageId": "00000141344ce1a8-0664c3c5-e9a0-4b47-aa2e-12b0bdf6070e-000000"
 
the library.

=back

=head1 SEE ALSO

L<Net::AWS::SES> which this module was based on.

L<JSON>, L<MIME::Base64>, L<Digest::HMAC_SHA1>, L<LWP::UserAgent>, L<Amazon::SES::Response>, L<XML::Simp
WebService-GeoPost-Shipping-API ( R/RN/RNEWSHAM/WebService-GeoPost-Shipping-API-v0.0006.tar.gz, RNEWSHAM, 2015; MetaCPAN )
WebService-GeoPost-Shipping-API/lib/WebService/GeoPost/Shipping/API.pm ( view source; MetaCPAN )
p;
use Moo;
use LWP::UserAgent;
use HTTP::Request::Common;
use URI::Escape;
use Data::Dumper;
use JSON;
use MIME::Base64;
use namespace::clean;

# ABSTRACT: communicates with GeoPost API

our $VERSION
GET',
									path	=> '/shipping/job/',
									header	=> {
													Accept => 'application/json',
												}	
									} ); # uncoverable statement
}

=head2  get_labels_for_job( $id, $forma
      data    => {                          # hashref of data for POST/PUT requests, converted to JSON for sending 
                                                    key1 => 'value1',
              
WebService-Amazon-DynamoDB-Server ( T/TE/TEAM/WebService-Amazon-DynamoDB-Server-0.001.tar.gz, TEAM, 2015; MetaCPAN )
WebService-Amazon-DynamoDB-Server/scripts/latest-errors.pl ( view source; MetaCPAN )
 strict;
use warnings;

use IO::Async;
use Net::Async::HTTP;
use HTML::TreeBuilder qw(-weak);
use JSON::MaybeXS;

my $loop = IO::Async::Loop->new;
$loop->add(
	my $ua = Net::Async::HTTP->new(
		fail_o
> 'tbody'), $ddb;

	binmode STDOUT, ':encoding(UTF-8)';
	my $json = JSON::MaybeXS->new(
		pretty    => 1,
		canonical => 1,
	);
	print $json->encode({
		errors => [
			map {;
				my @cols = map $_->as
],
					exception => $cols[1],
					message   => $cols[2],
					cause     => $cols[3],
					retry     => $cols[4] eq 'Y' ? JSON->true : JSON->false,
				}
			} @rows
		]
	});
	Future->wrap;
})->get;

Amazon-SES ( R/RC/RCONOVER/Amazon-SES-0.06.tar.gz, RCONOVER, 2015; MetaCPAN )
Amazon-SES/lib/Amazon/SES/Response.pm ( view source; MetaCPAN )
n

=head1 METHODS

=cut

class Amazon::SES::Response :ro {

    use XML::Simple;
    use JSON::XS;
    
    has 'response' => (is => 'ro');
    has 'action' => (is => 'ro');
    has 'data
   };

=head2 result_as_json()

Same as C<result()>, except converts the data into JSON notation

=cut
            
    method result_as_json() {
        return JSON::XS->new->allow_nonref->e
WebService-Amazon-IAM ( T/TE/TEAM/WebService-Amazon-IAM-0.002.tar.gz, TEAM, 2015; MetaCPAN )
WebService-Amazon-IAM/lib/WebService/Amazon/IAM.pm ( view source; MetaCPAN )
AM role functionality

=head1 VERSION

version 0.002

=head1 DESCRIPTION

Coming soon.

=cut

use JSON::MaybeXS;
use Time::Moment;

use Log::Any qw($log);

=head1 METHODS

=cut

sub new {
	my ($class,
Requesting credentials from [%s]", "$uri");
	$self->ua->get($uri)->then(sub {
		my $data = $self->json->decode(shift);
		return Future->fail("Invalid return code", iam => $data->{Code}, $data) unless 
uri} }
sub build_uri { my $self = shift; URI->new(join '', $self->base_uri, @_) }
sub json { shift->{json} ||= JSON::MaybeXS->new }

sub ua { shift->{ua} // die "no user agent provided" }

1;

__END__
Net-Surveymonkey ( L/LI/LIOSHA/Net-Surveymonkey-0.03.tar.gz, LIOSHA, 2015; MetaCPAN )
Net-Surveymonkey/lib/Net/Surveymonkey.pm ( view source; MetaCPAN )
rveymonkey API client


use 5.010;
use strict;
use warnings;
use utf8;

use Mouse;

use Carp;
use JSON;
use LWP::UserAgent;
use Log::Any '$log';
use File::Slurp;
use List::Util qw/first/;


our $SM_AP
f->key();
    my $payload = encode_json $data;

    my %header = (
        "Authorization" => "bearer " . $self->token(),
        "Content-Type"  => "application/json",
    );

    $log->trace("Call: 
tent();
    $log->trace("Response: $resp_content")  if $log->is_trace();

    my $result = decode_json $resp_content;

    croak "SM API call failed: $result->{errmsg}"  if $result->{status};

    ret
WebService-Amazon-DynamoDB-Server ( T/TE/TEAM/WebService-Amazon-DynamoDB-Server-0.001.tar.gz, TEAM, 2015; MetaCPAN )
WebService-Amazon-DynamoDB-Server/scripts/latest-regions.pl ( view source; MetaCPAN )
 strict;
use warnings;

use IO::Async;
use Net::Async::HTTP;
use HTML::TreeBuilder qw(-weak);
use JSON::MaybeXS;

my $loop = IO::Async::Loop->new;
$loop->add(
	my $ua = Net::Async::HTTP->new(
		fail_o
> 'tbody'), $ddb;

	binmode STDOUT, ':encoding(UTF-8)';
	my $json = JSON::MaybeXS->new(
		pretty    => 1,
		canonical => 1,
	);
	print $json->encode({
		regions => [
			map {;
				my @cols = map $_->a
WebService-Amazon-IAM ( T/TE/TEAM/WebService-Amazon-IAM-0.002.tar.gz, TEAM, 2015; MetaCPAN )
WebService-Amazon-IAM/lib/WebService/Amazon/IAM/Client.pod ( view source; MetaCPAN )
build_uri>, L<credentials_for_role|WebService::Amazon::IAM/credentials_for_role>, L<json|WebService::Amazon::IAM/json>, L<new|WebService::Amazon::IAM/new>, L<ua|WebService::Amazon::IAM/ua>

=back

=he
MetaCPAN-API-Tiny ( J/JL/JLUIS/MetaCPAN-API-Tiny-1.150270.tar.gz, JLUIS, 2015; MetaCPAN )
MetaCPAN-API-Tiny/lib/MetaCPAN/API/Tiny.pm ( view source; MetaCPAN )
 warnings;
# ABSTRACT: (DEPRECATED) A Tiny API client for MetaCPAN

use Carp;
use JSON::PP 'encode_json', 'decode_json';
use HTTP::Tiny;


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

    $#_ % 2 == 0
    
my $query_json = encode_json( $query );
    my $result     = $self->{ua}->request(
        'POST',
        "$base/$url",
        {
            headers => { 'Content-Type' => 'application/json' },
    
        content => $query_json,
        }
    );

    return $self->_decode_result( $result, $url, $query_json );
}

sub _decode_result {
    my $self = shift;
    my ( $result, $url, $original ) = @_
Labyrinth-Plugin-Core ( B/BA/BARBIE/Labyrinth-Plugin-Core-5.19.tar.gz, BARBIE, 2015; MetaCPAN )
Labyrinth-Plugin-Core/lib/Labyrinth/Plugin/Content.pm ( view source; MetaCPAN )
quired.

=item RealmJS

Use when the JavaScript layout template is required.

=item RealmJSON

Use when the JSON layout template is required.

=item RealmPlain

Use when the plain text layout template
  { $tvars{realm} = 'ical';  }
sub RealmJS     { $tvars{realm} = 'js';    }
sub RealmJSON   { $tvars{realm} = 'json';  }
sub RealmPlain  { $tvars{realm} = 'plain'; }
sub RealmPopup  { $tvars{realm} = 
Mojolicious-Plugin-MozPersona ( H/HJ/HJANSEN/Mojolicious-Plugin-MozPersona-0.05.tar.gz, HJANSEN, 2015; MetaCPAN )
Mojolicious-Plugin-MozPersona/lib/Mojolicious/Plugin/MozPersona/Controller.pm ( view source; MetaCPAN )
ctions for "Persona" authentication.

use Mojo::Base 'Mojolicious::Controller';

use Mojo::JSON qw(decode_json);

use Mozilla::CA qw();
use Data::Dumper;


sub signin {
    my $self = shift;

    $ENV
t = decode_json $persona_response->body;
    };

    if ($@) {
        $self->app->log->error("Error verifying assertion with IdP: $@");
        $self->render( json => { signin => Mojo::JSON->false } 
( json => { signin => Mojo::JSON->true, result => $result } );
    }
}


sub signout {
    my $self = shift;
    delete $self->session->{_persona};
    $self->render( json => { signout => Mojo::JSON->
Message-Rules ( D/DI/DIEDERICH/Message-Rules-1.150170.tar.gz, DIEDERICH, 2015; MetaCPAN )
Message-Rules/lib/Message/Rules.pm ( view source; MetaCPAN )
rnings;
use Message::Match qw(mmatch);
use Message::Transform qw(mtransform);
use File::Find;
use JSON;

sub new {
    my $class = shift;
    my $self  = {};
    bless ($self, $class);
    return $sel
_from_directory: $@\n" if $@;
    my $conf;
    eval {
        $conf = decode_json $contents or die 'failed to decode_json';
    };
    return unless $conf;
    if(not ref $conf) {
#        die "Messa
       open my $fh, '>', $path or die "failed to open $path for write: $!";
            print $fh JSON->new->canonical(1)->pretty(1)->encode($message);
            close $fh or die "failed to close $p
SMS-Send-Nexmo ( M/MI/MICHIELB/SMS-Send-Nexmo-0.23.tar.gz, MICHIELB, 2015; MetaCPAN )
SMS-Send-Nexmo/lib/SMS/Send/Nexmo.pm ( view source; MetaCPAN )
RT_OK = ( @{ $EXPORT_TAGS{'all'} } );
our @EXPORT = qw();

our $URL = 'https://rest.nexmo.com/sms/json';

sub new {
  my $pkg = shift;
  my %p = @_;
  exists $p{_username} or die $pkg."->new requires 
Business-BalancedPayments ( I/IR/IRONCAMEL/Business-BalancedPayments-1.0600.tar.gz, IRONCAMEL, 2015; MetaCPAN )
Business-BalancedPayments/lib/Business/BalancedPayments.pm ( view source; MetaCPAN )
nk_name' => '',
      'can_credit' => bless( do{\(my $o = 1)}, 'JSON::XS::Boolean' ),
      'can_debit' => bless( do{\(my $o = 0)}, 'JSON::XS::Boolean' ),
      'created_at' => '2014-10-06T06:40:14.64
Plack-App-HipChat-WebHook ( C/CH/CHRISJH/Plack-App-HipChat-WebHook-0.001.tar.gz, CHRISJH, 2015; MetaCPAN )
Plack-App-HipChat-WebHook/lib/Plack/App/HipChat/WebHook.pm ( view source; MetaCPAN )
Util::Accessor qw(webhooks hipchat_user_agent );
use Plack::Util;
use Plack::Request;

use JSON qw(decode_json);
use Try::Tiny;

sub call {
    my($self, $env) = @_;

    my $Req = Plack::Request->new
application/json') {
#            warn "Not application/json Content-Type\n";
            return $self->return_400();
        }

        my $rh;
        try {
            $rh = decode_json($Req->conte
nt());
        } catch {
#            warn "Failed to decode JSON content\n";
        };

        if (!$rh) {
            return $self->return_400();
        }

        my $rc = $rh_webhooks->{$path};
Pye-SQL ( I/ID/IDOPEREL/Pye-SQL-1.000001.tar.gz, IDOPEREL, 2015; MetaCPAN )
Pye-SQL/lib/Pye/SQL.pm ( view source; MetaCPAN )
h Pye into MySQL, PostgreSQL or SQLite

use warnings;
use strict;

use Carp;
use DBI;
use JSON::MaybeXS qw/JSON/;
use Role::Tiny::With;

our $VERSION = "1.000001";
$VERSION = eval $VERSION;

with 'Pye
ation.

=head2 PostgreSQL

It is recommended to use PostgreSQL version 9.3 and up, supporting JSON or JSONB
columns. When creating a table for logs, use something like this:

	CREATE TABLE logs (
		se
 TIME ZONE NOT NULL,
		text TEXT NOT NULL,
		data JSON
	);

	CREATE INDEX ON logs (session_id);

If using v9.4 or up, C<data> might better be a C<JSONB> column. As with MySQL,
use your own judgment fo
Business-BalancedPayments ( I/IR/IRONCAMEL/Business-BalancedPayments-1.0600.tar.gz, IRONCAMEL, 2015; MetaCPAN )
Business-BalancedPayments/lib/Business/BalancedPayments/V11.pm ( view source; MetaCPAN )
' );

method BUILD(@args) {
    $self->ua->default_header(
        accept => 'application/vnd.api+json;revision=1.1');
}

around get_card => _unpack_response('cards');

around create_card => _unpack_r
Business-BalancedPayments ( I/IR/IRONCAMEL/Business-BalancedPayments-1.0600.tar.gz, IRONCAMEL, 2015; MetaCPAN )
Business-BalancedPayments/lib/Business/BalancedPayments/Base.pm ( view source; MetaCPAN )
ION = '1.0600'; # VERSION

use Carp qw(croak);
use HTTP::Request::Common qw(GET POST);
use JSON qw(encode_json);

has '+base_url' => (is => 'ro', default => 'https://api.balancedpayments.com');

has s
Pye ( I/ID/IDOPEREL/Pye-2.001001.tar.gz, IDOPEREL, 2015; MetaCPAN )
Pye/lib/Pye.pm ( view source; MetaCPAN )
y changes:

=over

=item * L<Getopt::Long> instead of L<Getopt::Compact>

=item * L<JSON::MaybeXS> instead of L<JSON>

=back

=cut

=head1 CONSTRUCTOR

=head2 new( $backend, [ %options ] )

This is a 
:Long>

=item *  L<JSON::MaybeXS>

=item *  L<Term::ANSIColor>

=item *  L<Text::SpanningTable>

=back

It is recommended to install L<Cpanel::JSON::XS> is recommended
for fast JSON (de)serialization.
Pye-MongoDB ( I/ID/IDOPEREL/Pye-MongoDB-1.000001.tar.gz, IDOPEREL, 2015; MetaCPAN )
Pye-MongoDB/lib/Pye/MongoDB.pm ( view source; MetaCPAN )
item * C<text> - the text of the message, a string, always exists

=item * C<data> - supplemental JSON structure, optional

=back

An index on the C<session_id> field will automatically be created.

=

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