Group
Extension

Matches 35359

WWW-GoKGS ( A/AN/ANAZAWA/WWW-GoKGS-0.21.tar.gz, ANAZAWA, 2014; MetaCPAN )
WWW-GoKGS/lib/WWW/GoKGS/Scraper/GameArchives.pm ( view source; MetaCPAN )
you can pass URIs included by the return value of C<query> method.

=back

=head1 EXAMPLES

  use JSON::Path qw/jpath_map/; 
  use Time::Piece qw/gmtime/;

  # convert start times for games into Time:
DJSON ( I/IN/INGY/DJSON-0.0.8.tar.gz, INGY, 2014; MetaCPAN )
DJSON/lib/DJSON.pod ( view source; MetaCPAN )
head1 NAME

DJSON - Decommisioned. Use JSONY.pm instead.

=for html
<a href="https://travis-ci.org/ingydotnet/djson-pm"><img src="https://travis-ci.org/ingydotnet/djson-pm.png" alt="djson-pm"></a>
<a 
ngydotnet/djson-pm?branch=master"><img src="https://coveralls.io/repos/ingydotnet/djson-pm/badge.png" alt="djson-pm"></a>

=head1 SYNOPSIS

    use DJSON;

    my $data = decode_djson $djson_string;

=head1 DESCRIPTION

DJSON is a data language that is simlar to JSON, just more chill. All valid
JSON is also valid DJSON (and represents the same thing when decoded), but
DJSON lets you omit a lot of 
Finance-BlockIO ( N/NO/NORTHRUP/Finance-BlockIO-0.02.tar.gz, NORTHRUP, 2014; MetaCPAN )
Finance-BlockIO/lib/Finance/BlockIO.pm ( view source; MetaCPAN )
ockIO;

use 5.006;
use strict;
use warnings FATAL => 'all';

use Carp;
use WWW::Curl::Simple;
use JSON;
use Exporter 'import';
our @EXPORT_OK = qw(get_new_address
                get_my_addresses
    
aw_from_user
                get_current_price);

=head1 NAME

Finance::BlockIO - Perl wrapper to JSON-based Block.io API

=head1 VERSION

Version 0.01

=cut

our $VERSION = '0.02';

=head1 SYNOPSIS

 provides a bare interface to the Block.io JSON-based API,
using WWW::Curl::Simple to make requests and returning a Perl data structure
created from any JSON response received.

You'll probably need a
McBain-WithZeroMQ ( I/ID/IDOPEREL/McBain-WithZeroMQ-2.000000.tar.gz, IDOPEREL, 2014; MetaCPAN )
McBain-WithZeroMQ/lib/McBain/WithZeroMQ.pm ( view source; MetaCPAN )
e strict;
use 5.10.0;

use Carp;
use JSON;
use ZMQ::LibZMQ3;
use ZMQ::Constants qw(ZMQ_REP);

our $VERSION = "2.000000";
$VERSION = eval $VERSION;

my $json = JSON->new->utf8->convert_blessed;
my $MAX
>
and L<mcbain-zmq-client>, respectively.

The workers created by this module receive payloads in JSON format, and convert them into the 
hash-refs your API's methods expect to receive. The payload mu
o the clients in JSON as well. Note that if an API method does not return a hash-ref, this runner
module will automatically turn it into a hash-ref to ensure that conversion into JSON will
be possible
Plack-Middleware-ProxyMap ( I/IN/INGY/Plack-Middleware-ProxyMap-0.20.tar.gz, INGY, 2014; MetaCPAN )
Plack-Middleware-ProxyMap/lib/Plack/Middleware/ProxyMap.pod ( view source; MetaCPAN )
 easily find data, that you
can subsequently display. You can also use REST APIs that offer JSON but not
JSONP, directly from JavaScript.

=head1 CREDIT

