Group
Extension

Matches 35358

WWW-KeenIO ( M/MA/MANOWAR/WWW-KeenIO-0.02.tar.gz, MANOWAR, 2015; MetaCPAN )
WWW-KeenIO/lib/WWW/KeenIO.pm ( view source; MetaCPAN )
n 0.02

=cut

our $VERSION = '0.02';

use Carp qw(cluck);
use Data::Dumper;
use REST::Client;
use JSON::XS;
use URI;
use Scalar::Util qw(blessed reftype);
use Readonly;
use Exporter 'import';

use Mou
de_json( $response->responseContent() ) };
    if ($@) {
        cluck(  "Cannot parse response content "
              . $response->responseContent()
              . ", error msg: $@. Is this JSON?" 
s = {
        'Content-Type' => 'application/json',
        Authorization  => $key
    };
    my $response =
      eval { $self->ua->POST( $url, encode_json($data), $headers ); };
    cluck($@) if $@;
Flower ( S/SA/SANTEX/Flower-0.10.tar.gz, SANTEX, 2015; MetaCPAN )
Flower/lib/Flower/Chronos/Logger/Stdout.pm ( view source; MetaCPAN )
ogger::Stdout;

use strict;
use warnings;

use base 'Flower::Chronos::Logger::Base';
#use Data::Printer;
#use JSON ();

sub log {
    my $self = shift;
    my ($info) = @_;

    return $info;


}

1;
Flower ( S/SA/SANTEX/Flower-0.10.tar.gz, SANTEX, 2015; MetaCPAN )
Flower/lib/Flower/Chronos/Report.pm ( view source; MetaCPAN )
package Flower::Chronos::Report;

use strict;
use warnings;

use Time::Piece;
use JSON        ();
use Digest::MD5 ();
use Flower::Chronos::Utils qw(parse_time);
use Encode;

sub new {
    my $class = 
ne = <$fh>)) {
        chomp $line;
        next unless $line;

        my $record = eval { JSON::decode_json($line) };
        next unless $record;

        my $start = $record->{_start};
        my 
WebService-Amazon-ElasticBeanstalk ( M/MC/MCOX/WebService-Amazon-ElasticBeanstalk-v0.0.8.tar.gz, MCOX, 2015; MetaCPAN )
WebService-Amazon-ElasticBeanstalk/lib/WebService/Amazon/ElasticBeanstalk.pm ( view source; MetaCPAN )
proved)$';
Readonly our $REGEX_FILETYPES  => '^(android|docx|ios|gettext|html|xlsx|javaProperties|json|pptx|xliff|xlsx|xml|yaml)$';
Readonly our $REGEX_FILEURI    => '^\S+$';
Readonly our $REGEX_INT  
Flower ( S/SA/SANTEX/Flower-0.10.tar.gz, SANTEX, 2015; MetaCPAN )
Flower/lib/Flower/Node.pm ( view source; MetaCPAN )

use JSON::XS;

use AnyEvent;
use Scalar::Util qw/refaddr/;

use Carp qw/confess/;

use overload '""' => \&to_string;

use Data::UUID;

my $uuid    = Data::UUID->new();
my $timeout = 60;

my $json    
= JSON::XS->new->allow_nonref;


#my $json    = JSON->new();

sub new {
  my $class = shift;
  confess "called as object method" if ref $class;

  my $args = shift || {};

  confess "no parent supplie
    my $url = "https://" . $self->ip . ":" . $self->port . "/REST/1.0/ping?";
    my $nodedata = $json->encode($all_nodes);

    $self->{ping_ua} = Mojo::UserAgent->new;
    $self->{ping_cv} = AE::cv;
Elastic-Model ( D/DR/DRTECH/Elastic-Model-0.52.tar.gz, DRTECH, 2015; MetaCPAN )
Elastic-Model/lib/Elastic/Model/Role/Doc.pm ( view source; MetaCPAN )
$self);
    my %original = %{ $self->uid->from_store ? $self->_source : {} };
    my $json     = $self->model->json;
    my %old;

    my ( $o, $c, $o_str, $c_str );
    my $meta  = Class::MOP::class_
ete $original{$key}, $current->{$key} );
        ( $o_str, $c_str )
            = map { ref $_ ? $json->encode($_) : $_ } ( $o, $c );

        if ( $o_str ne $c_str ) {
            $old{$key} = $meta-
App-Magpie ( J/JQ/JQUELIN/App-Magpie-2.010.tar.gz, JQUELIN, 2015; MetaCPAN )
App-Magpie/lib/App/Magpie/App/Command/fixspec.pm ( view source; MetaCPAN )
ious policies. It will also update the
list of build prereqs, according to F<META.yml> (or F<META.json>)
shipped with the distribution.

Note that this command will abort if it finds that the spec is 
WWW-Freebox ( V/VB/VBA/WWW-Freebox-0.0.2.tar.gz, VBA, 2015; MetaCPAN )
WWW-Freebox/lib/WWW/Freebox.pm ( view source; MetaCPAN )
strict;
use warnings;
use LWP;
use LWP::Simple;
use HTTP::Request;
use HTTP::Request::Common;
use JSON;
use Digest::HMAC_SHA1 qw(hmac_sha1_hex);

=head1 NAME

WWW::Freebox - Access to FreeboxOS API

=
oxOS API
    	my $content = [download_dir => 'path', download_file => ['file.torrent']];
    	my $jsonResponse = $fbx->request("downloads/add", 1, $content);
    }
    
