Group
Extension

Matches 35359

Dist-Zilla-PluginBundle-Author-ETHER ( E/ET/ETHER/Dist-Zilla-PluginBundle-Author-ETHER-0.170.tar.gz, ETHER, 2025; MetaCPAN )
Dist-Zilla-PluginBundle-Author-ETHER/lib/Dist/Zilla/PluginBundle/Author/ETHER.pm ( view source; MetaCPAN )
er be gathered
my @never_gather = grep -e, qw(
    Makefile.PL ppport.h README.md README.pod META.json
    cpanfile TODO CONTRIBUTING LICENCE LICENSE INSTALL
    inc/ExtUtils/MakeMaker/Dist/Zilla/Deve
on.max_target_perl'} < '5.008');

    warn '[@Author::ETHER] ', colored('.git is missing and META.json is present -- this looks like a CPAN download rather than a git repository. You should probably r
ake') . ' instead of using dzil commands!', 'yellow'), "\n"
        if not -d '.git' and -f 'META.json' and not $self->_plugin_removed('Git::GatherDir');

    # only set x_static_install using auto mo
Neo4j-Bolt ( A/AJ/AJNN/Neo4j-Bolt-0.5001-TRIAL2.tar.gz, AJNN, 2025; MetaCPAN )
Neo4j-Bolt/lib/Neo4j/Bolt/CTypeHandlers.xs ( view source; MetaCPAN )
f (SvOBJECT(ref)) {
      if (reftype < SVt_PVAV) { // blessed scalar ref
        if (sv_isa(sv, "JSON::PP::Boolean")) {
          return SViv_to_neo4j_bool(ref);
        }
      }
      if (reftype =
ewSVsv(neo4j_bool_value(value) ? &PL_sv_yes : &PL_sv_no);
#else
  HV* boolean_stash = gv_stashpv("JSON::PP::Boolean", GV_ADD);
  SV* scalar = newSViv( (IV) neo4j_bool_value(value) );
  return sv_bless
Log-Report-Lexicon ( M/MA/MARKOV/Log-Report-Lexicon-1.15.tar.gz, MARKOV, 2025; MetaCPAN )
Log-Report-Lexicon/lib/Log/Report/Translator/Context.pod ( view source; MetaCPAN )
nfig()|Log::Report::Domain/"Attributes">.

Example of such configuration file: (JSON syntax and Perl syntax)

  === JSON ===                    ==== Perl ==   =
 {{
     "context_rules" : {           
Neo4j-Bolt ( A/AJ/AJNN/Neo4j-Bolt-0.5001-TRIAL2.tar.gz, AJNN, 2025; MetaCPAN )
Neo4j-Bolt/lib/Neo4j/Bolt.pm ( view source; MetaCPAN )
--       ---- --------------
 Null             undef
 Bool             Perl core bool (v5.36+) or JSON::PP::Boolean
 Int              scalar
 Float            scalar
 String           scalar
 Bytes   
Neo4j-Bolt ( A/AJ/AJNN/Neo4j-Bolt-0.5001-TRIAL2.tar.gz, AJNN, 2025; MetaCPAN )
Neo4j-Bolt/lib/Neo4j/Bolt/NeoValue.xs ( view source; MetaCPAN )
 SvRV(sv);
    if (SvTYPE(ref) < SVt_PVAV) { // scalar ref
      if (SvOBJECT(ref) && sv_isa(sv, "JSON::PP::Boolean")) {
        return &PL_sv_yes;
      }
      if (SvIOK(ref) && SvIV(ref) >> 1 == 0)
App-cpm ( S/SK/SKAJI/App-cpm-0.998001.tar.gz, SKAJI, 2025; MetaCPAN )
App-cpm/lib/App/cpm/CLI.pm ( view source; MetaCPAN )
 }
    if (-f 'META.json') {
        my $meta = CPAN::Meta->load_file('META.json');
        if (!$meta->dynamic_config) {
            return { type => 'metafile', path => 'META.json' };
        }
    
PL';
        my @cmd = ($^X, $build_file);
        warn "Executing $build_file to generate MYMETA.json and to determine requirements...\n";
        local %ENV = (
            PERL5_CPAN_IS_RUNNING => 
 }
        if (!-f 'MYMETA.json') {
            die "Error: No MYMETA.json after executing $build_file\n";
        }
        return { type => 'metafile', path => 'MYMETA.json' };
    }
    return;
}

Log-Report ( M/MA/MARKOV/Log-Report-1.42.tar.gz, MARKOV, 2025; MetaCPAN )
Log-Report/lib/Dancer2/Plugin/LogReport.pod ( view source; MetaCPAN )
nd_as(JSON => {
        error             => 1,
        error_description => $msg->toString,
    }, {
        content_type => 'application/json; charset=UTF-8',
    });
  };

example: Return JSON resp
lication/json

  fatal_handler sub {
    my ($dsl, $msg, $reason, $default) = @_;

    (my $ctype = $dsl->request->header('content-type')) =~ s/;.*//;
    return if $ctype ne 'application/json';
    s
ror' : 'Bad Request';
    $dsl->send_as(JSON => {
      error       => 1,
      description => $msg->toString,
    }, {
        content_type => 'application/json; charset=UTF-8',
    });
  };

=item $
SPVM-Mojolicious ( K/KI/KIMOTO/SPVM-Mojolicious-0.032.tar.gz, KIMOTO, 2025; MetaCPAN )
SPVM-Mojolicious/lib/SPVM/Mojo/Transaction.pm ( view source; MetaCPAN )
y $hash   = $tx->req->params->to_hash;
  my $all    = $tx->req->uploads;
  my $value  = $tx->req->json;

=head2 res

C<has res : rw L<Mojo::Message::Response|SPVM::Mojo::Message::Response>;>

HTTP res
ader");
  my $bytes   = $tx->res->body;
  my $str     = $tx->res->text;
  my $value   = $tx->res->json;

=head2 connection

C<has connection : rw L<Mojo::Connection|SPVM::Mojo::Connection>;>

Connecti
App-oo_modulino_zsh_completion_helper ( H/HK/HKOBA/App-oo_modulino_zsh_completion_helper-0.07.tar.gz, HKOBA, 2025; MetaCPAN )
App-oo_modulino_zsh_completion_helper/samples/3-mop4import-declare/Greetings_CLI_JSON.pm ( view source; MetaCPAN )
#!/usr/bin/env perl
package
  Greetings_CLI_JSON;

use MOP4Import::Base::CLI_JSON -as_base
  , [fields =>
     [name => doc => 'Name of someone to be greeted'
      , default => 'world'
    ],
     qw
WWW-Noss ( S/SA/SAMYOUNG/WWW-Noss-2.00.tar.gz, SAMYOUNG, 2025; MetaCPAN )
WWW-Noss/lib/WWW/Noss.pm ( view source; MetaCPAN )
pfile);
use List::Util qw(max);
use POSIX qw(strftime);
use Pod::Usage;
use Term::ANSIColor;

use JSON;

use WWW::Noss::Curl qw(curl curl_error http_status_string);
use WWW::Noss::DB;
use WWW::Noss::F
 $/ = undef; readline $fh };
    close $fh;

    my $json_obj = JSON->new->relaxed;
    my $json = $json_obj->decode($slurp);

    unless (ref $json eq 'HASH') {
        die "$self->{ ConfFile } is no
id $PRGNAM configuration file\n";
    }

    if (defined $json->{ feeds }) {
        if (not ref $json->{ feeds }) {
            my $p = $json->{ feeds } =~ s/^~/@{[ home ]}/r;
            $self->{ Fe
CGI-Lingua ( N/NH/NHORNE/CGI-Lingua-0.79.tar.gz, NHORNE, 2025; MetaCPAN )
CGI-Lingua/lib/CGI/Lingua.pm ( view source; MetaCPAN )
eval { require LWP::Simple::WithCache; require JSON::Parse } )) {
		$self->_debug("Look up $ip on geoplugin");

		LWP::Simple::WithCache->import();
		JSON::Parse->import();

		if(my $data = LWP::Simpl
e::WithCache::get("http://www.geoplugin.net/json.gp?ip=$ip")) {
			$self->{_country} = JSON::Parse::parse_json($data)->{'geoplugin_countryCode'};
		}
	}
	unless($self->{_country}) {
		$self->_debug("L
l { require LWP::Simple::WithCache; require JSON::Parse } ) {
				$self->_debug("Look up $ip on ip-api.com");

				LWP::Simple::WithCache->import();
				JSON::Parse->import();

				if(my $data = LWP::
SPVM-Mojolicious ( K/KI/KIMOTO/SPVM-Mojolicious-0.032.tar.gz, KIMOTO, 2025; MetaCPAN )
SPVM-Mojolicious/lib/SPVM/Mojo/UserAgent.pm ( view source; MetaCPAN )
JSON API request with Basic authentication
  my $url = (my $_ = Mojo::URL->new("https://example.com/test.json"), $_->set_userinfo("sri:☃"), $_);
  my $value = $ua->get($url)->result->json;

  # JSON
 POST (application/json) with TLS certificate authentication
  my $tx = ($ua->set_cert("tls.crt"), $ua->set_key("tls.key"), $ua->post("https://example.com" => [(object)json => {top => "secret"}]));

 
p("socks://127.0.0.1:9050");
  $ua->get("api.3g2upl4pq6kufc4m.onion/?q=mojolicious&format=json")->result->json;

  # GET request via UNIX domain socket "/tmp/myapp.sock" (percent encoded slash)
  say 
WWW-Noss ( S/SA/SAMYOUNG/WWW-Noss-2.00.tar.gz, SAMYOUNG, 2025; MetaCPAN )
WWW-Noss/lib/WWW/Noss/DB.pm ( view source; MetaCPAN )
ings;
our $VERSION = '2.00';

use List::Util qw(all any max none);

use DBD::SQLite;
use DBI;
use JSON;

use WWW::Noss::FeedReader qw(read_feed);
use WWW::Noss::Util qw(resolve_url);

my %DAY_MAP = (
 encode_json($feedref->{ category }) : undef),
        $feedref->{ generator },
        $feedref->{ image },
        $feedref->{ rights },
        (defined $feedref->{ skiphours } ? encode_json($feedr
ef->{ skiphours }) : undef),
        (defined $feedref->{ skipdays  } ? encode_json($feedref->{ skipdays  }) : undef),
    );

    my $upsert_post = $self->{ DB }->prepare(
        q{
INSERT INTO post
SPVM-Mojolicious ( K/KI/KIMOTO/SPVM-Mojolicious-0.032.tar.gz, KIMOTO, 2025; MetaCPAN )
SPVM-Mojolicious/lib/SPVM/Mojo/UserAgent/Transactor.pm ( view source; MetaCPAN )
 [(object)form => {a => "b"}])->req->to_string;

  # PUT request with JSON data
  say $t->tx(PUT => "example.com" => [(object)json => {a => "b"}])->req->to_string;

=head1 Generators

These content ge
ntent. See L</"tx"> for more.

=head2 json

  $t->tx(PATCH => "http://example.com" => [(object)json => {a => "b"}]);

Generate JSON content with L<JSON|SPVM::JSON>. See L</"tx"> for more.

=head2 mult
nt::Transactor::Callback::Generator>;>

Registered content generators, by default only C<form>, C<json> and C<multipart> are already defined.

=head2 name

C<has name : rw string;>

Value for C<User-A
Log-Report-Template ( M/MA/MARKOV/Log-Report-Template-1.04.tar.gz, MARKOV, 2025; MetaCPAN )
Log-Report-Template/lib/Log/Report/Template/Textdomain.pod ( view source; MetaCPAN )
 format '$format', in $use //template

Cast by C<translationFunction()>

=item Fault: cannot open JSON file for context at $fn: $!

Cast by C<readConfig()>

=item Error: extension to domain '$name' al
Astro-ADS ( D/DU/DUFFEE/Astro-ADS-1.92.tar.gz, DUFFEE, 2025; MetaCPAN )
Astro-ADS/lib/Astro/ADS/Search.pm ( view source; MetaCPAN )
urn Astro::ADS::Result->new( {error => $error_obj} );
    }

    my $json = $response->json;
    return $self->parse_response( $json );
}

sub query_tree {
    my ($self, $terms) = @_;

    my $url = 
my $response = $self->post_response( $url, $bibcode_list );

    my $json = $response->json;
    return $self->parse_response( $json );
}

sub gather_search_terms {
    my ($self, $terms) = @_;

    m
Astro-ADS ( D/DU/DUFFEE/Astro-ADS-1.92.tar.gz, DUFFEE, 2025; MetaCPAN )
Astro-ADS/lib/Astro/ADS/Role/ResultMapper.pm ( view source; MetaCPAN )
o::ADS::QTree;
use Astro::ADS::Result;

sub parse_response {
    my ($self, $json) = @_;

    unless ($json && exists $json->{responseHeader}) {
        warn 'No response to parse';
        return;
  
ws fl> } = @{$json->{responseHeader}{params}}{ qw<q rows fl> };
    $result_params->{status} = @{$json->{responseHeader}}{ status };
    @{$result_params}{ qw<numFound start> } = @{$json->{response}}{
numFound start> };
    $result_params->{numFoundExact} = $json->{response}{numFoundExact} ? 1 : 0;

    my @papers;
    for my $paper ( @{$json->{response}->{docs}} ) {
        push @papers, Astro::AD
Astro-ADS ( D/DU/DUFFEE/Astro-ADS-1.92.tar.gz, DUFFEE, 2025; MetaCPAN )
Astro-ADS/lib/Astro/ADS.pm ( view source; MetaCPAN )
 need to do form submission
    # hashrefs are sent as JSON
    my $tx = ref $content eq 'HASH'
        ? $self->ua->build_tx( POST => $url, json => $content )
        : $self->ua->build_tx( POST => $
App-cpm ( S/SK/SKAJI/App-cpm-0.998001.tar.gz, SKAJI, 2025; MetaCPAN )
App-cpm/lib/App/cpm/Tutorial.pm ( view source; MetaCPAN )


=item L<cpanfile|https://metacpan.org/dist/Module-CPANfile/view/lib/cpanfile.pod>

=item L<META.json|https://metacpan.org/pod/CPAN::Meta::Spec> (with dynamic_config false)

=item C<Build.PL>

=item 
DBD-libsql ( Y/YT/YTURTLE/DBD-libsql-0.05.tar.gz, YTURTLE, 2025; MetaCPAN )
DBD-libsql/lib/DBD/libsql/Hrana.pm ( view source; MetaCPAN )
package DBD::libsql::Hrana;
use strict;
use warnings;
use LWP::UserAgent;
use HTTP::Request;
use JSON;
use Protocol::WebSocket;
use IO::Socket::SSL;
use Carp;

our $VERSION = "0.05";

# Hrana Protocol
t => $options{timeout} || 30,
            agent => "DBD::libsql/$VERSION",
        ),
        json => JSON->new->utf8,
        connection_id => undef,
        closed => 0,
    }, $class;
    
    # De
 => 'application/json');
    
    if ($self->{auth_token}) {
        $request->header('Authorization' => 'Bearer ' . $self->{auth_token});
    }
    
    $request->content($self->{json}->encode({
    

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