This is just a simple way to use L<Plack::App:
Plack-App-SeeAlso ( V/VO/VOJ/Plack-App-SeeAlso-0.14.tar.gz, VOJ, 2014; MetaCPAN )
Plack-App-SeeAlso/lib/Plack/App/SeeAlso.pm ( view source; MetaCPAN )
JSONP;
use Plack::Middleware::Static;
use Plack::App::unAPI qw(0.3);
use File::ShareDir qw(dist_dir);
use Plack::Util;
use Carp qw(croak);
use Scalar::Util qw(blessed reftype);
use Try::Tiny;
use JSON
$self->query(@_) } ), $f->type ];

    my $app = unAPI( %formats );
    $app = Plack::Middleware::JSONP->wrap($app);

    if ($self->{Stylesheet}) {
        $app = Plack::Middleware::Static->wrap( $ap
App-Nostray ( M/MI/MILA/App-Nostray-1.01.tar.gz, MILA, 2014; MetaCPAN )
App-Nostray/lib/App/Nostray.pm ( view source; MetaCPAN )
ostray;
$App::Nostray::VERSION = '1.01';
use File::Next;
use Getopt::Std;
use JavaScript::V8;
use JSON;
use File::Slurp;

=head1 NAME

App::Nostray - Detect and eliminate stray commas in Javascript so
jQluster-Server-WebSocket ( T/TO/TOSHIOITO/jQluster-Server-WebSocket-0.03.tar.gz, TOSHIOITO, 2014; MetaCPAN )
jQluster-Server-WebSocket/lib/jQluster/Server/WebSocket.pm ( view source; MetaCPAN )
;
use Plack::App::WebSocket;
use Scalar::Util qw(weaken refaddr);
use Try::Tiny;
use JSON qw(decode_json encode_json);

our $VERSION = "0.03";

sub new {
    my ($class, @args) = @_;
    my $self = $c
e_str) = @_;
            return if !$self;
            try {
                my $message = decode_json($message_str);
                if(!ref($message) || ref($message) ne "HASH") {
                  
> sub {
            my ($send_message) = @_;
            try {
                $conn->send(encode_json($send_message));
            }catch {
                my $e = shift;
                return !$sel
Net-Async-SPORE ( T/TE/TEAM/Net-Async-SPORE-0.003.tar.gz, TEAM, 2014; MetaCPAN )
Net-Async-SPORE/lib/Net/Async/SPORE/Loader.pm ( view source; MetaCPAN )
N

Version 0.003

=head1 SYNOPSIS

 my $api = Net::Async::SPORE::Loader->new_from_file(
  'sample.json',
  transport => 'Net::Async::HTTP',
  class     => 'Sample::API',
 );
 $api->some_request(x => 1
classes in memory.

=cut

use Net::Async::SPORE::Request;
use Net::Async::SPORE::Definition;

use JSON::MaybeXS;
use File::Spec;

sub inject_method(&@);

=head1 METHODS

=cut

=head2 new_from_file

In
w API object from the given file.

 my $api = Net::Async::SPORE::Loader->new_from_file(
  'sample.json',
  transport => 'Net::Async::HTTP',
  class     => 'Sample::API',
 );
 $api->some_request(x => 1
Net-Async-SPORE ( T/TE/TEAM/Net-Async-SPORE-0.003.tar.gz, TEAM, 2014; MetaCPAN )
Net-Async-SPORE/lib/Net/Async/SPORE/Definition.pm ( view source; MetaCPAN )
SCRIPTION

No user-serviceable parts inside. See L<Net::Async::SPORE::Loader> instead.

=cut

use JSON::MaybeXS;

=head2 new

Instantiates this object.

=cut

sub new { my $class = shift; bless { @_ }
eq) = @_;
	$self->_transport->do_request(
		request => $req
	)->transform(
		done => sub { decode_json(shift->content) }
	)
}

1;

__END__

=head1 AUTHOR

Tom Molesworth <cpan@perlsite.co.uk>

=head1 
Net-Todoist ( N/NE/NEILB/Net-Todoist-0.06.tar.gz, NEILB, 2014; MetaCPAN )
Net-Todoist/lib/Net/Todoist.pm ( view source; MetaCPAN )
 to the API for Todoist (a to-do list service)

use strict;
use warnings;
use LWP::UserAgent;
use JSON::XS;
use Carp 'croak';
use vars qw/$errstr/;

sub new {
    my $class = shift;
    my $args = sca
        $args->{ua} = LWP::UserAgent->new(%$ua_args);
    }
    unless ( $args->{json} ) {
        $args->{json} = JSON::XS->new->utf8->allow_nonref;
    }

    bless $args, $class;
}

sub errstr { $e
'LOGIN_ERROR' ) {
        $errstr = $resp->content;
        return;
    }

    my $data = $self->{json}->decode( $resp->content );
    $self->{token} = $data->{api_token};
    return $data;
}

sub get
Net-Async-SPORE ( T/TE/TEAM/Net-Async-SPORE-0.003.tar.gz, TEAM, 2014; MetaCPAN )
Net-Async-SPORE/lib/Net/Async/SPORE.pm ( view source; MetaCPAN )
 > utility for running methods
against a SPORE definition from the commandline:

 spore -s github.json list_repos username=tm604

=cut

1;

__END__

=head1 SEE ALSO

=head1 AUTHOR

Tom Molesworth <cpa
Gerrit-REST ( G/GN/GNUSTAVO/Gerrit-REST-0.011.tar.gz, GNUSTAVO, 2014; MetaCPAN )
Gerrit-REST/lib/Gerrit/REST.pm ( view source; MetaCPAN )
 around Gerrit's REST API

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

use Carp;
use URI;
use JSON;
use Data::Util qw/:check/;
use REST::Client;

sub new {
    my ($class, $URL, $username, $passwo
ication by default
    $rest->setFollow(1);

    # Request compact JSON by default
    $rest->addHeader('Accept' => 'application/json');

    # Configure UserAgent name and password authentication
   
Code Review', $username, $password);
    }

    return bless {
        rest => $rest,
        json => JSON->new->utf8->allow_nonref,
    } => $class;
}

sub _error {
    my ($self, $content, $type, $c
WebService-Lingr-Archives ( T/TO/TOSHIOITO/WebService-Lingr-Archives-0.03.tar.gz, TOSHIOITO, 2014; MetaCPAN )
WebService-Lingr-Archives/lib/WebService/Lingr/Archives.pm ( view source; MetaCPAN )
Archives;
use strict;
use warnings;
use 5.10.0;
use Carp;
use LWP::UserAgent;
use URI;
use JSON qw(decode_json);

our $VERSION = '0.03';

sub new {
    my ($class, %args) = @_;
    if(!defined($args{u
!$res->is_success) {
        croak "Network Error: " . $res->status_line;
    }
    return decode_json($res->content);
}

1;

__END__

=pod

=head1 NAME

WebService::Lingr::Archives - load archived me
Net-Twitter-Loader ( T/TO/TOSHIOITO/Net-Twitter-Loader-0.04.tar.gz, TOSHIOITO, 2014; MetaCPAN )
Net-Twitter-Loader/lib/Net/Twitter/Loader.pm ( view source; MetaCPAN )
package Net::Twitter::Loader;
use strict;
use warnings;
use JSON qw(decode_json encode_json);
use Try::Tiny;
use Carp;
use Time::HiRes qw(sleep);

our $VERSION = "0.04";

our @CARP_NOT = qw(Try::Tiny 
$self->{filepath} or return undef;
    my $json_text = do { local $/ = undef; <$file> };
    close $file;
    my $since_ids = try {
        decode_json($json_text);
    }catch {
        my $e = shift;

        $self->_log("warn", "failed to decode_json");
        return {};
    };
    $since_ids = {} if not defined $since_ids;
    return $since_ids;
}

sub _log {
    my ($self, $level, $msg) = @_;
RDF-NLP-SPARQLQuery ( T/TH/THHAMON/RDF-NLP-SPARQLQuery-0.1.tar.gz, THHAMON, 2014; MetaCPAN )
RDF-NLP-SPARQLQuery/lib/RDF/NLP/SPARQLQuery/Query.pm ( view source; MetaCPAN )
ckage RDF::NLP::SPARQLQuery::Query;

use utf8;
use strict;
use warnings;
use Data::Dumper;

# use JSON:PP;
use HTTP::Request;
use LWP::UserAgent;
use URL::Encode;
# use XML::Simple;

use Storable qw (
POD2-RU-PSGI ( V/VT/VTI/POD2-RU-PSGI-0.003.tar.gz, VTI, 2014; MetaCPAN )
POD2-RU-PSGI/lib/POD2/RU/PSGI.pod ( view source; MetaCPAN )
pe', 'application/json' ]]);

          wait_for_events(sub {
              my $new_event = shift;
              if ($new_event) {
                  $writer->write($new_event->as_json . "\n");
       
App-MtAws ( V/VS/VSESPB/App-MtAws-1.120.tar.gz, VSESPB, 2014; MetaCPAN )
App-MtAws/test.t ( view source; MetaCPAN )
::Harness;
use strict;
use warnings;
use utf8;
use FindBin;
use Config;

# build requirements
use JSON::XS ();
use Test::Deep ();
use Test::Simple ();
use File::Temp ();
use Test::More ();
use Test::M
App-MtAws ( V/VS/VSESPB/App-MtAws-1.120.tar.gz, VSESPB, 2014; MetaCPAN )
App-MtAws/lib/App/MtAws/Command/DownloadInventory.pm ( view source; MetaCPAN )
:Journal;
use App::MtAws::MetaData;
use App::MtAws::DateTime;
use App::MtAws::Glacier::Inventory::JSON;
use App::MtAws::Glacier::Inventory::CSV;

use App::MtAws::QueueJob::FetchAndDownloadInventory;

ttachmentref) = @_;
	my $data = do {
		if ($inventory_type eq INVENTORY_TYPE_JSON) {
			App::MtAws::Glacier::Inventory::JSON->new($$attachmentref)
		} elsif ($inventory_type eq INVENTORY_TYPE_CSV) {
	
POD2-RU-PSGI ( V/VT/VTI/POD2-RU-PSGI-0.003.tar.gz, VTI, 2014; MetaCPAN )
POD2-RU-PSGI/lib/POD2/RU/PSGI/FAQ.pod ( view source; MetaCPAN )
   my $message = shift;
              my $body = [ $message->to_json ];
              $respond->([200, ['Content-Type', 'application/json'], $body]);
          });
      };
  };

C<wait_for_new_messag
 my $message = shift;
              if ($message) {
                  $writer->write($message->to_json);
              } else {
                  $writer->close;
              }
          });
      };

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