Group
Extension

Matches 35358

WebService-GData ( S/SH/SHIRIRU/WebService-GData-0.0501.tar.gz, SHIRIRU, 2011; MetaCPAN )
WebService-GData/lib/WebService/GData/Constants.pm ( view source; MetaCPAN )
ER_SERVICE	=> 'sitemaps',
	YOUTUBE_SERVICE		=> 'youtube',

	#FORMATS
	JSON                => 'json',
	JSONC               => 'jsonc',
	ATOM		        => 'atom',
	RSS		            => 'rss',
	
	#HTTP STA
EST UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT GONE INTERNAL_SERVER_ERROR);

my  @format    = qw(JSON JSONC ATOM RSS);

my  @namespace = qw(ATOM_NAMESPACE OPENSEARCH_NAMESPACE GDATA_NAMESPACE GEORSS_NA
ice=> BOOK_SERVICE,....);


    my $base = new WebService::GData::Base();
	   $base->query()->alt(JSON);

    #if not imported
	
    $base->add_namespace(WebService::GData::Constants::MEDIA_NAMESPACE)
Test-Bot ( R/RE/REVMISCHA/Test-Bot-0.09.tar.gz, REVMISCHA, 2011; MetaCPAN )
Test-Bot/lib/Test/Bot/Source/GitHub.pm ( view source; MetaCPAN )
'Test::Bot';
with 'Test::Bot::Source';

use AnyEvent;
use Twiggy::Server;
use Plack::Request;
use JSON;
use DateTime::Format::ISO8601;
use Test::Bot::Commit;
use Carp qw/croak/;

has '_http_server' =>
 got a set of commits
sub parse_payload {
    my ($self, $payload) = @_;

    my $parsed = decode_json($payload) or return;

    my @commits;
    foreach my $commit_info (@{ $parsed->{commits} || []})
Padre-Plugin-Swarm ( B/BR/BRAMBLE/Padre-Plugin-Swarm-0.2.tar.gz, BRAMBLE, 2011; MetaCPAN )
Padre-Plugin-Swarm/lib/Padre/Plugin/Swarm/Transport/Local.pm ( view source; MetaCPAN )
 Object::Event );
use AnyEvent::Handle;
use IO::Socket::Multicast;
use Padre::Swarm::Message;
use JSON;
our $VERSION = '0.2';

=pod

=head1 NAME

Padre::Plugin::Swarm::Transport::Local - Multicast swa
);
    }
    $self->unreg_me;
}

sub _marshal {
    JSON->new
        ->allow_blessed
        ->convert_blessed
        ->utf8
        ->filter_json_object(\&synthetic_class );
}


