Group
Extension

Matches 35359

Padre-Plugin-Swarm ( B/BR/BRAMBLE/Padre-Plugin-Swarm-0.2.tar.gz, BRAMBLE, 2011; MetaCPAN )
Padre-Plugin-Swarm/lib/Padre/Plugin/Swarm/Transport.pm ( view source; MetaCPAN )
package Padre::Plugin::Swarm::Transport;
use strict;
use warnings;
use Padre::Logger;
use JSON::PP;

use base 'Object::Event';
 

use Class::XSAccessor
		accessors => {
			marshal => 'marshal',
			on_
age - $@" ) if DEBUG;
	}
	
}

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


sub syntheti
Padre-Plugin-Swarm ( B/BR/BRAMBLE/Padre-Plugin-Swarm-0.2.tar.gz, BRAMBLE, 2011; MetaCPAN )
Padre-Plugin-Swarm/lib/Padre/Swarm/Message.pm ( view source; MetaCPAN )
{
    my $self = shift;
    $self->{origin} = shift if @_;
    return $self->{origin};
}


sub TO_JSON {
	## really should be the canonical identity
	my $self = shift;
	my $ref = { %$self } ; # erm - 
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
Padre-Plugin-Swarm ( B/BR/BRAMBLE/Padre-Plugin-Swarm-0.2.tar.gz, BRAMBLE, 2011; MetaCPAN )
Padre-Plugin-Swarm/lib/Padre/Swarm/Geometry.pm ( view source; MetaCPAN )
hift;
	my $message = shift;
	my @s = $self->graph->successors( $message->{from} );
	$self->graph->delete_vertex( $_ )
	    for @s, $message->{from};
	
	
}


sub TO_JSON {
	
}

sub FROM_JSON {
	
}

1;
Conf-Libconfig ( C/CN/CNANGEL/Conf-Libconfig-0.06.tar.gz, CNANGEL, 2011; MetaCPAN )
Conf-Libconfig/lib/Conf/Libconfig.pm ( view source; MetaCPAN )
 ALSO

You can compare this module L<Conf::Libconfig> to L<Config>, L<Config::General>, L<Config::JSON>.

http://my.huhoo.net/

=head1 AUTHOR

Cnangel, E<lt>cnangel@gmail.comE<gt>

=head1 COPYRIGHT 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';

    
WebService-Simple-Yahoo-JP-API ( A/AY/AYANOKOUZ/WebService-Simple-Yahoo-JP-API-0.11.tar.gz, AYANOKOUZ, 2011; MetaCPAN )
WebService-Simple-Yahoo-JP-API/lib/WebService/Simple/Yahoo/JP/API/Shopping.pm ( view source; MetaCPAN )
hsearch { shift->_get('V1/json/urlItemMatchSearch', @_); }
sub urlitemmatchlookup { shift->_get('V1/json/urlItemMatchLookup', @_); }
sub urlitemmatchadd { shift->_get('V1/json/urlItemMatchAdd', @_); }

sub urlitemmatchremove { shift->_get('V1/json/urlItemMatchRemove', @_); }
1;
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.
Geo-Coder-Ovi ( G/GR/GRAY/Geo-Coder-Ovi-0.03.tar.gz, GRAY, 2011; MetaCPAN )
Geo-Coder-Ovi/lib/Geo/Coder/Ovi.pm ( view source; MetaCPAN )
package Geo::Coder::Ovi;

use strict;
use warnings;

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

our $VERSION = '0.03';
$VERSION = eval $VERSION;

