Group
Extension

Matches 35358

Net-Respite ( B/BB/BBB/Net-Respite-0.25.tar.gz, BBB, 2025; MetaCPAN )
Net-Respite/lib/Net/Respite/CommandLine.pm ( view source; MetaCPAN )
;
    } elsif ($ENV{'JSON'} || ! eval { require Text::PrettyTable }) {
        eval { require JSON } || throw "Could not load JSON for output", {msg => $@};
        my $json = JSON->new->utf8->allow_n
etty->canonical;
        print "meta = ".$json->encode($meta) if $ENV{'SHOW_META'};
        print "args = ".$json->encode($args);
        print "data = ".$json->encode($data);
    } elsif ($ENV{'PERL'
nt $p->tablify($data);
        }
    }
}

sub _false { require JSON; JSON::false() }
sub _null  { undef }
sub _true  { require JSON; JSON::true() }

sub _pod {
    my ($self, $obj, $args) = @_;
    my
Respite ( B/BB/BBB/Respite-0.22.tar.gz, BBB, 2025; MetaCPAN )
Respite/lib/Respite/Common.pm ( view source; MetaCPAN )
t->json->decode(shift) }

=cut

use strict;
use warnings;

sub new {
    my ($class, $args) = @_;
    return bless {%{$args || {}}}, $class;
}

our $js;
sub json { $js ||= eval { require JSON; JSON->n
Could not load JSON: $@" }
our $jp;
sub jsop { $jp ||= eval { require JSON; JSON->new->utf8->allow_unknown->allow_nonref->convert_blessed->canonical->pretty } || die "Could not load JSON: $@" }

our $
Geo-GDAL-FFI ( S/SL/SLAFFAN/Geo-GDAL-FFI-0.14.tar.gz, SLAFFAN, 2025; MetaCPAN )
Geo-GDAL-FFI/lib/Geo/GDAL/FFI/Geometry.pm ( view source; MetaCPAN )
ee($p);
    confess Geo::GDAL::FFI::error_msg() unless $kml;
    return $kml;
}

sub ExportToJSON {
    my ($self, %options) = @_;
    my $o = 0;
    for my $key (keys %options) {
        $o 
portToJsonEx($$self, $o);
        Geo::GDAL::FFI::CSLDestroy($o);
    } else {
        $p = Geo::GDAL::FFI::OGR_G_ExportToJson($$self);
    }
    my $ffi = FFI::Platypus->new;
    my $json = $ff
 $p);
    Geo::GDAL::FFI::VSIFree($p);
    confess Geo::GDAL::FFI::error_msg() unless $json;
    return $json;
}

sub Intersects {
    my ($self, $geom) = @_;
    return Geo::GDAL::FFI::OGR_G_
Geo-GDAL-FFI ( S/SL/SLAFFAN/Geo-GDAL-FFI-0.14.tar.gz, SLAFFAN, 2025; MetaCPAN )
Geo-GDAL-FFI/lib/Geo/GDAL/FFI/Dataset.pm ( view source; MetaCPAN )
te',
 );
 
=head2 Info

 my $info = $dataset->Info($options);
 my $info = $dataset->Info(['-json', '-stats']);

This is the same as gdalinfo utility. $options is a reference to an
array.  Val
Net-Respite ( B/BB/BBB/Net-Respite-0.25.tar.gz, BBB, 2025; MetaCPAN )
Net-Respite/lib/Net/Respite/Base.pod ( view source; MetaCPAN )
 data passed is
assumed to be utf8 encoded meaning that it will need to be decoded
before calling json->encode.

Additionally, the true value can be a hashref of methods that need
this treatment.  Thi
ou know some of your methods have
utf8 data, while others do not.

