view release on metacpan or search on metacpan
- fix a documentation bug (tokuhirom++)
0.11001 2009-09-03T17:57:54+09:00
- fix pod spell and its test (tokuhirom++)
- depends latest AnyEvent
- add recommends line for JSON::XS
0.11 2009-09-03T15:23:56+09:00
- fix broken pod syntax
- some refactoring around result condvar (tokuhirom++)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AnyEvent/JSONRPC/HTTP/Client.pm view on Meta::CPAN
use JSON::RPC::Common::Procedure::Call;
use JSON::RPC::Common::Procedure::Return;
use MIME::Base64;
use JSON::XS;
has url => (
is => 'ro',
isa => 'Str',
required => 1,
view all matches for this distribution
view release on metacpan or search on metacpan
In fact, any AnyEvent::MP node will happily accept Storable as framing
format, but currently there is no way to make a node use Storable by
default (although all nodes will accept it).
The default framing protocol is JSON because a) JSON::XS is many times
faster for small messages and b) most importantly, after years of
experience we found that object serialisation is causing more problems
than it solves: Just like function calls, objects simply do not travel
easily over the network, mostly because they will always be a copy, so you
always have to re-think your design.
view all matches for this distribution
view release on metacpan or search on metacpan
our $VERSION = '1.03';
sub OBSID() { 2**52 }
our $JSON = eval { require JSON::XS; JSON::XS:: }
|| do { require JSON::PP; JSON::PP:: };
our $JSON_ENCODER = $JSON->new->utf8;
our $JSON_DECODER = $JSON->new->latin1;
view all matches for this distribution
view release on metacpan or search on metacpan
"web" : "https://github.com/beanz/anyevent-mqtt-perl"
}
},
"version" : "1.212810",
"x_generated_by_perl" : "v5.26.1",
"x_serialization_backend" : "JSON::XS version 3.04"
}
view all matches for this distribution
view release on metacpan or search on metacpan
"url" : "git://github.com/beanz/anyevent-mocktcpserver-perl.git",
"web" : "https://github.com/beanz/anyevent-mocktcpserver-perl"
}
},
"version" : "1.172150",
"x_serialization_backend" : "JSON::XS version 3.01"
}
view all matches for this distribution
view release on metacpan or search on metacpan
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: AnyEvent-Net-Curl-Queued
recommends:
EV: '4.11'
JSON::XS: '0'
requires:
AnyEvent: '0'
HTTP::Response: '0'
JSON: '0'
Moo: '1.001000'
view all matches for this distribution
view release on metacpan or search on metacpan
"url" : "git://gitlab.com/jjatria/AnyEvent-Net-MPD.git",
"web" : "https://gitlab.com/jjatria/AnyEvent-Net-MPD"
}
},
"version" : "0.002",
"x_serialization_backend" : "Cpanel::JSON::XS version 3.0237"
}
view all matches for this distribution
view release on metacpan or search on metacpan
"url" : "git://github.com/beanz/anyevent-ownet-perl.git",
"web" : "https://github.com/beanz/anyevent-ownet-perl"
}
},
"version" : "1.163170",
"x_serialization_backend" : "JSON::XS version 3.01"
}
view all matches for this distribution
view release on metacpan or search on metacpan
"Stephen R. Scaffidi",
"Scott Wiersdorf",
"Graham Knop (HAARG)"
],
"x_generated_by_perl" : "v5.37.8",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.32",
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later",
"x_use_unsafe_inc" : 0
}
view all matches for this distribution
view release on metacpan or search on metacpan
eg/google-oauth.pl view on Meta::CPAN
use strict;
use warnings;
use autodie ':all';
use Net::OAuth2::Profile::WebServer;
use JSON::XS qw(decode_json);
use Browser::Open qw(open_browser);
use AnyEvent::Plackup;
# Obtain one at Google Cloud Console <https://cloud.google.com/console>.
my $client_secret = do {
view all matches for this distribution
view release on metacpan or search on metacpan
"url" : "https://github.com/sysread/AnyEvent-ProcessPool.git",
"web" : "https://github.com/sysread/AnyEvent-ProcessPool"
}
},
"version" : "0.07",
"x_serialization_backend" : "JSON::XS version 3.04"
}
view all matches for this distribution
view release on metacpan or search on metacpan
"web" : "https://github.com/mydimension/AnyEvent-RabbitMQ-Fork"
}
},
"version" : "0.6",
"x_generated_by_perl" : "v5.26.3",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.02",
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
}
view all matches for this distribution
view release on metacpan or search on metacpan
"Julio Polo <julio@hawaii.edu>",
"A.J. Ragusa <aragusa@globalnoc.iu.edu>",
"Jos\u00e9 Mic\u00f3",
"Scott O'Neil <scott@cpanel.net>"
],
"x_serialization_backend" : "Cpanel::JSON::XS version 3.0239"
}
view all matches for this distribution
view release on metacpan or search on metacpan
"web" : "https://github.com/zostay/AnyEvent-SlackRTM"
}
},
"version" : "1.3",
"x_generated_by_perl" : "v5.30.2",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.27",
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AnyEvent/Sway.pm view on Meta::CPAN
package AnyEvent::Sway;
# vim:ts=4:sw=4:expandtab
use strict;
use warnings;
use JSON::XS;
use AnyEvent::Handle;
use AnyEvent::Socket;
use AnyEvent;
use Encode;
use Scalar::Util qw(tainted);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AnyEvent/Task/Server/Worker.pm view on Meta::CPAN
use AnyEvent::Util;
use Guard;
use POSIX; ## POSIX::_exit is used so we don't unlink the unix socket file created by our parent before the fork
use IO::Select;
use JSON::XS;
use Scalar::Util qw/blessed/;
my $setup_has_been_run;
my $json;
lib/AnyEvent/Task/Server/Worker.pm view on Meta::CPAN
my ($server, $fh, $monitor_fh) = @_;
AnyEvent::Util::fh_nonblocking $fh, 0;
AnyEvent::Util::fh_nonblocking $monitor_fh, 0;
$json = JSON::XS->new->utf8;
$sel = IO::Select->new;
$sel->add($fh, $monitor_fh);
while(1) {
view all matches for this distribution
view release on metacpan or search on metacpan
"Mark Norman Francis <norm@cackhanded.net>",
"Masayuki Matsuki <y.songmu@gmail.com>",
"megamic <megamic@cpan.org>",
"punytan <punytan@gmail.com>"
],
"x_serialization_backend" : "Cpanel::JSON::XS version 3.0217"
}
view all matches for this distribution
view release on metacpan or search on metacpan
WebDriver.pm view on Meta::CPAN
our $WEB_ELEMENT_IDENTIFIER = "element-6066-11e4-a52e-4f735466cecf";
our $WEB_WINDOW_IDENTIFIER = "window-fcc6-11e5-b4f8-330a88ab9d7f";
our $WEB_FRAME_IDENTIFIER = "frame-075b-4da1-b6ba-e579c2d3230a";
my $json = eval { require JSON::XS; JSON::XS:: } || do { require JSON::PP; JSON::PP:: };
$json = $json->new->utf8;
$json->boolean_values (0, 1)
if $json->can ("boolean_values");
view all matches for this distribution
view release on metacpan or search on metacpan
"Yanick Champoux (YANICK)",
"Fayland Lam (FAYLAND)",
"Daniel Kamil Kozar (xavery)"
],
"x_generated_by_perl" : "v5.37.4",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.32",
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later",
"x_use_unsafe_inc" : 0
}
view all matches for this distribution
view release on metacpan or search on metacpan
ZabbixSender.pm view on Meta::CPAN
=cut
our $NOP = sub { };
my $json = eval { require JSON::XS; JSON::XS->new } || do { require JSON::PP; JSON::PP->new };
$json->utf8;
sub new {
my $class = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
"web" : "https://github.com/saltyduck/Aozora2Epub"
}
},
"version" : "0.05",
"x_generated_by_perl" : "v5.38.2",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.37",
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later",
"x_static_install" : 1
}
view all matches for this distribution
view release on metacpan or search on metacpan
"web" : "https://github.com/mschout/apache-authcookie"
}
},
"version" : "3.32",
"x_generated_by_perl" : "v5.38.2",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.37",
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
}
view all matches for this distribution
view release on metacpan or search on metacpan
"url" : "git://github.com/mschout/apache-authticket.git",
"web" : "https://github.com/mschout/apache-authticket"
}
},
"version" : "0.94",
"x_serialization_backend" : "Cpanel::JSON::XS version 3.0217"
}
view all matches for this distribution
view release on metacpan or search on metacpan
"web" : "http://github.com/frioux/apache-balancermanager"
}
},
"version" : "0.002000",
"x_generated_by_perl" : "v5.38.2",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.37",
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Hendrix.pm view on Meta::CPAN
use Apache2::Const -compile => qw(OK NOT_FOUND);
use Apache2::Request;
use Apache2::RequestIO ();
use Apache2::RequestRec qw/content/;
use Apache2::Response;
use JSON::XS;
use Apache::Hendrix::Route;
use Moose;
use MooseX::FollowPBP;
use MooseX::ClassAttribute;
use Moose::Exporter;
lib/Apache/Hendrix.pm view on Meta::CPAN
use version; our $VERSION = qv(0.3.0);
use DDP;
class_has 'json' => (
isa => 'Object', is => 'rw',
default => sub { JSON::XS->new()->allow_blessed(1)->convert_blessed(1) },
);
class_has 'handlers' => ( isa => 'HashRef[ArrayRef]', is => 'rw', default => sub { {} } );
class_has 'class_base' => ( isa => 'Str', is => 'rw', default => sub {'/'} );
class_has 'request' => ( isa => 'Apache2::Request', is => 'rw' );
class_has 'my_template' => (
lib/Apache/Hendrix.pm view on Meta::CPAN
=item Apache2::RequestRec;
=item Carp;
=item JSON::XS;
=item Moose::Exporter;
=item Moose;
view all matches for this distribution
view release on metacpan or search on metacpan
"web" : "https://github.com/cpan-janitor/Apache-OneTimeURL"
}
},
"version" : "1.35",
"x_generated_by_perl" : "v5.28.2",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.24",
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
}
view all matches for this distribution
view release on metacpan or search on metacpan
"version" : "0.01",
"x_contributors" : [
"sunnavy <sunnavy@bestpractical.com>"
],
"x_generated_by_perl" : "v5.38.2",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.37",
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later",
"x_static_install" : 1
}
view all matches for this distribution
view release on metacpan or search on metacpan
"url" : "git://github.com/mschout/apache-singleton.git",
"web" : "https://github.com/mschout/apache-singleton"
}
},
"version" : "0.17",
"x_serialization_backend" : "Cpanel::JSON::XS version 3.0217"
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Solr/JSON.pod view on Meta::CPAN
=head1 DESCRIPTION
Implement the Solr client, where the communication is in JSON.
Both the requests and the responses are using JSON syntax, produced by
the JSON distribution (which defaults to JSON::XS when installed)
B<Warning 1:>
Apparently, Perl's JSON implementation does not support the repetition
of keys in one list, but Solr is using that. Care is taken to avoid
these cases.
view all matches for this distribution