Group
Extension

Matches 35358

WebService-MailJet ( K/KA/KANISHKA/WebService-MailJet-0.003.tar.gz, KANISHKA, 2014; MetaCPAN )
WebService-MailJet/lib/WebService/MailJet.pm ( view source; MetaCPAN )
end

    my $json = $mailjet->send('apikey');

    All "post" methos are called on send_post

    my $data = ( 'name' =>'Name' , 'DateType'=> "str", 'NameSpace' : 'static' );

    my $json = $mailjet-
 are called on send_put

    my $data = ( 'title' => 'Update title of the Newsletter' );

    my $json = $mailjet->send_put('newsletter/123' , %data);

=cut

=head1 AUTHOR

Anwesh <kanishkablack@gmx.c
VM-EC2 ( L/LD/LDS/VM-EC2-1.28.tar.gz, LDS, 2014; MetaCPAN )
VM-EC2/lib/VM/EC2.pm ( view source; MetaCPAN )
CacheDNS ':register';
use HTTP::Request::Common;
use VM::EC2::Error;
use Carp 'croak','carp';
use JSON;

our $VERSION = '1.28';
our $AUTOLOAD;
our @CARP_NOT = qw(VM::EC2::Image    VM::EC2::Volume
    
ndpoint?" . join '&', @param;

    my $response = $self->ua->request($request);

    return JSON::decode_json($response->content);
}

