Group
Extension

Matches 35359

WebService-GData ( S/SH/SHIRIRU/WebService-GData-0.0501.tar.gz, SHIRIRU, 2011; MetaCPAN )
WebService-GData/lib/WebService/GData/Serialize.pm ( view source; MetaCPAN )
->xml(@args);   
    
    #a json format might be added
    #load behind the scene: WebService::GData::Serialize::JSON
    my $json = WebService::GData::Serialize->to_json(@args);       
   



=head1
WebService-GData ( S/SH/SHIRIRU/WebService-GData-0.0501.tar.gz, SHIRIRU, 2011; MetaCPAN )
WebService-GData/lib/WebService/GData/YouTube/Feed/Video.pm ( view source; MetaCPAN )
te a L<WebService::GData::YouTube::Feed::Video> instance. 

=back

B<Parameters>:

=over

=item C<jsonc_video_entry_feed:Object> (Optional)

=item C<authorization:Object> (Optional)

or 

=item C<auth
deo->id('video_id')     



=head1  CONFIGURATION AND ENVIRONMENT

none


=head1  DEPENDENCIES

L<JSON>

L<LWP>

=head1  INCOMPATIBILITIES

none

=head1 BUGS AND LIMITATIONS

If you do me the favor to
WebService-GData ( S/SH/SHIRIRU/WebService-GData-0.0501.tar.gz, SHIRIRU, 2011; MetaCPAN )
WebService-GData/lib/WebService/GData/YouTube/Query.pm ( view source; MetaCPAN )


The following parameters are set by default:

=over

=item C<alt= WebService::GData::Constants::JSON>

=item C<v= WebService::GData::Constants::GDATA_MINIMUM_VERSION>

=item C<prettyprint= WebServic
y $query = new WebService::GData::YouTube::Query();

	$query->to_query_string();# by default:?alt=json&v=2&prettyprint=false&strict=true

=back

=head2 INHERITED METHODS

All the following methods are
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
WebService-GData ( S/SH/SHIRIRU/WebService-GData-0.0501.tar.gz, SHIRIRU, 2011; MetaCPAN )
WebService-GData/lib/WebService/GData/YouTube/Doc/GeneralOverview.pod ( view source; MetaCPAN )
To use the Perl client library, you must be running Perl >= 5.8.8. 

You also need to use LWP and JSON >=2.0

The snippets of sample code in this document can be copied and pasted into your code and t
WebService-GData ( S/SH/SHIRIRU/WebService-GData-0.0501.tar.gz, SHIRIRU, 2011; MetaCPAN )
WebService-GData/lib/WebService/GData/YouTube.pm ( view source; MetaCPAN )
ameters>

=over 4

=item C<none>

=back

B<Returns>

=over

=item C<url:Scalar> - default to ?alt=json&prettyprint=false&strict=true

=back

=back

=head3 connection

=over

Get the connection handler
d read/write

=back

Certainly missing many other stuffs...

=head1  DEPENDENCIES

=over

=item L<JSON>

=item L<LWP>

=back

=head1 BUGS AND LIMITATIONS

If you do me the favor to _use_ this module a
Padre-Plugin-Swarm ( B/BR/BRAMBLE/Padre-Plugin-Swarm-0.2.tar.gz, BRAMBLE, 2011; MetaCPAN )
Padre-Plugin-Swarm/junkyard/aewx_sockpair.pl ( view source; MetaCPAN )
ocal $ENV{PERL_ANYEVENT_MODEL} = 'Perl';
require AnyEvent;
require IO::Socket::Multicast;
require JSON;
   my $bailout = AnyEvent->condvar;

   my $timer = AnyEvent->timer( interval => $freq , cb => \
ined(my $m = $q->dequeue_nb) ) {
        print STDERR "Got message '$m'";
        my $msg = JSON::encode_json( { type=>'chat' , body=>$m , from=>$0.$$ } );
        $c->mcast_send( $msg , '239.255.255.
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
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)
Padre-Plugin-Swarm ( B/BR/BRAMBLE/Padre-Plugin-Swarm-0.2.tar.gz, BRAMBLE, 2011; MetaCPAN )
Padre-Plugin-Swarm/junkyard/relay.pl ( view source; MetaCPAN )
 strict;
use AnyEvent;
use AnyEvent::Socket;
use AnyEvent::Handle;
use IO::Socket::Multicast;
use JSON;
use Carp qw( cluck );

$|++;

#use Padre::Swarm::Transport::Multicast;
#my $mc = Padre::Swarm::T
,
        trustme => "relay-$$-".time(),
    };
    
    $swarm->push_write( json => $message );
    $swarm->push_read( json => \&swarm_ready );
    
    
}

