Group
Extension

Matches 35358

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
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
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.
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',
              
JSYNC ( I/IN/INGY/JSYNC-0.25.tar.gz, INGY, 2015; MetaCPAN )
JSYNC/lib/JSYNC.pod ( view source; MetaCPAN )
im v0.1.38.
See http://github.com/ingydotnet/swim-pm#readme

=encoding utf8

=head1 NAME

JSYNC - JSon Yaml eNCoding

=head1 VERSION

This document describes L<JSYNC> version B<0.25>.
";

=head1 SYNOP
 {pretty => 1});
    $object = JSYNC::load($jsync);

=head1 DESCRIPTION

JSYNC is an extension of JSON that can serialize any data objects.

See: L<http://jsync.org>

=head1 AUTHOR

Ingy döt Net <ing
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} = 
JSYNC ( I/IN/INGY/JSYNC-0.25.tar.gz, INGY, 2015; MetaCPAN )
JSYNC/lib/JSYNC.pm ( view source; MetaCPAN )
use strict; use warnings;
package JSYNC;
our $VERSION = '0.25';

use JSON;

{
    package JSYNC;

    sub dump {
        my ($object, $config) = @_;
        $config ||= {};
        return JSYNC::Dumpe
my $graph = $self->represent($object);
        my $json = 'JSON'->new()->canonical();
        $json->pretty() if $self->{pretty};
        return $json->encode($graph);
    }

    sub represent {
     

    sub load {
        my ($self, $jsync) = @_;
        $self->{seen} = {};
        my $graph = 'JSON'->new()->decode($jsync);
        return $self->construct($graph);
    }


    sub construct {
   
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.

=
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
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 ) = @_
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__
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
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->
Lavoco-Web-App ( C/CA/CAGAO/Lavoco-Web-App-0.06.tar.gz, CAGAO, 2015; MetaCPAN )
Lavoco-Web-App/lib/Lavoco/Web/App.pm ( view source; MetaCPAN )
:Dumper;
use DateTime;
use Email::Stuffer;
use Encode;
use File::Slurp;
use FindBin qw($Bin);
use JSON;
use Log::AutoDump;
use Plack::Handler::FCGI;
use Plack::Request;
use Template;
use Term::ANSICol
se . '/templates';
}

sub _build_filename
{
    my $self = shift;

    return $self->base . '/app.json';
}

=head3 base

The base directory of the application, detected using L<FindBin>.

=head3 dev

<gt>base . '/templates'>.

=head3 filename

Filename for the config file, default is C<app.json> and only JSON is currently supported.

=head3 config

The config as a hash-reference.

=head2 Instance 
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};
Mojolicious-Plugin-JSONP ( T/TE/TEMPIRE/Mojolicious-Plugin-JSONP-0.04.tar.gz, TEMPIRE, 2015; MetaCPAN )
Mojolicious-Plugin-JSONP/lib/Mojolicious/Plugin/JSONP.pm ( view source; MetaCPAN )
kage Mojolicious::Plugin::JSONP;
use Mojo::Base 'Mojolicious::Plugin';

our $VERSION = '0.04';

sub register {
  my ($self, $app, $conf) = @_;

  $app->helper(
    render_jsonp => sub {
      my ($sel
ethod(json => $ref, partial => 1) . ')')
        : $self->render(json => $ref);
    }
  );
}

1;
__END__

=head1 NAME

Mojolicious::Plugin::JSONP - Render JSONP with transparent fallback to JSON

=hea
d1 SYNOPSIS

  plugin JSONP => callback => 'callback_function';

  get '/' => sub {
    shift->render_jsonp({one => 'two'});
  };

  # GET request:
  #  ?callback_function=my_function

  # Response:
 
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
SMS-Send-WebSMS ( A/AB/ABRAXXA/SMS-Send-WebSMS-0.001.tar.gz, ABRAXXA, 2015; MetaCPAN )
SMS-Send-WebSMS/lib/SMS/Send/WebSMS.pm ( view source; MetaCPAN )
SMS service

use Carp;
use HTTP::Tiny;
use URI::Escape qw( uri_escape );
use JSON::MaybeXS qw( decode_json encode_json JSON );

use base 'SMS::Send::Driver';


sub new {
    my $class = shift;
    my 
     # to ensure the response is JSON and not the XML default
            'accept' => 'application/json; charset=utf-8',
            'content-type' => 'application/json; charset=utf-8',
        },
   
nt => encode_json(\%message),
        }
    );

    # for example a timeout error
    die $response->{content}
        unless $response->{success};

    my $response_message = decode_json( $response->
WebService-DPD-API ( R/RN/RNEWSHAM/WebService-DPD-API-v0.0004.tar.gz, RNEWSHAM, 2015; MetaCPAN )
WebService-DPD-API/lib/WebService/DPD/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 DPD API

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

=head2  get_labels_for_job( $id, $format )

Retrieves all label
      data    => {                          # hashref of data for POST/PUT requests, converted to JSON for sending 
                                                    key1 => 'value1',
              
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

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