sub new {
    my ($cla
$params{la} = $language;
    }

    my $uri = URI->new('http://where.desktop.mos.svc.ovi.com/NOSe/json');
    $uri->query_form(
        app_id => $self->{appid},
        token  => $self->{token},
    
f the response from 'application/json' so
    # HTTP::Message will decode the character encoding.
    $res->content_type('text/plain');

    my $data = eval { from_json($res->decoded_content) };
    r
Lucy ( D/DW/DWHEELER/Lucy-0.2.2.tar.gz, DWHEELER, 2011; MetaCPAN )
Lucy/lib/Lucy/Docs/FileFormat.pod ( view source; MetaCPAN )
pshot_XXX.json
             |--schema_XXX.json
             |--write.lock
             |
             |--seg_1--|
             |         |--segmeta.json
             |         |--cfmeta.json
         
ons]
             |
             |--seg_2--|
             |         |--segmeta.json
             |         |--cfmeta.json
             |         |--cf.dat-------|
             |                       
 the
entire index rather than to a particular segment.

=head2 snapshot_XXX.json

A "snapshot" file, e.g. C<snapshot_m7p.json>, is list of index files and
directories.  Because index files, once writt
WebService-Yahoo-BOSS ( P/PH/PHRED/WebService-Yahoo-BOSS-0.07.tar.gz, PHRED, 2011; MetaCPAN )
WebService-Yahoo-BOSS/lib/WebService/Yahoo/BOSS/Response.pm ( view source; MetaCPAN )
se - Response class for Yahoo BOSS searches

=cut

use strict;
use warnings;

use Any::Moose;
use JSON::XS ();
use Data::Dumper;

use WebService::Yahoo::BOSS::Response::Web;

has 'count'        => ( i
ct]', required => 1 );

sub parse {
    my ( $class, $content ) = @_;

    my $response = JSON::XS::decode_json($content);

    my $rc = $response->{bossresponse}->{responsecode};

    die "Boss respo
Bundle-Everything ( R/RS/RSPIER/Bundle-Everything-0.06.tar.gz, RSPIER, 2011; MetaCPAN )
Bundle-Everything/Everything.pm ( view source; MetaCPAN )
Filter::Minifier::CSS

Apache2::Filter::Minifier::JavaScript

Apache2::Filter::TagAware

Apache2::JSONRPC

Apache2::LogParser

Apache2::ModBT

Apache2::ModProxyPerlHtml

Apache2::PageKit

Apache2::Pod
mFactory

CGI::FormMagick

CGI::Formalware

CGI::Getopt

CGI::IDS

CGI::Imagemap

CGI::Info

CGI::JSONRPC

CGI::Lazy

CGI::Lazy::Auth

CGI::Lazy::ModPerl

CGI::Lingua

CGI::List

CGI::Lite

CGI::MiniS
gin::RequireSSL

Catalyst::Plugin::Scheduler

Catalyst::Plugin::Server

Catalyst::Plugin::Server::JSONRPC

Catalyst::Plugin::Session::PerUser

Catalyst::Plugin::Session::State::Cookie

Catalyst::Plugi
WebService-GData ( S/SH/SHIRIRU/WebService-GData-0.0501.tar.gz, SHIRIRU, 2011; MetaCPAN )
WebService-GData/lib/WebService/GData/Query.pm ( view source; MetaCPAN )
ft;

    $this->{_query} = {
        'v'         => GDATA_MINIMUM_VERSION,
        alt         => JSON,
        prettyprint => FALSE,
        strict      => TRUE,
    };
    return $this;
}


sub set_
ry_string();# by default:?alt=json&v=2&prettyprint=false&strict=true

    #?alt=jsonc&v=2&prettyprint=false&strict=true&start-index=1&max-results=10
    $query->alt('jsonc')->limit(10,1)->to_query_str
ing();

    print $query->get('alt');#jsonc

    $query->v(1);#throw an error as only 2 is ok.
    $query->prettyprint(1);#throw an error as only 'true' or 'false' is possible.

    #use constants whe
Lucy ( D/DW/DWHEELER/Lucy-0.2.2.tar.gz, DWHEELER, 2011; MetaCPAN )
Lucy/lib/Lucy/Object/Obj.pod ( view source; MetaCPAN )
epresentation of the object using only scalars, hashes, and
arrays.  Some implementations support JSON serialization via dump() and
its companion method, load(); for others, dump() is only a debugging
Lucy ( D/DW/DWHEELER/Lucy-0.2.2.tar.gz, DWHEELER, 2011; MetaCPAN )
Lucy/lib/Lucy/Index/Segment.pod ( view source; MetaCPAN )
t: its
fields, document count, and so on.  The Segment object itself writes one
file, C<< segmeta.json >>; besides storing info needed by Segment
itself, the "segmeta" file serves as a central reposit
d twice.

=over

=item *

B<key> - String identifying an index component.

=item *

B<metadata> - JSON-izable data structure.

=back

=head2 fetch_metadata(key)

Fetch a value from the Segment's metad
Beagle ( S/SU/SUNNAVY/Beagle-0.01.tar.gz, SUNNAVY, 2011; MetaCPAN )
Beagle/lib/Beagle/Cmd/Command/mark.pm ( view source; MetaCPAN )
te || $self->set || $self->unset );

    if ( $self->_import || $self->export ) {
        require JSON;
        my $path;
        if ( defined( $path = $self->export ) ) {
            my $converted = 
d} = [ sort keys %{ $marks->{$id} } ];
                }
            }

            my $out = JSON::to_json( $converted, { utf8 => 1, pretty => 1 } );
            if ( $path ne '-' ) {
               
                $in = decode( 'utf8' => <STDIN> );
            }
            my $converted = JSON::from_json($in);
            my $marks     = {};
            for my $id ( keys %$converted ) {
       
Beagle ( S/SU/SUNNAVY/Beagle-0.01.tar.gz, SUNNAVY, 2011; MetaCPAN )
Beagle/lib/Beagle/Web/Router/Util.pm ( view source; MetaCPAN )
l;
use Beagle::Util;
use Router::Simple;
use JSON;
use base 'Exporter';
our @EXPORT =
  qw/handle request render get post any router admin from_json to_json prefix
  redirect process_fields add_attach
Padre-Plugin-Swarm ( B/BR/BRAMBLE/Padre-Plugin-Swarm-0.2.tar.gz, BRAMBLE, 2011; MetaCPAN )
Padre-Plugin-Swarm/junkyard/irc_gw.pl ( view source; MetaCPAN )
strict;
#use AnyEvent::Impl::Perl;
use AnyEvent;
use AnyEvent::IRC::Client;
use Data::Dumper;
use JSON;
use Padre::Swarm::Transport::Multicast;
my $gatewayid = rand() . $$;

my $swarm = Padre::Swarm::
w(
   fh => $socket,
   on_eof => sub { $swarm->shutdown },
   on_read => sub { $_[0]->push_read( json => \&swarm_relay ) ; },
   on_error => sub { warn "Error @_ " },
   
);

my $con = AnyEvent::IRC:
entity => $con->nick, };
            
      $swarm->tell_channel( 12000, JSON::encode_json $msg );
      #$io->push_write( json => $msg );
   }
);

$con->connect ("irc.perl.org", 6667 ,
 { nick => $ni
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
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

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