Group
Extension

Matches 35358

CSAF ( G/GD/GDT/CSAF-0.26.tar.gz, GDT, 2025; MetaCPAN )
CSAF/lib/CSAF/Schema.pm ( view source; MetaCPAN )
il qw(schema_cache_path);
use JSON::Validator;


our %SCHEMAS = (
    'csaf-2.0'            => 'https://docs.oasis-open.org/csaf/csaf/v2.0/os/schemas/csaf_json_schema.json',
    'strict-csaf-2.0'     
g/csaf/csaf/v2.0/os/schemas/csaf_json_schema.json?strict',
    'csaf-2.0-provider'   => 'https://docs.oasis-open.org/csaf/csaf/v2.0/os/schemas/provider_json_schema.json',
    'csaf-2.0-aggregator' => 
/v2.0/os/schemas/aggregator_json_schema.json',

    'cvss-v3.1' => 'https://www.first.org/cvss/cvss-v3.1.json',
    'cvss-v3.0' => 'https://www.first.org/cvss/cvss-v3.0.json',
    'cvss-v2.0' => 'http
Catmandu ( N/NI/NICS/Catmandu-1.2025.tar.gz, NICS, 2025; MetaCPAN )
Catmandu/lib/Catmandu/Store.pm ( view source; MetaCPAN )


=head1 SYNOPSIS

    # From the command line

    $ catmandu import JSON into MongoDB --database_name 'bibliography' < data.json

    $ catmandu export MongoDB --database_name 'bibliography' to YAML
Net-RDAP ( G/GB/GBROWN/Net-RDAP-0.40.tar.gz, GBROWN, 2025; MetaCPAN )
Net-RDAP/lib/Net/RDAP/Values.pm ( view source; MetaCPAN )
stant {
    IANA_REGISTRY_URL                   => 'https://www.iana.org/assignments/rdap-json-values/rdap-json-values.xml',

    RDAP_TYPE_NOTICE_OR_REMARK_TYPE     => 'notice and remark type',      
s> - a module which provides interface to the RDAP values
registry.

=head1 DESCRIPTION

The RDAP JSON Values Registry was defined in RFC 7483 and lists the
permitted values of certain RDAP object pro
Net-RDAP ( G/GB/GBROWN/Net-RDAP-0.40.tar.gz, GBROWN, 2025; MetaCPAN )
Net-RDAP/lib/Net/RDAP.pm ( view source; MetaCPAN )
A qw(sha256_hex);
use File::Slurp;
use File::stat;
use File::Spec;
use HTTP::Request::Common;
use JSON;
use MIME::Base64;
use Net::ASN;
use Net::RDAP::Error;
use Net::RDAP::Help;
use Net::RDAP::Object
  my $file = File::Spec->catfile(
        File::Spec->tmpdir,
        sprintf(
            '%s-%s.json',
            ref($self),
            sha256_hex(join(chr(0), (
                $VERSION,
       
 }

    my $response = $self->ua->mirror($url, $file, $ttl, $lang);

    my $data = eval { decode_json(scalar(read_file($file))) };

    if ($response->code >= 400) {
        return $self->error_from_
Net-RDAP ( G/GB/GBROWN/Net-RDAP-0.40.tar.gz, GBROWN, 2025; MetaCPAN )
Net-RDAP/lib/Net/RDAP/Registry.pm ( view source; MetaCPAN )
se JSON;
use POSIX qw(getpwuid);
use Net::RDAP::UA;
use Net::RDAP::Registry::IANARegistry;
use vars qw($UA $REGISTRY);
use constant {
    IP4_URL             => 'https://data.iana.org/rdap/ipv4.json',
https://data.iana.org/rdap/ipv6.json',
    DNS_URL             => 'https://data.iana.org/rdap/dns.json',
    ASN_URL             => 'https://data.iana.org/rdap/asn.json',
    TAG_URL             => 'h
ttps://data.iana.org/rdap/object-tags.json',
    CACHE_TTL           => 86400,
};
use strict;

our $UA;

our $REGISTRY = {};

=pod

=head1 NAME

L<Net::RDAP::Registry> - a module which provides an int
Net-RDAP ( G/GB/GBROWN/Net-RDAP-0.40.tar.gz, GBROWN, 2025; MetaCPAN )
Net-RDAP/lib/Net/RDAP/Object.pm ( view source; MetaCPAN )
defined by bn IANA registry; see:

=over

=item * L<https://www.iana.org/assignments/rdap-json-values/rdap-json-values.xhtml>

=back

=cut

sub status { $_[0]->{'status'} ? @{$_[0]->{'status'}} : () }
Net-RDAP ( G/GB/GBROWN/Net-RDAP-0.40.tar.gz, GBROWN, 2025; MetaCPAN )
Net-RDAP/lib/Net/RDAP/Base.pm ( view source; MetaCPAN )
P::Link> object with a C<rel> property of
C<related> and a C<type> property of C<application/rdap+json> (or C<undef>
if no subject object is found).

=cut

sub related {
    my $self = shift;

    for
ink ($self->links) {
        if (q{related} eq $link->rel && $link->type =~ m/^application\/rdap\+json/) {
            return $link;
        }
    }

    return undef;
}

=head2 "Self" Link

    $self
   }
}

=pod

=head1 C<TO_JSON()>

C<Net::RDAP::Base> provides a C<TO_JSON()> so that any RDAP object can be
serialized back into JSON if your JSON serializer (L<JSON>, L<JSON::XS>, etc)
is configured
Net-RDAP ( G/GB/GBROWN/Net-RDAP-0.40.tar.gz, GBROWN, 2025; MetaCPAN )
Net-RDAP/lib/Net/RDAP/Link.pm ( view source; MetaCPAN )
=cut

sub is_rdap { exists($_[0]->{'type'}) && $_[0]->{'type'} =~ /^application\/rdap/i }

sub TO_JSON {
    my $self = shift;
    my %hash = %{$self};

    delete($hash{_document_url});
    delete($h
URI-PackageURL ( G/GD/GDT/URI-PackageURL-2.23.tar.gz, GDT, 2025; MetaCPAN )
URI-PackageURL/lib/URI/PackageURL/App.pm ( view source; MetaCPAN )
GetOptionsFromArray :config gnu_compat);
use Pod::Usage   qw(pod2usage);
use Carp         ();
use JSON::PP     ();
use Data::Dumper ();

use URI::PackageURL ();

our $VERSION = '2.23';

sub cli_error 
DERR "ERROR: $error\n";
}

sub run {

    my ($class, @args) = @_;

    my %options = (format => 'json');

    GetOptionsFromArray(
        \@args, \%options, qw(
            help|h
            man
  
alifiers|qualifier=s%
            subpath=s

            null|0
            format=s

            json
            yaml
            dumper
            env
        )
    ) or pod2usage(-verbose => 0);
Rex ( F/FE/FERKI/Rex-1.16.1.tar.gz, FERKI, 2025; MetaCPAN )
Rex/lib/Rex/Interface/Connection/HTTP.pm ( view source; MetaCPAN )
ON = '1.16.1'; # VERSION

use Rex::Interface::Connection::Base;

BEGIN {
  LWP::UserAgent->use;
  JSON::MaybeXS->use;
}

use Data::Dumper;

use base qw(Rex::Interface::Connection::Base);

sub new {
  
ltipart/form-data",
    Content      => $data
  );

  if ( $res->is_success ) {
    return decode_json( $res->decoded_content );
  }
  else {
    die("Error requesting /fs/upload.");
  }
}

sub post {
>{port}
      . "$service",
    %{$header},
    Content => encode_json($data)
  );

  if ( $res->is_success ) {
    return decode_json( $res->decoded_content );
  }
  else {
    die( "Error requesting
Catmandu ( N/NI/NICS/Catmandu-1.2025.tar.gz, NICS, 2025; MetaCPAN )
Catmandu/lib/Catmandu/Exporter/YAML.pm ( view source; MetaCPAN )
L exporter

=head1 SYNOPSIS

    # From the commandline
    $ catmandu convert JSON --fix myfixes to YAML < /tmp/data.json

    # From Perl

    use Catmandu;

    # Print to STDOUT
    my $exporter =
Catmandu ( N/NI/NICS/Catmandu-1.2025.tar.gz, NICS, 2025; MetaCPAN )
Catmandu/lib/Catmandu/Fix/Bind/hashmap.pm ( view source; MetaCPAN )
 = Catmandu->exporter($self->exporter, %$args);
    }
    else {
        $e = Catmandu->exporter('JSON', line_delimited => 1);
    }

    my $sorter = $self->count ? sub {$h->{$b} <=> $h->{$a}} : sub 
hashmap(join: ',')
    copy_field(isbn,key)
    copy_field(_id,value)
 end

 # will export to the JSON exporter a hash map containing all isbn occurrences in the stream

 { "_id": "9781565920422" , "v
bn,key)
 end

 # Use the Null exporter to suppress the normal output
 $ cat /tmp/data.json | catmandu convert JSON --fix count.fix to Null

=head1 DESCRIPTION

The hashmap binder will insert all key/v
Catmandu ( N/NI/NICS/Catmandu-1.2025.tar.gz, NICS, 2025; MetaCPAN )
Catmandu/lib/Catmandu/Exporter/Null.pm ( view source; MetaCPAN )
he commandline
  	$ catmandu convert JSON --fix myfixes to Null < /tmp/data.json

	$ catmandu convert JSON --fix 'add_to_exporter(.,JSON)' to Null < /tmp/data.json
	
=head1 DESCRIPTION

This exporter 
Catmandu ( N/NI/NICS/Catmandu-1.2025.tar.gz, NICS, 2025; MetaCPAN )
Catmandu/lib/Catmandu/Fix/Bind/importer.pm ( view source; MetaCPAN )
ove_field(n,brol)
        add_to_exporter(.,JSON)

        do importer(Mock,size:20,step:true)
            move_field(n,m)
            add_to_exporter(.,JSON)
        end
    end

=head1 SEE ALSO

L<C
Catmandu ( N/NI/NICS/Catmandu-1.2025.tar.gz, NICS, 2025; MetaCPAN )
Catmandu/lib/Catmandu/Exporter/Text.pm ( view source; MetaCPAN )
and line

    # Write all field values as a line of Text
    $ catmandu convert JSON to Text --field_sep "," < data.json

    # In a Perl script

    use Catmandu;

    # Print to STDOUT
    my $expor
Catmandu ( N/NI/NICS/Catmandu-1.2025.tar.gz, NICS, 2025; MetaCPAN )
Catmandu/lib/Catmandu/Exporter/TSV.pm ( view source; MetaCPAN )
om the JSON
    # input. By default the TSV exporter will export the fields that are
    # found in the first JSON record.
    $ catmandu convert JSON to TSV --fields "id,title,year" < data.json

    
Catmandu ( N/NI/NICS/Catmandu-1.2025.tar.gz, NICS, 2025; MetaCPAN )
Catmandu/lib/Catmandu/Cmd/info.pm ( view source; MetaCPAN )
  catmandu info --stores
  catmandu info --validators
  catmandu info --namespace=Catmandu
  catmandu info --all

  # export list of exporter modules to JSON
  catmandu info --exporters to JSON

=cut
Catmandu ( N/NI/NICS/Catmandu-1.2025.tar.gz, NICS, 2025; MetaCPAN )
Catmandu/lib/Catmandu/Fix/Condition/valid.pm ( view source; MetaCPAN )
to a schema
    select valid('', JSONSchema, schema: "my/schema.json")

    # check the author field
    unless valid(author, JSONSchema, schema: "my/author.schema.json")
       ... # repair or give w
CSAF ( G/GD/GDT/CSAF-0.26.tar.gz, GDT, 2025; MetaCPAN )
CSAF/lib/CSAF/Writer.pm ( view source; MetaCPAN )
elf) = @_;

    my $csaf_id                   = $self->csaf->document->tracking->id;
    my $csaf_json                 = $self->csaf->renderer->render;
    my $csaf_directory            = $self->direc
_current_release_date = $self->csaf->document->tracking->current_release_date->datetime;

    my $json_file_path     = catfile($csaf_directory, $csaf_file_year, $csaf_filename);
    my $index_file_pat
ug("CSAF document         : $csaf_filename");
        $self->log->debug("CSAF document path    : $json_file_path");
        $self->log->debug("index.txt path        : $index_file_path");
        $self
Data-Power-FaultDetectorBase ( P/PY/PYH/Data-Power-FaultDetectorBase-0.01.tgz, PYH, 2025; MetaCPAN )
Data-Power-FaultDetectorBase/lib/Data/Power/FaultDetectorBase.pm ( view source; MetaCPAN )
package Data::Power::FaultDetectorBase;

use strict;
use warnings;
use JSON;

=encoding utf8

=head1 NAME

Data::Power::FaultDetectorBase - Medium Voltage Grid Equipment Fault Detection Baseline

=hea
实例
  my $analyzer = Data::Power::FaultDetectorBase->new(
      thresholds_file => 'thresholds.json',
      output_file => 'faults.csv'
  );

  # 从文件加载数据并分析
  $analyzer->analyze


=head2 new

创建新的故障分析器实例

参数:
  thresholds_file - 包含阈值设置的JSON文件路径
  output_file - 输出故障报告的文件路径(可选)

返回:
  Data::Power:

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