(Note: Conversely when the non-json transport is finalized, it will
need to call decode_utf8 to make sure data is ready for the
trans
  This is advisory.

=item transport

Defaults to ''.  From Net::Respite::Server it defaults to C<json> (Respite),
C<form> (Post variables), and C<form-doc> (autodoc interface).  From
Net::Respite::Co
App-CPAN-SBOM ( G/GD/GDT/App-CPAN-SBOM-1.03.tar.gz, GDT, 2025; MetaCPAN )
App-CPAN-SBOM/lib/App/CPAN/SBOM.pm ( view source; MetaCPAN )
10001;
use strict;
use warnings;
use utf8;

use CPAN::Audit;
use CPAN::Meta;
use Cpanel::JSON::XS qw(encode_json);
use Data::Dumper;
use File::Basename;
use File::Spec;
use Getopt::Long qw(GetOptionsF
   $bom->metadata->tools->push(cyclonedx_tool());

    my $output_file = $options{output} // 'bom.json';

    say STDERR "Save SBOM to $output_file";

    open my $fh, '>', $output_file or Carp::croak
 $params{bom};
    my $options = $params{options} || {};

    my @META_FILES = (qw[META.json META.yml MYMETA.json MYMETA.yml]);

    say STDERR 'Generate SBOM';

    my $project_type        = $options
XS-Base ( H/HQ/HQWANG/XS-Base-1.04.tar.gz, HQWANG, 2025; MetaCPAN )
XS-Base/lib/XS/Base.pm ( view source; MetaCPAN )
package XS::Base;
use strict;
use warnings;
our @EXPORT_OK = qw(has del def clr dump_json load_json strict_mode);
our %EXPORT_TAGS = (all => \@EXPORT_OK);
our $VERSION = '1.04';

use Exporter 'import'
}
    return XS::Base::get_strict_mode();
}