=head2 $url = $ec2->login_url(-credentials => $credentials, -issue
JE ( S/SP/SPROUT/JE-0.066.tar.gz, SPROUT, 2014; MetaCPAN )
JE/lib/JE/Undefined.pm ( view source; MetaCPAN )
 to a global object.

sub new    { bless \do{my $thing = $_[1]}, $_[0] }
sub value  { undef }
*TO_JSON=*value;
sub typeof { 'undefined' }
sub id     { 'undef' }
sub primitive { 1 }
sub to_primitive { 
VM-EC2 ( L/LD/LDS/VM-EC2-1.28.tar.gz, LDS, 2014; MetaCPAN )
VM-EC2/lib/VM/EC2/Instance/Metadata.pm ( view source; MetaCPAN )
AWSEC2/latest/UserGuide/UsingIAM.html.

Note that these routines require installation of the perl JSON module, and will
cause a fatal error if this module cannot be loaded.

 iam_info               --
{/^\d+=(.+)/ && $1} @keys;
}

sub iam_info {
    my $self = shift;
    $self->_load_json;
    return JSON::from_json($self->fetch('iam/info'));
}

sub iam_role {
    my $self = shift;
    return $self
_from_json');
    return VM::EC2::Security::Credentials->new_from_json($data,$self->endpoint);
}

sub _load_json {
    return if JSON->can('decode');
    eval "require JSON; 1" or croak "no JSON modul
VM-EC2 ( L/LD/LDS/VM-EC2-1.28.tar.gz, LDS, 2014; MetaCPAN )
VM-EC2/lib/VM/EC2/REST/security_token.pm ( view source; MetaCPAN )
         Same thing, faster to type.

 -policy           A VM::EC2::Security::Policy object, or a JSON string
                     complying with the IAM policy syntax.

The duration must be no shorte
JE ( S/SP/SPROUT/JE-0.066.tar.gz, SPROUT, 2014; MetaCPAN )
JE/lib/JE/Object.pm ( view source; MetaCPAN )
lf.

=cut

sub value {
	my $self = shift;
	+{ map +($_ => $self->prop($_)), $self->keys };
}

*TO_JSON=*value;




sub id {
	refaddr shift;
}

sub primitive { !1 };

sub prototype {
	@_ > 1 ? (${+shif
Limper-SendJSON ( A/AS/ASHLEYW/Limper-SendJSON-0.003.tar.gz, ASHLEYW, 2014; MetaCPAN )
Limper-SendJSON/lib/Limper/SendJSON.pm ( view source; MetaCPAN )
dJSON;
$Limper::SendJSON::VERSION = '0.003';
use base 'Limper';
use 5.10.0;
use strict;
use warnings;

package		# newline because Dist::Zilla::Plugin::PkgVersion and PAUSE indexer
  Limper;

use JSON:
push @Limper::EXPORT, qw/send_json/;

sub send_json {
    my ($data, @options) = @_;
    response->{headers}{'Content-Type'} //= 'application/json';
    try {
        JSON::MaybeXS->new(@options)->enc
or Pod::Coverage

=head1 NAME

Limper::SendJSON - adds a send_json function to Limper

=head1 VERSION

version 0.003

=head1 SYNOPSIS

  use Limper::SendJSON;
  use Limper;   # this must come after al
JE ( S/SP/SPROUT/JE-0.066.tar.gz, SPROUT, 2014; MetaCPAN )
JE/lib/JE/Null.pm ( view source; MetaCPAN )
an.

=cut

#use Carp;
sub new    { bless \do{my $thing = $_[1]}, $_[0] }
sub value  { undef }
*TO_JSON=*value;
sub typeof { 'object' }
sub id     { 'null' }
sub primitive { 1 }
sub to_primitive { $_[0
Nile ( M/ME/MEWSOFT/Nile-0.55.tar.gz, MEWSOFT, 2014; MetaCPAN )
Nile/lib/Nile/Deserializer.pm ( view source; MetaCPAN )


Nile::Deserializer - Data structures deserializer

=head1 SYNOPSIS
    
    $data = $app->thaw->json($encoded);
    $data = $app->thaw->yaml($encoded);
    $data = $app->thaw->storable($encoded);
  
l($encoded);

    # also deserialize method is an alias for freeze
    $data = $app->deserialize->json($encoded);

=head1 DESCRIPTION

Nile::Deserializer - Data structures deserializer

=cut

use Nile
~~~~~~~~~~~~~~~~~
=head2 json()
    
    $encoded = qq!{"lname":"elsheshtawy","fname":"ahmed","phone":{"home":"02222444","mobile":"012222333"}}!;

    $data = $app->thaw->json($encoded);

    # return
Nile ( M/ME/MEWSOFT/Nile-0.55.tar.gz, MEWSOFT, 2014; MetaCPAN )
Nile/lib/Nile/Serializer.pm ( view source; MetaCPAN )
me=>"elsheshtawy", phone=>{mobile=>"012222333", home=>"02222444"}};

    $encoded = $app->freeze->json($data);
    $encoded = $app->freeze->yaml($data);
    $encoded = $app->freeze->storable($data);
 
->xml($data);

    # also serialize method is an alias for freeze
    $encoded = $app->serialize->json($data);

=head1 DESCRIPTION

Nile::Serializer - Data structures Serializer

=cut

#use Nile::Base
~~~~~~~~~~~~~~~~~
=head2 json()
    
    $data = {fname=>"ahmed", lname=>"elsheshtawy", phone=>{mobile=>"012222333", home=>"02222444"}};
    
    $encoded = $app->freeze->json($data);

    # returns:
Nile ( M/ME/MEWSOFT/Nile-0.55.tar.gz, MEWSOFT, 2014; MetaCPAN )
Nile/lib/Nile/App.pm ( view source; MetaCPAN )
type_text {
    my ($self, $content_type) = @_;
    return $content_type =~ /(\bx(?:ht)?ml\b|text|json|javascript)/;
}
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sub result 
Zabbix-Cli-Monitor ( O/ON/ONEONETWO/Zabbix-Cli-Monitor-0.01.tar.gz, ONEONETWO, 2014; MetaCPAN )
Zabbix-Cli-Monitor/lib/Zabbix/Cli/Monitor.pm ( view source; MetaCPAN )
:Cli::Monitor;

use strict;
use warnings;
use v5.10;
our $VERSION = '0.01';

use Zabbix::API;
use JSON;
use Term::ANSIColor;

use MooseX::App::Simple qw(Color ConfigHome);

use Data::Dumper;
$Data::Du
;
        say <<EOF;
~/.zabmon/config.yaml
---
user: api_user
api_url: http://your.zabbix.url/api_jsonrpc.php
password: imal33thaxx0r
EOF
        exit 1;
        }


    my $zabbix = Zabbix::API->new(
      }
        }
    );
    # Returns the data as a JSON string in _content,
    # get it into a useful data structure:
    my $content = from_json($resp->{_content});
    return $content->{result};
data-recursive-encode ( T/TO/TOKUHIROM/data-recursive-encode-0.05.tar.gz, TOKUHIROM, 2014; MetaCPAN )
data-recursive-encode/lib/Data/Recursive/Encode.pm ( view source; MetaCPAN )
S_NUMERIC_VALUE

do not process numeric value.

    use JSON;
    use Data::Recursive::Encode;

    my $data = { int => 1 };

    is encode_json( Data::Recursive::Encode->encode_utf8($data) ); #=> '{"
int":"1"}'

    local $Data::Recursive::Encode::DO_NOT_PROCESS_NUMERIC_VALUE = 1;
    is encode_json( Data::Recursive::Encode->encode_utf8($data) ); #=> '{"int":1}'

=back

=head1 METHODS

=over 4

=i
Dist-Zilla-Plugin-DOAP ( T/TO/TOBYINK/Dist-Zilla-Plugin-DOAP-0.003.tar.gz, TOBYINK, 2014; MetaCPAN )
Dist-Zilla-Plugin-DOAP/lib/Dist/Zilla/Plugin/DOAP.pm ( view source; MetaCPAN )
ould "just work". The plugin will figure
out everything it needs from your C<distmeta> (i.e. META.json) and
C<Changes> file (if it exists). Here are a few hints though...

=over

=item *

For this mod
presents people as structured resources, while META.json represents
them as strings. This module expects authors and contributors listed in
META.json to conform to one of the following formats:

   Jo
Test-Software-License ( B/BO/BOWTIE/Test-Software-License-0.004000.tar.gz, BOWTIE, 2014; MetaCPAN )
Test-Software-License/lib/Test/Software/License.pm ( view source; MetaCPAN )
_perlscript_ok($options);
	_from_perlmodule_ok($options);
	_from_metayml_ok($options);
	_from_metajson_ok($options);
	_check_for_license_file($options);

	if (not $options->{strict}) {
		$test->ok($pa
om_metajson_ok
#######
sub _from_metajson_ok {
	my $options = shift;
	my $test    = Test::Builder->new;

	if (-e 'META.json') {
		try {
			my $meta_json = Parse::CPAN::Meta->load_file('META.json');
		
or = $meta_json->{author}[0];
			my @guess_json
				= _hack_guess_license_from_meta(@{$meta_json->{license}});
			my @guess_json_meta_name;
			my @guess_json_url;

			for (0 .. $#guess_json) {
				pus
Module-Starter-TOSHIOITO ( T/TO/TOSHIOITO/Module-Starter-TOSHIOITO-0.09.tar.gz, TOSHIOITO, 2014; MetaCPAN )
Module-Starter-TOSHIOITO/lib/Module/Starter/TOSHIOITO.pm ( view source; MetaCPAN )
ER::ignores_guts($type) if $type ne "manifest";
    return <<'HERE'
^_
^\.
^MYMETA\.yml$
^MYMETA\.json$
^_build
^Build$
^blib
^MANIFEST\.
^README\.pod$

# Avoid version control files.
\bRCS\b
\bCVS\b
LendingClub-API ( C/CR/CRYPTOGRA/LendingClub-API-0.3.0.tar.gz, CRYPTOGRA, 2014; MetaCPAN )
LendingClub-API/lib/LendingClub/API.pm ( view source; MetaCPAN )


use JSON;
use Hash::Flatten qw(:all);
use LWP::UserAgent;

my $ua = LWP::UserAgent->new();
$ua->agent("${modname}/${modver}");
$ua->timeout(1);
$ua->default_header('Accept' => "application/json");

       return $self->_json_get( $lcapi{urls}{api}{accounts}{availablecash} )->{availableCash};
}

sub summary
{
        my ($self) = @_;
        return $o->unflatten( $self->_json_get( $lcapi{urls}{ap
urn $o->unflatten( $self->_json_get( $lcapi{urls}{api}{accounts}{notes} ) );
}

sub detailed_notes_owned
{
        my ($self) = @_;
        return $o->unflatten( $self->_json_get( $lcapi{urls}{api}{ac
Nile ( M/ME/MEWSOFT/Nile-0.55.tar.gz, MEWSOFT, 2014; MetaCPAN )
Nile/lib/Nile/Serialization.pm ( view source; MetaCPAN )
~~~~
=head2 Json
    
    $json = $app->freeze->Json;
    $encoded = $json->utf8->encode($data);

Returns L<JSON> object.

=cut

has 'Json' => (
      is      => 'rw',
      isa    => 'JSON',
      la
zy  => 1,
      default => sub {
          load JSON;
          JSON->new;
      }
  );

=head2 Yaml
    
    $yaml = $app->freeze->Yaml;

Returns L<YAML> object.

=cut

has 'Yaml' => (
      is      
efault => sub {
          load YAML;
          YAML->new;
      }
  );

=head2 Storable
    
    $json = $app->freeze->Storable;

Returns "Storable" string. L<Storable> deos not suppot new method.

=c
CPAN-Cover-Results ( N/NE/NEILB/CPAN-Cover-Results-0.03.tar.gz, NEILB, 2014; MetaCPAN )
CPAN-Cover-Results/lib/CPAN/Cover/Results/ReleaseIterator.pm ( view source; MetaCPAN )
ator;
$CPAN::Cover::Results::ReleaseIterator::VERSION = '0.03';
use Moo;
use autodie;
use JSON qw/ decode_json /;
use Carp;

use CPAN::Cover::Results::Release;

has 'results'       => ( is => 'ro'   )
;
    my $fh   = $self->results->open_file();
    local $/;

    my $json_text = <$fh>;
    close($fh);
    return decode_json($json_text);
}

sub _build__keys
{
    my $self            = shift;
    m
CPAN-Cover-Results ( N/NE/NEILB/CPAN-Cover-Results-0.03.tar.gz, NEILB, 2014; MetaCPAN )
CPAN-Cover-Results/lib/CPAN/Cover/Results.pm ( view source; MetaCPAN )
0.03 }
    ;

has '+url' =>
    (
        default => sub { 'http://cpancover.com/latest/cpancover.json.gz' },
    );

sub release_iterator
{
    my $self = shift;

    return CPAN::Cover::Results::Rel

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