Group
Extension

Matches 35359

Dancer-Plugin-DynamicConfig ( K/KS/KSTAR/Dancer-Plugin-DynamicConfig-0.07.tar.gz, KSTAR, 2013; MetaCPAN )
Dancer-Plugin-DynamicConfig/lib/Dancer/Plugin/DynamicConfig.pm ( view source; MetaCPAN )
e JSON::XS qw(decode_json);
use Time::HiRes;
use Try::Tiny;

our $VERSION = '0.07';

my @file_types = ({
  type => 'json',
  re => qr{\.json$},
  parser => sub {
    my ($filename) = @_;
    my $json;
$filename) =~ /(.*)/s; # untaint
      try {
        $json = decode_json(encode('UTF-8', $1));
      } catch {
        warning "couldn't parse json file ($filename): $_\n";
      };
    } catch {
    
  warning "couldn't find file to parse ($filename): $_\n";
    };
    return $json;
  },
});

my $dynamic_config;

register dynamic_config => sub {
  my ($file_key) = @_;

  initialize() unless $dynam
WebService-TaobaoIP ( X/XI/XIAODONG/WebService-TaobaoIP-0.03.tar.gz, XIAODONG, 2013; MetaCPAN )
WebService-TaobaoIP/lib/WebService/TaobaoIP.pm ( view source; MetaCPAN )
P;

# ABSTRACT: Perl interface to Taobao IP API
use strict;
use warnings;
use utf8;
use Carp;
use JSON::XS;
use LWP::UserAgent;

our $VERSION = '0.03'; # VERSION

binmode STDOUT, ':encoding(UTF8)';

s
nt->new;
    my $res = $ua->get($full_url);

    if ( $res->is_success )
    {
        my $info = JSON::XS->new->decode( $res->content );
        if ( $info->{code} == 0 )
        {
            %$self
Gentoo-Dependency-AST ( K/KE/KENTNL/Gentoo-Dependency-AST-0.001001.tar.gz, KENTNL, 2013; MetaCPAN )
Gentoo-Dependency-AST/lib/Gentoo/Dependency/AST/State.pm ( view source; MetaCPAN )
stack();

=begin MetaPOD::JSON v1.1.0

{
    "namespace":"Gentoo::Dependency::AST::State",
    "interface":"class",
    "inherits":"Class::Tiny::Object"
}


=end MetaPOD::JSON

=head1 AUTHOR

Kent Fre
Catalyst-View-Spreadsheet-Template ( D/DO/DOY/Catalyst-View-Spreadsheet-Template-0.02.tar.gz, DOY, 2013; MetaCPAN )
Catalyst-View-Spreadsheet-Template/lib/Catalyst/View/Spreadsheet/Template.pm ( view source; MetaCPAN )
LSX',
);


has template_extension => (
    is      => 'ro',
    isa     => 'Str',
    default => 'json',
);


has catalyst_var => (
    is      => 'ro',
    isa     => 'Str',
    default => 'c',
);

h
plate> object.

=head2 template_extension

The extension to use for template files. Defaults to C<json>.

=head2 catalyst_var

The variable name to use for the Catalyst context object in the template.
RT-Extension-PushoverNotify ( R/RI/RINGERC/RT/Extension/PushoverNotify/RT-Extension-PushoverNotify-0.01.tar.gz, RINGERC, 2013; MetaCPAN )
RT-Extension-PushoverNotify/lib/RT/Action/PushoverNotify.pm ( view source; MetaCPAN )
 5.10.1;
use strict;
use warnings;

use Data::Dumper;
use Scalar::Util qw(looks_like_number);
use JSON;

use LWP::UserAgent; 
use LWP::Protocol::https;

use RT::Extension::PushoverNotify::PushoverNoti
orting');
        return 0;
    }
    $cfg->{'endpoint'} //= 'https://api.pushover.net/1/messages.json';
    if (!defined($self->TemplateObj)) {
        die("Template must be specified for invocations
 $self->{'message'} );
            if ($response->is_success) {
                my(%r) = %{decode_json($response->decoded_content)};
                if (defined($r{'receipt'})) {
                    #
Gentoo-Dependency-AST ( K/KE/KENTNL/Gentoo-Dependency-AST-0.001001.tar.gz, KENTNL, 2013; MetaCPAN )
Gentoo-Dependency-AST/maint-travis-ci/install_deps.pl ( view source; MetaCPAN )
env_true('RELEASE_TESTING') ) {
  require CPAN::Meta;
  my $meta    = CPAN::Meta->load_file('META.json');
  my $prereqs = $meta->effective_prereqs;
  my $reqs    = $prereqs->requirements_for( 'develop
Gentoo-Dependency-AST ( K/KE/KENTNL/Gentoo-Dependency-AST-0.001001.tar.gz, KENTNL, 2013; MetaCPAN )
Gentoo-Dependency-AST/lib/Gentoo/Dependency/AST/Node.pm ( view source; MetaCPAN )
e types.

=begin MetaPOD::JSON v1.1.0

{
    "namespace":"Gentoo::Dependency::AST::Node",
    "interface":"class",
    "inherits":"Class::Tiny::Object"
}


=end MetaPOD::JSON

=head1 AUTHOR

Kent Fred
Gentoo-Dependency-AST ( K/KE/KENTNL/Gentoo-Dependency-AST-0.001001.tar.gz, KENTNL, 2013; MetaCPAN )
Gentoo-Dependency-AST/lib/Gentoo/Dependency/AST.pm ( view source; MetaCPAN )
ncy::AST::Node of some kind

=begin MetaPOD::JSON v1.1.0

{
    "namespace":"Gentoo::Dependency::AST",
    "interface":"single_class"
}


=end MetaPOD::JSON

=head1 SUPPORTED FEATURES

=head2 C<use?>
App-rhttp ( B/BP/BPMEDLEY/App-rhttp-0.03.tar.gz, BPMEDLEY, 2013; MetaCPAN )
App-rhttp/bin/rhttp.pl ( view source; MetaCPAN )
ent::Socket;
use Getopt::Long;
use JSON::PP;

our $VERSION = "0.03";

$| = 1;

$AnyEvent::Log::FILTER->level("info");

our %Config = (
    config_file => "rhttp.json",
    cert_file => "",
    key_fil
r exit;

if ($Config{add}) {
    my $json_config = config($Config{config_file});

    my $add = delete($Config{add});
    %Config = %{$json_config} if defined $json_config;

    if ($add =~ m#^vhost:(
e}, JSON::PP->new->ascii->pretty->encode(\%Config));

    exit;
}

if ($Config{del}) {
    my $json_config = config($Config{config_file});

    my $del = delete($Config{del});
    %Config = %{$json_co
Gentoo-Dependency-AST ( K/KE/KENTNL/Gentoo-Dependency-AST-0.001001.tar.gz, KENTNL, 2013; MetaCPAN )
Gentoo-Dependency-AST/lib/Gentoo/Dependency/AST/Node/Dependency.pm ( view source; MetaCPAN )
begin MetaPOD::JSON v1.1.0

{
    "namespace":"Gentoo::Dependency::AST::Node::Dependency",
    "interface":"class",
    "inherits":"Gentoo::Dependency::AST::Node"
}


=end MetaPOD::JSON

=head1 AUTHOR
Convert-TBX-RNG ( B/BY/BYUTRG/Convert-TBX-RNG-0.04.tar.gz, BYUTRG, 2013; MetaCPAN )
Convert-TBX-RNG/bin/xcs2rng.pl ( view source; MetaCPAN )
se TBX::XCS;
use TBX::XCS::JSON qw(xcs_from_json);
use File::Slurp;

my $rng;
if($ARGV[0] eq '--json'){
    my $json = read_file($ARGV[1]);
    my $xcs = xcs_from_json($json);
    $rng = generate_rng(
nst the XCS constraints and the core TBX structure.

Passing C<--json> as the first argument will cause the script to expect
an XCS JSON file instead of an XML file.

=head1 AUTHOR

Nathan Glenn <garf
Net-PT2-Test ( P/PF/PFTYLR/Net-PT2-Test-1.0.2.tar.gz, PFTYLR, 2013; MetaCPAN )
Net-PT2-Test/lib/Net/PT2/Test.pm ( view source; MetaCPAN )
rnings FATAL => 'all';

use Time::HiRes qw(gettimeofday);
use Math::Random::Secure qw(irand);
use JSON;
use MIME::Base64 qw(decode_base64 decode_base64url encode_base64url);
use Crypt::Mac::HMAC qw( h
2::Test - map = \n";
    p $map;


    my $json = encode_json $map;
    print "Net::PT2::Test - json = \n";
    p $json;

    my $b64 = encode_base64url $json;
    print "Net::PT2::Test - base64 url =
st - hmac = \n";
    p $hmac;

    my $json2 = decode_base64url $b64;
    print "Net:PT2::Test - json2 = \n";
    p $json2;
    
    my $map2 = decode_json $json2;
    print "Net:PT2::Test - map2 = \n
Gentoo-Dependency-AST ( K/KE/KENTNL/Gentoo-Dependency-AST-0.001001.tar.gz, KENTNL, 2013; MetaCPAN )
Gentoo-Dependency-AST/lib/Gentoo/Dependency/AST/Node/TopLevel.pm ( view source; MetaCPAN )
=begin MetaPOD::JSON v1.1.0

{
    "namespace":"Gentoo::Dependency::AST::Node::TopLevel",
    "interface":"class",
    "inherits":"Gentoo::Dependency::AST::Node"
}


=end MetaPOD::JSON

=head1 AUTHOR
Gentoo-Dependency-AST ( K/KE/KENTNL/Gentoo-Dependency-AST-0.001001.tar.gz, KENTNL, 2013; MetaCPAN )
Gentoo-Dependency-AST/lib/Gentoo/Dependency/AST/Node/Group/Use.pm ( view source; MetaCPAN )
begin MetaPOD::JSON v1.1.0

{
    "namespace":"Gentoo::Dependency::AST::Node::Group::Use",
    "interface":"class",
    "inherits":"Gentoo::Dependency::AST::Node"
}


=end MetaPOD::JSON

=head1 AUTHOR
Gentoo-Dependency-AST ( K/KE/KENTNL/Gentoo-Dependency-AST-0.001001.tar.gz, KENTNL, 2013; MetaCPAN )
Gentoo-Dependency-AST/lib/Gentoo/Dependency/AST/Node/Group/Or.pm ( view source; MetaCPAN )
=begin MetaPOD::JSON v1.1.0

{
    "namespace":"Gentoo::Dependency::AST::Node::Group::Or",
    "interface":"class",
    "inherits":"Gentoo::Dependency::AST::Node"
}


=end MetaPOD::JSON

=head1 AUTHOR
Gentoo-Dependency-AST ( K/KE/KENTNL/Gentoo-Dependency-AST-0.001001.tar.gz, KENTNL, 2013; MetaCPAN )
Gentoo-Dependency-AST/lib/Gentoo/Dependency/AST/Node/Group/And.pm ( view source; MetaCPAN )
begin MetaPOD::JSON v1.1.0

{
    "namespace":"Gentoo::Dependency::AST::Node::Group::And",
    "interface":"class",
    "inherits":"Gentoo::Dependency::AST::Node"
}


=end MetaPOD::JSON

=head1 AUTHOR
Paymill-REST ( M/MD/MDIETRICH/Paymill-REST-0.02.tar.gz, MDIETRICH, 2013; MetaCPAN )
Paymill-REST/lib/Paymill/REST/Base.pm ( view source; MetaCPAN )
ons::List';
with 'Paymill::REST::Operations::Create';

use LWP::UserAgent;
use HTTP::Request;
use JSON::XS;

has type    => (is => 'ro', required => 1, isa => 'Str');
has debug   => (is => 'rw', requi
ader(Accept => 'application/json');
    $req->content_type('application/json');
    $req->uri($uri);

    if ($query) {
        $self->_debug("Adding params: " . encode_json($query));
        $req->ur
ent: '" . $res->content . "'");
        if ($res->content !~ /^\s*$/) {
            return decode_json($res->content);
        } else {
            return undef;
        }
    }
}

=head2 _debug

Para
WebService-PlayaEvents ( L/LE/LEV/WebService-PlayaEvents-0.1.tar.gz, LEV, 2013; MetaCPAN )
WebService-PlayaEvents/lib/WebService/PlayaEvents.pm ( view source; MetaCPAN )
gent(__PACKAGE__ . ' ' . $WebService::PlayaEvents::VERSION);
    $self->content_type('application/json');
    $self->base_url('http://playaevents.burningman.com/api/0.2/' . $self->year);

    return $
Gentoo-Dependency-AST ( K/KE/KENTNL/Gentoo-Dependency-AST-0.001001.tar.gz, KENTNL, 2013; MetaCPAN )
Gentoo-Dependency-AST/lib/Gentoo/Dependency/AST/Node/Group/NotUse.pm ( view source; MetaCPAN )
etaPOD::JSON v1.1.0

{
    "namespace":"Gentoo::Dependency::AST::Node::Group::NotUse",
    "interface":"class",
    "inherits":"Gentoo::Dependency::AST::Node::Group::Use"
}


=end MetaPOD::JSON

=head
Apache-Hendrix ( Z/ZE/ZEDORIAH/Apache-Hendrix-v0.3.0.tar.gz, ZEDORIAH, 2013; MetaCPAN )
Apache-Hendrix/lib/Apache/Hendrix.pm ( view source; MetaCPAN )
 JSON::XS;
use Apache::Hendrix::Route;
use Moose;
use MooseX::FollowPBP;
use MooseX::ClassAttribute;
use Moose::Exporter;
use Template;
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', d
et_method->( \%params, $r, $route );
            if ( ref $result ) {
                return make_json( $r, $result );
            }
            return $result;
        }
    } ## end ROUTE: for my $r

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