view release on metacpan or search on metacpan
"web" : "http://rt.cpan.org/Public/Dist/Display.html?Name=Adapter-Async"
},
"homepage" : "http://search.cpan.org/dist/Adapter-Async/"
},
"version" : "0.019",
"x_serialization_backend" : "Cpanel::JSON::XS version 3.023"
}
view all matches for this distribution
view release on metacpan or search on metacpan
t/10-ipv6.t
t/manifest.t
t/pod-coverage.t
t/pod.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Address/PostCode/Australia.pm view on Meta::CPAN
Version 0.12
=cut
use 5.006;
use JSON;
use Data::Dumper;
use Address::PostCode::UserAgent;
use Address::PostCode::Australia::Place;
use Address::PostCode::Australia::Params qw(validate);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Address/PostCode/India.pm view on Meta::CPAN
Version 0.13
=cut
use 5.006;
use JSON;
use Data::Dumper;
use Address::PostCode::UserAgent;
use Address::PostCode::India::Place;
use Moo;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Address/PostCode/UK.pm view on Meta::CPAN
Version 0.18
=cut
use 5.006;
use JSON;
use Data::Dumper;
use Address::PostCode::UserAgent;
use Address::PostCode::UK::Location;
use Address::PostCode::UK::Place;
use Address::PostCode::UK::Place::Geo;
view all matches for this distribution
view release on metacpan or search on metacpan
0.03 2014-11-15T11:10:25+01:00
- Added support to accept headers optionally to the method get().
0.02 2014-10-29T15:40:00+01:00
- Removed the pre-req 'JSON' from the Makefile.PL file.
0.01 2014-10-29T14:27:30+01:00
- First version, released.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Ado/Control.pm view on Meta::CPAN
$c->app->log->debug(@_);
=head2 list_for_json
Prepares a structure suitable for rendering as JSON for listing an ARRAYref
of HASHES or L<Ado::Model>* objects, returned by L<Ado::Model/select_range>
and returns it. Accepts two C<ARRAY> references and one arbitrary C<HASH>
reference as parameters:
my $res = $c->list_for_json([$limit, $offset], \@list_of_AMobjects_or_hashes, $meta);
view all matches for this distribution
view release on metacpan or search on metacpan
t/config/65-other.conf
t/config/70-date-validation.cfg
t/config/70-date-validation_2.cfg
t/test-helper/helper1234.pm
META.yml Module meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
builder/Affix/Builder.pm view on Meta::CPAN
use ExtUtils::Install qw[pm_to_blib install];
use ExtUtils::InstallPaths 0.002;
use File::Basename qw[basename dirname];
use File::Path qw[make_path remove_tree];
use File::Spec::Functions qw[catfile catdir rel2abs abs2rel splitdir curdir];
use JSON::PP 2 qw[encode_json decode_json];
use File::Temp qw[tempfile];
# Not in CORE
use Path::Tiny qw[path cwd];
use ExtUtils::Helpers 0.028 qw[make_executable split_like_shell detildefy];
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AgentPushKit/Client/ApiClient.pm view on Meta::CPAN
use HTTP::Headers;
use HTTP::Response;
use HTTP::Request::Common qw(DELETE POST GET HEAD PUT);
use HTTP::Status;
use URI::Query;
use JSON;
use URI::Escape;
use Scalar::Util;
use Log::Any qw($log);
use Carp;
use Module::Runtime qw(use_module);
lib/AgentPushKit/Client/ApiClient.pm view on Meta::CPAN
else {
return $value;
}
}
# Deserialize a JSON string into an object
#
# @param string $class class name is passed as a string
# @param string $data data of the body
# @return object an instance of $class
sub deserialize
view all matches for this distribution
view release on metacpan or search on metacpan
"version" : "0.1.0",
"x_authority" : "cpan:DART",
"x_contributors" : [
"Yaroslav O. Kosmina <dart@cpan.org>"
],
"x_serialization_backend" : "JSON::PP version 4.16",
"x_static_install" : 0
}
view all matches for this distribution
view release on metacpan or search on metacpan
"x_authority" : "cpan:DART",
"x_contributors" : [
"Yaroslav O. Kosmina <dart@cpan.org>",
"Yaroslav O. Kosmina <darviarush@mail.ru>"
],
"x_serialization_backend" : "JSON::PP version 4.16",
"x_static_install" : 0
}
view all matches for this distribution
view release on metacpan or search on metacpan
"version" : "0.1.2",
"x_authority" : "cpan:DART",
"x_contributors" : [
"Yaroslav O. Kosmina <dart@cpan.org>"
],
"x_serialization_backend" : "JSON::PP version 4.16",
"x_static_install" : 1
}
view all matches for this distribution
view release on metacpan or search on metacpan
"version" : "0.0.3",
"x_authority" : "cpan:DART",
"x_contributors" : [
"Yaroslav O. Kosmina <dart@cpan.org>"
],
"x_serialization_backend" : "JSON::PP version 4.16",
"x_static_install" : 0
}
view all matches for this distribution
view release on metacpan or search on metacpan
"version" : "0.2",
"x_authority" : "cpan:DART",
"x_contributors" : [
"Yaroslav O. Kosmina <dart@cpan.org>"
],
"x_serialization_backend" : "JSON::PP version 4.16",
"x_static_install" : 0
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Aion/Format/Json.pm view on Meta::CPAN
package Aion::Format::Json;
use common::sense;
use JSON::XS qw//;
use Exporter qw/import/;
our @EXPORT = our @EXPORT_OK = grep {
*{$Aion::Format::Json::{$_}}{CODE} && !/^(_|(NaN|import)\z)/n
} keys %Aion::Format::Json::;
#@category json
# ÐаÑÑÑаиваем json
our $JSON = JSON::XS->new->allow_nonref->indent(1)->space_after(1)->canonical(1);
# Ð json
sub to_json(;$) {
$JSON->encode(@_ == 0? $_: @_)
}
# Ðз json
sub from_json(;$) {
$JSON->decode(@_ == 0? $_: @_)
}
1;
__END__
=encoding utf-8
=head1 NAME
Aion::Format::Json - Perl extension for JSON formatting
=head1 SYNOPSIS
use Aion::Format::Json;
to_json {a => 10} # => {\n "a": 10\n}\n
from_json '[1, "5"]' # --> [1, "5"]
=head1 DESCRIPTION
C<Aion::Format::Json> uses C<JSON::XS> as a base. And includes the following settings:
=over
=item * allow_nonref - encoding and decoding scalars.
lib/Aion/Format/Json.pm view on Meta::CPAN
local $_ = $data;
to_json # -> $result
=head2 from_json (;$string)
Parses a JSON string into a Perl structure.
from_json '{"a": 10}' # --> {a => 10}
[map from_json, "{}", "2"] # --> [{}, 2]
view all matches for this distribution
view release on metacpan or search on metacpan
"x_authority" : "cpan:DART",
"x_contributors" : [
"Yaroslav O. Kosmina <dart@cpan.org>",
"Yaroslav O. Kosmina <darviarush@mail.ru>"
],
"x_serialization_backend" : "JSON::PP version 4.16",
"x_static_install" : 0
}
view all matches for this distribution
view release on metacpan or search on metacpan
"x_authority" : "cpan:DART",
"x_contributors" : [
"Yaroslav O. Kosmina <dart@cpan.org>",
"Yaroslav O. Kosmina <darviarush@mail.ru>"
],
"x_serialization_backend" : "JSON::PP version 4.16",
"x_static_install" : 0
}
view all matches for this distribution
view release on metacpan or search on metacpan
"x_authority" : "cpan:DART",
"x_contributors" : [
"Yaroslav O. Kosmina <dart@cpan.org>",
"Yaroslav O. Kosmina <darviarush@mail.ru>"
],
"x_serialization_backend" : "JSON::PP version 4.16",
"x_static_install" : 0
}
view all matches for this distribution
view release on metacpan or search on metacpan
"version" : "0.0.1",
"x_authority" : "cpan:DART",
"x_contributors" : [
"Yaroslav O. Kosmina <darviarush@mail.ru>"
],
"x_serialization_backend" : "JSON::PP version 4.16",
"x_static_install" : 1
}
view all matches for this distribution
view release on metacpan or search on metacpan
"x_authority" : "cpan:DART",
"x_contributors" : [
"Yaroslav O. Kosmina <dart@cpan.org>",
"Yaroslav O. Kosmina <darviarush@mail.ru>"
],
"x_serialization_backend" : "JSON::PP version 4.16",
"x_static_install" : 1
}
view all matches for this distribution
view release on metacpan or search on metacpan
"version" : "0.0.1",
"x_authority" : "cpan:DART",
"x_contributors" : [
"Yaroslav O. Kosmina <darviarush@mail.ru>"
],
"x_serialization_backend" : "JSON::PP version 4.16",
"x_static_install" : 1
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Aion/Types.pm view on Meta::CPAN
'NoneExample' ~~ ConsumerOf[qw/Role1/] # -> ""
=head2 BoolLike
Tests for 1, 0, "", undef, or an object with an overloaded C<bool> or C<0+> operator as C<JSON::PP::Boolean>. In the second case, it calls the C<0+> operator and checks the result as C<Bool>.
C<BoolLike> calls the C<0+> operator and checks the result.
package BoolLikeExample {
use overload '0+' => sub { ${$_[0]} };
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL
MANIFEST
README.md
t/formatting-residue.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
t/manifest.t
t/pod-coverage.t
t/pod.t
t/testdata.json
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
}
},
"test" : {
"requires" : {
"Cwd" : "0",
"JSON" : "0",
"Test::More" : "0",
"Test::Pod" : "1.41",
"URI" : "0",
"perl" : "v5.10.0"
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Akamai/Open/DiagnosticTools.pm view on Meta::CPAN
use strict;
use warnings;
use v5.10;
use Moose;
use JSON;
#XXX create a useful scheme for REST methods
use constant {
TOOLS_URI => '/diagnostic-tools',
DIG_URI => '/v1/dig',
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Akamai/PropertyFetcher.pm view on Meta::CPAN
package Akamai::PropertyFetcher;
use strict;
use warnings;
use Akamai::Edgegrid;
use JSON;
use File::Spec;
use File::Path 'make_path';
use Parallel::ForkManager;
use Carp;
view all matches for this distribution
view release on metacpan or search on metacpan
t/basic.t
MANIFEST
lib/Album.pm
lib/Album/Tutorial.pm
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
"Nathan Glenn <nathan-gary.glenn@trivago.com>",
"Nick Logan <nlogan@gmail.com>",
"Richard Leach <richardleach@users.noreply.github.com>"
],
"x_generated_by_perl" : "v5.32.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