You can find more informations 

=cut

sub new {
	my $class = shift;
	my $self = {
		freebox => shift
	};
	
	my $content = decode_json(get("http://".$self->{freebox}."/api_version") or die("Can't access to http://".$self->{freebox}.
App-Magpie ( J/JQ/JQUELIN/App-Magpie-2.010.tar.gz, JQUELIN, 2015; MetaCPAN )
App-Magpie/lib/App/Magpie/Action/FixSpec.pm ( view source; MetaCPAN )
 $distdir = path( glob "BUILD/*" );
    my $metafile;
    foreach my $meta ( "MYMETA.json", "MYMETA.yml", "META.json", "META.yml" ) {
        next unless -e $distdir->child( $meta );
        $metafile
p {
            ( /^[A-Z]+$/ && ! /^MANIFEST/ ) ||
            m{^(Change(s|log)|MYMETA.yml|META.(json|yml)|e[gx]|(ex|s)amples?|demos?)$}i
        }
        map  { $_->basename }
        $distdir->chi
Flower ( S/SA/SANTEX/Flower-0.10.tar.gz, SANTEX, 2015; MetaCPAN )
Flower/lib/Flower/Rest.pm ( view source; MetaCPAN )
se 'Mojolicious::Controller';
use JSON::XS;
use Number::Format qw/format_bytes/;
use Data::FreqConvert;
my $json    = JSON::XS->new->allow_nonref;

#my $json    = JSON::XS->new->allow_nonref();
# resp
 a ping
sub ping {
  my $self   = shift;
  my $config = $self->config;
  my $nodes  = $self->req->json;

  # Add all the nodes that have been advertised to us by the pinger.
  foreach (@$nodes) {

   
UID
    $config->{nodes}->add_if_necessary($_)
      if ( $_->{uuid} );
  }

  $self->render(
    json => { result => 'ok', 'uuid' => $config->{nodes}->self->uuid } );
}

# list my files
sub files {
 
Mojolicious-Command-donuts ( C/CU/CURTIS/Mojolicious-Command-donuts-0.04.tar.gz, CURTIS, 2015; MetaCPAN )
Mojolicious-Command-donuts/todo/yumyum.pl ( view source; MetaCPAN )
ey         => 'Gmjtd|lu6t2luan5%2C72%3Do5-larsq',
    maxMatches  => 50,
    origin      => 91506,
    radius      => 30,
    units       => 'm',
);
say $ua->get($url)->res->json('/searchResults')->;
WWW-KrispyKreme-HotLight ( C/CU/CURTIS/WWW-KrispyKreme-HotLight-1.1.tar.gz, CURTIS, 2015; MetaCPAN )
WWW-KrispyKreme-HotLight/lib/WWW/KrispyKreme/HotLight.pm ( view source; MetaCPAN )
package WWW::KrispyKreme::HotLight;

use Mojo::Base -base;
use Mojo::UserAgent;
use Mojo::JSON ();

our $VERSION = '1.1';

has 'where';

has locations => \&_build_locations;

sub _build_locations {
  
   search => Mojo::JSON::encode_json($search),
    };

    my $json = $ua->get(
        $hotlight_url => $header => form => $form,
    )->res->json;

    [map $_->{Location}, @$json];
}

1;
__END__

=
Flower ( S/SA/SANTEX/Flower-0.10.tar.gz, SANTEX, 2015; MetaCPAN )
Flower/lib/Flower/Chronos/Application/Firefox.pm ( view source; MetaCPAN )
Firefox;

use strict;
use warnings;

use base 'Flower::Chronos::Application::Base';

use URI;
use JSON ();

sub run {
    my $self = shift;
    my ($info) = @_;

    return
         unless $info->{rol
1;
}

sub _find_current_url {
    my $self = shift;

    my $json = $self->_parse_current_session;

    my @tabs;
    foreach my $w (@{$json->{"windows"}}) {
        foreach my $t (@{$w->{"tabs"}}) {
urrent_session {
    my $self = shift;

    my $session = $self->_slurp_session;
    return JSON::decode_json($session);
}

sub _slurp_session {
    my $self = shift;
    my ($session_file) =
      gl
Elastic-Model ( D/DR/DRTECH/Elastic-Model-0.52.tar.gz, DRTECH, 2015; MetaCPAN )
Elastic-Model/lib/Elastic/Manual.pod ( view source; MetaCPAN )
-free and document oriented

Elasticsearch stores your objects as JSON documents. Most Perl objects
can be mapped easily to their JSON equivalent.

It is schema free, in that you don't need to define 
your
field/properties/attributes ahead of time; you can just toss it a JSON
document and it'll try to autodetect data types and index your doc. That
said, the power of full text search comes from the 
Elastic-Model ( D/DR/DRTECH/Elastic-Model-0.52.tar.gz, DRTECH, 2015; MetaCPAN )
Elastic-Model/lib/Elastic/Model/Role/Model.pm ( view source; MetaCPAN )
leted();
use Scalar::Util qw(blessed refaddr weaken);
use List::MoreUtils qw(uniq);
use JSON();
our $JSON = JSON->new->canonical->utf8;

use namespace::autoclean;
my @wrapped_classes = qw(
    domain 
;
    delete $mapping{type};
    return \%mapping;
}

#===================================
sub json {$JSON}
#===================================

1;

=pod

=encoding UTF-8

=head1 NAME

Elastic::Model
late
an object which does L<Elastic::Model::Role::Doc> into a hash ref
suitable for conversion to JSON.

=head3 deflators

    $deflators = $model->deflators

A hashref which caches all of the deflato
Treex-View ( M/MI/MICHALS/Treex-View-1.0.0.tar.gz, MICHALS, 2015; MetaCPAN )
Treex-View/lib/Treex/View/Node.pm ( view source; MetaCPAN )
> $treex_root );

=head1 DESCRIPTION

Wrapper around regular L<Treex::Core::Node> to provide L<TO_JSON>
method used for converting Treex structure to simple Perl hashes and
arrays.

=head1 IMPORTED CO
andled data type: $decl";
  }

  return $data;
}

=head2 TO_JSON

Called by L<JSON> package while converting blessed items

=cut

sub TO_JSON {
  my $self = shift;

  my $n    = $self->node;
  my $dat
Net-Linkedin-OAuth2 ( A/AK/AKS/Net-Linkedin-OAuth2-0.32.tar.gz, AKS, 2015; MetaCPAN )
Net-Linkedin-OAuth2/lib/Net/Linkedin/OAuth2.pm ( view source; MetaCPAN )
package Net::Linkedin::OAuth2;

use strict;
use warnings;
use JSON::Any;
use LWP::UserAgent;
use Carp 'confess';
use XML::Hash;
use Digest::MD5 'md5_hex';

require Exporter;

our @ISA = qw(Exporter);
    => 'https://api.linkedin.com/v1/people/~:(id,formatted-name,picture-url,email-address)?format=json',
	token  => $token_object->{access_token} 
);
	
# we have the email address			
if ($result->{ema
    => 'https://api.linkedin.com/v1/people/~:(id,formatted-name,picture-url,email-address)?format=json',
		 	token  => $token_object->{access_token} );

		if ($result->{emailAddress}) {
			# we have t
Treex-View ( M/MI/MICHALS/Treex-View-1.0.0.tar.gz, MICHALS, 2015; MetaCPAN )
Treex-View/lib/Treex/View.pm ( view source; MetaCPAN )
t to JSON

use Moose;
use Treex::Core::Document;
use Treex::Core::TredView;
use Treex::Core::TredView::Labels;
use Treex::PML::Factory;
use Treex::View::TreeLayout;
use Treex::View::Node;
use JSON;

u
);
    push @bundles, \%bundle;
  }

  my $json = JSON->new->allow_nonref->allow_blessed->convert_blessed;
  $json = $json->pretty if $pretty;

  return $json->encode(\@bundles);
}

__PACKAGE__->meta-
YATG ( O/OL/OLIVER/YATG-5.20002.tar.gz, OLIVER, 2015; MetaCPAN )
YATG/lib/YATG/Retrieve/RPC.pm ( view source; MetaCPAN )
k> so to change that try:

 rpc_serialized_client_inet:
    data_serializer:
        serializer: 'JSON::Syck'

=head1 SEE ALSO

=over 4

=item L<RPC::Serialized>

=back

=head1 AUTHOR

Oliver Gorwits 
Unix-Mgt ( M/MI/MIKO/Unix-Mgt-0.14.tar.gz, MIKO, 2015; MetaCPAN )
Unix-Mgt/lib/Unix/Mgt.pm ( view source; MetaCPAN )
s_in) = @_;
	my (@cmd, $single, @paths, $cmd_str, @su, $json, $tests);
	
	# TESTING
	# println subname(); ##i
	
	# load JSON module
	require JSON::Tiny;
	
	# paths must be sent
	if (! defined $paths_i

		'-c',
		$cmd_str,
	);
	
	# run command, get results
	$json = capturex(@su);
	
	# decode json
	eval {
		$tests = JSON::Tiny::decode_json($json);
	};
	
	# throw error if unable to decode
	if (! $test
ternal {
	my (@paths) = @_;
	my ($rv);
	
	# TESTING
	# println subname(); ##i
	
	# load JSON module
	require JSON::Tiny;
	
	# initialize return hashref
	$rv = {};
	
	# loop through paths
	PATH_LOOP:
	

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