# dump_json: 从 XS 取到 root 的引用,序列化后释放该引用
sub dump_json {
    require JSON::XS;
    my $root = XS::Base::get_root_ref();    #
lar
    eval {
        my $json = JSON::XS->new->utf8->canonical->encode($root);
        XS::Base::_dec_sv($root);           # 释放 XS 返回的引用
        return $json;
    } or do {
        my 
RT-Extension-AI ( B/BP/BPS/RT-Extension-AI-0.05.tar.gz, BPS, 2025; MetaCPAN )
RT-Extension-AI/lib/RT/Extension/AI/Provider/OpenAI.pm ( view source; MetaCPAN )
n::AI::Provider::OpenAI;

use strict;
use warnings;

use base 'RT::Extension::AI::Provider';

use JSON;

sub process_request {
    my ( $self, %args ) = @_;
    my $ua = $self->{ua};

    my $request_
      Content      => encode_json($request_payload),
        Content_Type => 'application/json'
    );

    if ( $response->is_success ) {
        my $content = decode_json( $response->decoded_content
RT-Authen-OAuth2 ( B/BP/BPS/RT-Authen-OAuth2-0.14.tar.gz, BPS, 2025; MetaCPAN )
RT-Authen-OAuth2/etc/OAuth2_Config.pm ( view source; MetaCPAN )
Groups is not part of the official userinfo OpenID schema, but is a quasi-standard. Only a single JSON group list "[ ]" is supported. Other nested lists or data structures are not (yet) supported.

=i
RT-Extension-AI ( B/BP/BPS/RT-Extension-AI-0.05.tar.gz, BPS, 2025; MetaCPAN )
RT-Extension-AI/lib/RT/Extension/AI/Provider/Gemini.pm ( view source; MetaCPAN )
n::AI::Provider::Gemini;

use strict;
use warnings;

use base 'RT::Extension::AI::Provider';

use JSON;

sub default_headers {
    my ( $class, $config ) = @_;
    return { 'x-goog-api-key' => $config
      Content      => encode_json($request_payload),
        Content_Type => 'application/json'
    );

    if ( $response->is_success ) {
        my $content = decode_json( $response->decoded_content
RT-Authen-OAuth2 ( B/BP/BPS/RT-Authen-OAuth2-0.14.tar.gz, BPS, 2025; MetaCPAN )
RT-Authen-OAuth2/lib/RT/Authen/OAuth2/Unimplemented.pm ( view source; MetaCPAN )
:Authen::OAuth2::Unimplemented;

our $VERSION = '0.01';

use Net::OAuth2::Profile::WebServer;
use JSON;

=head1 NAME

RT::Authen::OAuth2::Unimplemented - stub to die on unimplemented integrations

=cu
RT-Authen-OAuth2 ( B/BP/BPS/RT-Authen-OAuth2-0.14.tar.gz, BPS, 2025; MetaCPAN )
RT-Authen-OAuth2/lib/RT/Authen/OAuth2/Google.pm ( view source; MetaCPAN )
age RT::Authen::OAuth2::Google;

our $VERSION = '0.01';

use Net::OAuth2::Profile::WebServer;
use JSON;

=head1 NAME

RT::Authen::OAuth2::Google - Handler for Google OAuth2 logins

=cut

=head2 Exampl
h containing key/value pairs of user
profile metadata items. Google returns JSON.

=back

=cut


sub Metadata {
    my ($self, $response_content) = @_;
    return (decode_json($response_content));
}

Genealogy-ChroniclingAmerica ( N/NH/NHORNE/Genealogy-ChroniclingAmerica-0.07.tar.gz, NHORNE, 2025; MetaCPAN )
Genealogy-ChroniclingAmerica/lib/Genealogy/ChroniclingAmerica.pm ( view source; MetaCPAN )
s/results/?date1=1912&state=Indiana&format=json&andtext=ralph%3Dbixler

# TODO: NEW API
# https://libraryofcongress.github.io/data-exploration/loc.gov%20JSON%20API/Chronicling_America/README.html
# ht
tps://libraryofcongress.github.io/data-exploration/loc.gov%20JSON%20API/Chronicling_America/ChronAm-download_results.html
# https://www.loc.gov/collections/chronicling-america/?dl=page&end_date=1912-1
s=ralph+bixler&searchType=advanced&start_date=1912-01-01&fo=json

use warnings;
use strict;

use Carp;
use CHI;
use LWP::UserAgent;
use JSON::MaybeXS;
use Object::Configure;
use Params::Get 0.13;
use 
OcToolkit ( D/DE/DEVPJS/OcToolkit-1.08.tar.gz, DEVPJS, 2025; MetaCPAN )
OcToolkit/lib/example/ocToolkit.pl ( view source; MetaCPAN )
mplating engine.
Put your config into oc_config.json. Located in current dir.
   'instance_specific_data' : put your instance specific data in this json node, see example belove and in git
   'instanc
end of every entry, see example belove and in git
   'project': project specifc data
   oc_config.json root data are fix for every instance
  
Flags description:
  -A cluster base address, e.g.: 'apps
datory
  -c cluster name e.g.: 'clusterIntern','clusterPublic'... Default is defined in oc_config.json->project->default_cluster. 
     You should be logged in into corresponding cluster
     If clust
Text-PrettyTable ( B/BB/BBB/Text-PrettyTable-0.03.tar.gz, BBB, 2025; MetaCPAN )
Text-PrettyTable/lib/Text/PrettyTable.pm ( view source; MetaCPAN )
ALAR')) {
                    $val = (defined(&JSON::true)  && JSON::true()  eq $val) ? '(true)'
                         : (defined(&JSON::false) && JSON::false() eq $val) ? '(false)'
               
Net-Respite ( B/BB/BBB/Net-Respite-0.25.tar.gz, BBB, 2025; MetaCPAN )
Net-Respite/lib/Net/Respite/Common.pm ( view source; MetaCPAN )
t->json->decode(shift) }

=cut

use strict;
use warnings;

sub new {
    my ($class, $args) = @_;
    return bless {%{$args || {}}}, $class;
}

our $js;
sub json { $js ||= eval { require JSON; JSON->n
Could not load JSON: $@" }
our $jp;
sub jsop { $jp ||= eval { require JSON; JSON->new->utf8->allow_unknown->allow_nonref->convert_blessed->canonical->pretty } || die "Could not load JSON: $@" }

our $
OcToolkit ( D/DE/DEVPJS/OcToolkit-1.08.tar.gz, DEVPJS, 2025; MetaCPAN )
OcToolkit/lib/OcToolkit.pm ( view source; MetaCPAN )
package OcToolkit;

use v5.16; # or newer
use strict;
use warnings;

our $VERSION = "1.08";

use JSON::PP;
use Text::Diff;
use Template;
use File::Slurp;
use File::Find::Rule;
use File::Path qw(make_p
= {@_};
    
    $self->{tt}   = Template->new({INTERPOLATE  => 1});
    $self->{json} = JSON::PP->new;
    $self->{json}->convert_blessed();
    
    $self->{secretsDir}           = "secrets"        
       if not defined $self->{secretsDir};
    $self->{ocConfigFile}         = "oc_config.json"        if not defined $self->{ocConfigFile};
    $self->{templatesTTDir}       = "templates_tt"         
Net-Respite ( B/BB/BBB/Net-Respite-0.25.tar.gz, BBB, 2025; MetaCPAN )
Net-Respite/lib/Net/Respite/Client.pm ( view source; MetaCPAN )
  *Throw_::TO_JSON = sub { +{%{$_[0]}} };
        *Throw_::_str = sub { my ($s) = @_; my ($e,$p) = delete(@$s{qw(error _pretty)}); $e||="throw"; $e .= ': '.($p||$Throw::pretty?jsop():json())->encode($
 _decode_utf8_recurse($args) if $enc;
        $req = eval { $self->json->encode($args) } || throw "Trouble encoding $name service json", {msg => $@}, 1;
        my $sign = defined($pass) ? do { my $t 
0\r\n${cookie}${sign}Host: $host\r\nContent-length: ".length($req)."\r\nContent-type: application/json\r\n\r\n$req";
        warn "DEBUG_Respite: Connected to http".($no_ssl?'':'s')."://$host:$port/\n
LedgerSMB-Installer ( E/EH/EHUELS/LedgerSMB-Installer-v0.999.10.tar.gz, EHUELS, 2025; MetaCPAN )
LedgerSMB-Installer/lib/LedgerSMB/Installer/Configuration.pm ( view source; MetaCPAN )
_url($self, $distro, $id) {
    return "https://download.ledgersmb.org/f/dependencies/$distro/$id.json";
}

sub have_deps($self) {
    return (defined $self->{_deps}
            and defined $self->{_d
;
    my $r = $http->get( $url );
    my $pkgs;
    if ($r->{success}) {
        $self->{_deps} = JSON::PP->new->utf8->decode( $r->{content} );
        $pkgs = $self->{_deps}->{packages};
    }
    el
.com/repos/ledgersmb/LedgerSMB/releases/latest' );
    if ($r->{success}) {
        my $content = JSON::PP->new->utf8->decode( $r->{content} );

        if (defined $content
            and defined $c
Mail-Milter-Authentication ( M/MB/MBRADSHAW/Mail-Milter-Authentication-4.20250811.tar.gz, MBRADSHAW, 2025; MetaCPAN )
Mail-Milter-Authentication/lib/Mail/Milter/Authentication/Metric.pm ( view source; MetaCPAN )
 }
    print $socket qq{<li>Effective config (<a href="/config/toml">toml</a>/<a href="/config/json">json</a>)</li>} if !$config->{'metric_basic_http'};
    print $socket qq{
    </ul>

    <h2>Metric

    </ul>

    <hr />

 </div>
</body>
    };
        }
        elsif ( $request_uri eq '/config/json' || $request_uri eq '/config' ) {
            if ( $config->{'metric_basic_http'} ) {
           
t $socket "\n";
                my $json = JSON::XS->new();
                $json->canonical();
                $json->pretty();
                print $socket $json->encode( $config );
            }
 

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