view release on metacpan or search on metacpan
"Ryo Okamoto",
"Shlomi Fish",
"Jos\u00e9 Joaqu\u00edn Atria"
],
"x_generated_by_perl" : "v5.42.0",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.40",
"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
"web" : "http://github.com/gflohr/Anyevent-Filesys-Watch.git"
}
},
"version" : "v0.1.1",
"x_generated_by_perl" : "v5.40.0",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.38"
}
view all matches for this distribution
view release on metacpan or search on metacpan
"web" : "https://github.com/uperl/AnyEvent-Finger"
}
},
"version" : "0.14",
"x_generated_by_perl" : "v5.37.3",
"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
(
sub { CBOR::XS::encode_cbor_sharing \@_ },
sub { @{ CBOR::XS::decode_cbor shift } }
)
=item C<$AnyEvent::Fork::RPC::JSON_SERIALISER> - uses L<JSON::XS> or L<JSON>
This serialiser creates JSON arrays - you have to make sure the L<JSON>
module is installed for this serialiser to work. It can be beneficial for
sharing when you preload the L<JSON> module in a template process.
L<JSON> (with L<JSON::XS> installed) is slower than the octet string
serialiser, but usually much faster than L<Storable>, unless big chunks of
binary data need to be transferred.
Implementation:
view all matches for this distribution
view release on metacpan or search on metacpan
"url" : "git://github.com/plicease/AnyEvent-Git-Wrapper.git",
"web" : "https://github.com/plicease/AnyEvent-Git-Wrapper"
}
},
"version" : "0.10",
"x_serialization_backend" : "Cpanel::JSON::XS version 3.0227"
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AnyEvent/HTTP/ScopedClient.pm view on Meta::CPAN
# ...
}
);
# Content-Type: application/json
use JSON::XS;
$client->header('Content-Type', 'application/json')
->post(
encode_json({ foo => 1 }),
sub {
my ($body, $hdr) = @_;
view all matches for this distribution
view release on metacpan or search on metacpan
"web" : "https://github.com/Leont/anyevent-handle-udp"
}
},
"version" : "0.050",
"x_generated_by_perl" : "v5.24.0",
"x_serialization_backend" : "Cpanel::JSON::XS version 3.0215"
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AnyEvent/I3.pm view on Meta::CPAN
package AnyEvent::I3;
# 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
"Data::Compare" : "0",
"EV" : "0",
"File::Spec::Functions" : "0",
"Getopt::Long" : "0",
"IO::Select" : "0",
"JSON::XS" : "0",
"List::Util" : "0",
"Object::Pad" : "0",
"Pod::Usage" : "0",
"Proc::Find" : "0",
"Proc::ProcessTable" : "0",
"version" : "0.011",
"x_contributors" : [
"Wesley Schwengle <waterkip@cpan.org>"
],
"x_generated_by_perl" : "v5.40.1",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.40",
"x_spdx_expression" : "BSD-3-Clause"
}
view all matches for this distribution
view release on metacpan or search on metacpan
"version" : "6.032"
}
},
"x_authority" : "cpan:GETTY",
"x_generated_by_perl" : "v5.36.0",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.38",
"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
"web" : "https://github.com/plicease/AnyEvent-Ident"
}
},
"version" : "0.08",
"x_generated_by_perl" : "v5.31.10",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.19",
"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
},
"version" : "6.024"
}
},
"x_generated_by_perl" : "v5.34.0",
"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
- 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