sub synthetic_class
WebService-GData ( S/SH/SHIRIRU/WebService-GData-0.0501.tar.gz, SHIRIRU, 2011; MetaCPAN )
WebService-GData/lib/WebService/GData/Node.pm ( view source; MetaCPAN )
 $this->{namespaces} = {};
    if ( ref( $args[0] ) eq 'HASH' ) {

        #accept a text tag but json feed uses $t tag so adapt
        #for compatibility
        if ( $args[0]->{'$t'} ) {
          
bService::GData::Node::Category(scheme=>'author','yt:term'=>'Author');
    
    #or coming from a json feed:
    my $category = new WebService::GData::Node::Category({scheme=>'author','yt$term'=>'Auth
y the representation of one xml tag. Feed and Feed subclasses are the representation of an entire JSON response
or offers a subset.

See also:

=over

=item * L<WebService::GData::Node::AbstractEntity
Beagle ( S/SU/SUNNAVY/Beagle-0.01.tar.gz, SUNNAVY, 2011; MetaCPAN )
Beagle/lib/Beagle/Web/Router.pm ( view source; MetaCPAN )
 $entry, request()->upload('attachments') );
                if ( request()->header('Accept') =~ /json/ ) {
                    my $ret = {
                        status    => 'created',
            
                    status(201);
                    content_type('application/json');
                    return to_json($ret);
                }

                if ( $type eq 'comment' ) {
        
          }
            }
            else {
                if ( request()->header('Accept') =~ /json/ ) {
                    my $ret = {
                        status  => 'error',
                
PGXN-API-Searcher ( D/DW/DWHEELER/PGXN-API-Searcher-v0.10.1.tar.gz, DWHEELER, 2011; MetaCPAN )
PGXN-API-Searcher/lib/PGXN/API/Searcher.pm ( view source; MetaCPAN )
nterface

=head1 Synopsis

  use PGXN::API::Searcher;
  use JSON;
  my $search = PGXN::API::Searcher->new('/path/to/api/root');
  encode_json $search->search( query => $query, in => 'docs' );

=head1 
ks for distributing any kind of release distributions and for
providing a lightweight static file JSON REST API.

This module encapsulates the PGXN API search functionality. The indexes are
created by
inst the appropriate index, and returns the results as a hash suitable
for serializing to L<JSON|http://json.org/> in response to a request.

To use this module, one must have a path to the API server
Net-RabbitMQ-Management-API ( I/IB/IBUDAI/Net-RabbitMQ-Management-API-0.01.tar.gz, IBUDAI, 2011; MetaCPAN )
Net-RabbitMQ-Management-API/lib/Net/RabbitMQ/Management/API.pm ( view source; MetaCPAN )
bbitMQ management plugin

use Moo;

use Carp qw(croak);
use HTTP::Headers;
use HTTP::Request;
use JSON::Any;
use LWP::UserAgent;
use Net::RabbitMQ::Management::API::Result;
use URI;



has 'ua' => (
 
 ( $self, $uri ) = @_;
        $self->{url} = URI->new("$uri");
    },
);

has '_json' => (
    builder => '_build__json',
    is      => 'ro',
    lazy    => 1,
);


sub request {
    my ( $self, %ar
 $self->username, $self->password );

    if ($data) {
        my $json = $self->_json->encode($data);
        $request->content($json);
    }

    $request->header( 'Content-Length' => length $reques
Net-RabbitMQ-Management-API ( I/IB/IBUDAI/Net-RabbitMQ-Management-API-0.01.tar.gz, IBUDAI, 2011; MetaCPAN )
Net-RabbitMQ-Management-API/lib/Net/RabbitMQ/Management/API/Result.pm ( view source; MetaCPAN )
PI::Result::VERSION = '0.01';
}

# ABSTRACT: RabbitMQ Management API result object

use Moo;

use JSON::Any;


has 'response' => (
    handles => {
        code        => 'code',
        raw_content =
zy    => 1,
);

has '_json' => (
    builder => '_build__json',
    is      => 'ro',
    isa     => sub { die 'must be a JSON::Any, but is ' . ref $_[0] unless ref $_[0] eq 'JSON::Any' },
    lazy    
 1,
);


sub _build__json {
    my ($self) = @_;
    return JSON::Any->new;
}

sub _build_content {
    my ($self) = @_;
    if ( $self->raw_content ) {
        return $self->_json->decode( $self->raw
JIRA-Client-REST ( G/GP/GPHAT/JIRA-Client-REST-0.06.tar.gz, GPHAT, 2011; MetaCPAN )
JIRA-Client-REST/lib/JIRA/Client/REST.pm ( view source; MetaCPAN )
IRA::Client::REST::VERSION = '0.06';
}
use Moose;

# ABSTRACT: JIRA REST Client

use JSON qw(decode_json encode_json);
use Net::HTTP::Spore;


has '_client' => (
    is => 'rw',
    lazy => 1,
    def
url => $self->url,
            trace => $self->debug,
        );
        $client->enable('Format::JSON');
        $client->enable('Auth::Basic', username => $self->username, password => $self->passwor
p://docs.atlassian.com/jira/REST/latest/>.
It is a thin wrapper, returning decoded version of the JSON without any munging
or mangling.

=head1 HEADS UP

This module is under development and some of t
IO-Storm ( G/GP/GPHAT/IO-Storm-0.01.tar.gz, DSBLANCH, 2011; MetaCPAN )
IO-Storm/lib/IO/Storm/Spout.pm ( view source; MetaCPAN )
 a spout tuple message.

:param tup: the tuple to send to Storm.  Should contain only
            JSON-serializable data.
:type tup: list
:param tup_id: the ID for the tuple. Leave this blank for an
 
WebService-Yahoo-BOSS ( P/PH/PHRED/WebService-Yahoo-BOSS-0.07.tar.gz, PHRED, 2011; MetaCPAN )
WebService-Yahoo-BOSS/lib/WebService/Yahoo/BOSS.pm ( view source; MetaCPAN )
search";
    }

    $args{format} ||= 'json';
    $args{count} = 10;
    die 'only json format supported, xml patches welcome'
      unless $args{format} eq 'json';

    $args{filter} = '-porn';

    
IO-Storm ( G/GP/GPHAT/IO-Storm-0.01.tar.gz, DSBLANCH, 2011; MetaCPAN )
IO-Storm/lib/IO/Storm/Component.pm ( view source; MetaCPAN )
warnings;
use v5.10;
use IO::Handle qw(autoflush);
use IO::File;
use Log::Log4perl qw(:easy);
use JSON::XS;
use Data::Dumper;
use IO::Storm::Tuple;

# Setup Moo for object-oriented niceties
use Moo;
u
'max_blank_msgs' => (
    is      => 'rw',
    default => 500
);

has '_json' => (
    is      => 'rw',
    default => sub { JSON::XS->new->allow_blessed->convert_blessed }
);

has '_topology_name' =>
    }
        }
        chomp($line);
        push( @messages, $line );
    }

    return $self->_json->decode( join( "\n", @messages ) );
}

sub read_task_ids {
    my $self = shift;

    if ( scalar
Config-Merge-Dynamic ( M/ME/MEETTYA/Config-Merge-Dynamic-0.141.tar.gz, MEETTYA, 2011; MetaCPAN )
Config-Merge-Dynamic/lib/Config/Merge/Dynamic.pm ( view source; MetaCPAN )
ents;

=head1 NAME

Config::Merge::Dynamic - load a configuration directory tree containing
YAML, JSON, XML, Perl, INI or Config::General files AND alter it in runtime.

=head1 VERSION

Version 0.14.1
IO-Storm ( G/GP/GPHAT/IO-Storm-0.01.tar.gz, GPHAT, 2011; MetaCPAN )
IO-Storm/lib/IO/Storm.pm ( view source; MetaCPAN )
m::VERSION = '0.01';
}
use Moose;

use IO::Handle qw(autoflush);
use IO::File;
use JSON::XS qw(decode_json encode_json);
use Log::Log4perl;
use IO::Storm::Tuple;

# ABSTRACT: Perl support for Twitter'
 ($self) = @_;

    return decode_json($self->read_string_message);
}


sub send_message_to_parent {
    my ($self, $href) = @_;

    $self->send_to_parent(encode_json($href));
}


sub send_to_parent 


Read a message from the ShellBolt and decode it from JSON.

=head2 send_message_to_parent

Sent a message to the ShellBolt, encoding it as JSON.

=head2 send_to_parent

Send a message to the ShellBo
Catalyst-Helper-Controller-DBIC-API-REST ( A/AM/AMIRI/Catalyst-Helper-Controller-DBIC-API-REST-0.08.tar.gz, AMIRI, 2011; MetaCPAN )
Catalyst-Helper-Controller-DBIC-API-REST/lib/Catalyst/Helper/Controller/DBIC/API/REST.pm ( view source; MetaCPAN )
roducer;

    use strict;
    use warnings;
    use base qw/MyApp::ControllerBase::REST/;
    use JSON::XS;

    __PACKAGE__->config(
        action             =>  { setup => {
                      
ject}->get_columns;
    }
}

1;
__compclass__
package [% class %];

use strict;
use warnings;
use JSON::XS;

use parent qw/[% app %]::ControllerBase::REST/;

__PACKAGE__->config(
    # Define parent c
Pithub ( P/PL/PLU/Pithub-0.01011.tar.gz, OALDERS, 2011; MetaCPAN )
Pithub/lib/Pithub/Markdown.pm ( view source; MetaCPAN )
"github/gollum",
            mode => "gfm",
        },
    );

    # Note that response is NOT in JSON, so ->content will die
    my $html = $response->raw_content;

=head1 AUTHOR

Johannes Plunien <p
Geo-Coder-ArcGIS ( G/GR/GRAY/Geo-Coder-ArcGIS-0.01.tar.gz, GRAY, 2011; MetaCPAN )
Geo-Coder-ArcGIS/lib/Geo/Coder/ArcGIS.pm ( view source; MetaCPAN )
package Geo::Coder::ArcGIS;

use strict;
use warnings;

use Carp qw(croak);
use JSON;
use LWP::UserAgent;
use URI;

our $VERSION = '0.01';
$VERSION = eval $VERSION;

sub new {
    my ($class, %params)
 if $self->{https};
    $uri->query_form(
        SingleLine => $location,
        f          => 'json',
        outFields  => '*',
    );

    my $res = $self->{response} = $self->ua->get(
        $u
 return unless $res->is_success;

    # Change the content type of the response from 'application/json' so
    # HTTP::Message will decode the character encoding.
    $res->content_type('text/plain');
Data-Encoder ( X/XA/XAICRON/Data-Encoder-0.05.tar.gz, XAICRON, 2011; MetaCPAN )
Data-Encoder/lib/Data/Encoder.pm ( view source; MetaCPAN )
  use Data::Encoder;

  my $encoder = Data::Encoder->load('JSON');
  my $json = $encoder->encode(['foo']);
  my $data = $encoder->decode($json);

=head1 DESCRIPTION

Data::Encoder is generic interface
sary, and create new instance of using the given arguments.

  my $encoder = Data::Encoder->load('JSON', +{ utf8 => 1, pretty => 1 });
  
  my $encoder = Data::Encoder->load('+My::Encoder', +{ option 
Net-OAuth2-Moosey-Client ( R/RC/RCL/Net-OAuth2-Moosey-Client-0.02.tar.gz, RCL, 2011; MetaCPAN )
Net-OAuth2-Moosey-Client/lib/Net/OAuth2/Moosey/AccessToken.pm ( view source; MetaCPAN )
$access_token = $token_object->valid_access_token();

=cut

use Moose::Util::TypeConstraints;
use JSON;
use Carp;
use URI::Escape;
use YAML qw/LoadFile DumpFile Dump/;
use MooseX::Types::URI qw(Uri Fi
%s/%s", $response->code, $response->title );
    }
    my $obj = eval{local $SIG{__DIE__}; decode_json($response->decoded_content)} || {};
    if( not $obj->{access_token} ){
        croak( "No access
ror_uri state/) {
        $hash{$_} = $self->{$_} if defined $self->{$_};
    }
    return encode_json(\%hash);
}

=head2 sync_with_store

Sync with the store file.
First reads out the current data fr
Pithub ( P/PL/PLU/Pithub-0.01011.tar.gz, PLU, 2011; MetaCPAN )
Pithub/lib/Pithub/Result.pm ( view source; MetaCPAN )
t::VERSION = '0.01011';
}

# ABSTRACT: Github v3 result object

use Moo;
use Array::Iterator;
use JSON::Any;
use URI;


has 'auto_pagination' => (
    default => 0,
    is      => 'rw',
);


has 'cont
zy    => 1,
);

has '_json' => (
    builder => '_build__json',
    is      => 'ro',
    isa     => sub { die 'must be a JSON::Any, but is ' . ref $_[0] unless ref $_[0] eq 'JSON::Any' },
    lazy    

sub _build_content {
    my ($self) = @_;
    if ( $self->raw_content ) {
        return $self->_json->decode( $self->raw_content );
    }
    return {};
}

sub _build_first_page_uri {
    return shi

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