sub swarm_ready {
    my ($handle ,$messag
   
    $handle->push_write( json => {
        type => 'promote',
        from => $handle->{token},
        service => 'relay',
    } );
    
    $handle->push_write( json => {
        type => 'disco'
WebService-GData ( S/SH/SHIRIRU/WebService-GData-0.0501.tar.gz, SHIRIRU, 2011; MetaCPAN )
WebService-GData/lib/WebService/GData.pm ( view source; MetaCPAN )
 query string.

=item L<WebService::GData::Feed>

Represents the basic tags found in a Atom Feed (JSON format).

=back

A service in progress:

=over

=item L<WebService::GData::YouTube>

Implements p
WebService-GData ( S/SH/SHIRIRU/WebService-GData-0.0501.tar.gz, SHIRIRU, 2011; MetaCPAN )
WebService-GData/lib/WebService/GData/Base.pm ( view source; MetaCPAN )
vice::GData::Query;
use WebService::GData::Error;
use WebService::GData::Constants qw(:all);

use JSON;
use LWP;

#the base class specifies the basic get/post/insert/update/delete methods

our $VERSIO
st($req);

    my $ret = $this->_request($req);
    return $this->query->get('alt') =~ m/^jsonc*$/ ? from_json($ret) : $ret;

}

sub post {
    my ( $this, $uri, $content ) = @_;

    _error_invali_ur
tent,$callback);

    #modify the query string query string: ?alt=jsonc&v=2&prettyprint=false&strict=true
	
    $base->query->alt('jsonc')->prettyprint('false');

    #overwrite WebService::GData::Que
Padre-Plugin-Swarm ( B/BR/BRAMBLE/Padre-Plugin-Swarm-0.2.tar.gz, BRAMBLE, 2011; MetaCPAN )
Padre-Plugin-Swarm/lib/Padre/Plugin/Swarm/Transport/Global.pm ( view source; MetaCPAN )
adre::Swarm::Message;
use AnyEvent::Socket;
use AnyEvent::Handle;
use Scalar::Util 'blessed';
use JSON;

our $VERSION = '0.2';

sub new {
    my $class = shift;
    my $self = $class->SUPER::new(@_);
d ' . $!);
        return;   
    }
    my $h = AnyEvent::Handle->new(
        fh => $fh,
        json => $self->_marshal,
        on_eof => sub { $self->event('disconnect', shift ) },
    );
    
   
connect', \&disconnect );
    
    $self->{h} = $h;
    $h->push_write( json => { trustme=>$$.rand() } );
    $h->push_read( json => sub { $self->event( 'see_auth' , @_ ) } );
    $self->reg_cb( 'see_
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
Pithub ( P/PL/PLU/Pithub-0.01011.tar.gz, OALDERS, 2011; MetaCPAN )
Pithub/lib/Pithub/Repos/Releases.pm ( view source; MetaCPAN )
   => JSON::MaybeXS::false(),           # or alternative below
            prerelease       => JSON::MaybeXS::false(),           # or alternative below
            generate_release_notes => JSON::Mayb
and will not be encoded correctly
in the JSON encoded request.

There are numerous options for your call to Pithub::Repos::Releases->create.

=over

=item JSON::MaybeXS

Add the following to your code
:Releases->create.

    require JSON::MaybeXS;

Then use the following values for the booleans:

    JSON::MaybeXS::true()
    JSON::MaybeXS::false()

=item Cpanel::JSON::XS

Add the following to your
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, 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
Pithub ( P/PL/PLU/Pithub-0.01011.tar.gz, PLU, 2011; MetaCPAN )
Pithub/lib/Pithub/Base.pm ( view source; MetaCPAN )
ss for all Pithub modules

use Moo;
use Carp qw(croak);
use HTTP::Headers;
use HTTP::Request;
use JSON::Any;
use LWP::UserAgent;
use Pithub::Result;
use URI;


has 'auto_pagination' => (
    default =
pi_uri} = URI->new("$uri");
    },
);


has 'jsonp_callback' => (
    clearer   => 'clear_jsonp_callback',
    is        => 'rw',
    predicate => 'has_jsonp_callback',
    required  => 0,
);


has 'p
   is        => 'rw',
    predicate => 'has_user',
    required  => 0,
);

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

my @TOKEN_REQUIRED = (
    'DELETE
Plack-Middleware-RDF-Flow ( V/VO/VOJ/Plack-Middleware-RDF-Flow-0.171.tar.gz, VOJ, 2011; MetaCPAN )
Plack-Middleware-RDF-Flow/lib/Plack/Middleware/RDF/Flow.pm ( view source; MetaCPAN )
=> 'ntriples',
    rdf    => 'rdfxml',
    xml    => 'rdfxml',
    rdfxml => 'rdfxml',
    json   => 'rdfjson',
    ttl    => 'turtle'
);

sub prepare_app {
    my $self = shift;

    $self->formats( 
 (for L<RDF::Trine::Serializer>),
ttl (for L<RDF::Trine::Serializer::Turtle>), json (for
L<RDF::Trine::Serializer::RDFJSON>), and nt (for
L<RDF::Trine::Serializer::NTriples>) are supported.

=item via
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.