Group
Extension

Matches 35358

PICA-Data ( V/VO/VOJ/PICA-Data-2.12.tar.gz, VOJ, 2023; MetaCPAN )
PICA-Data/lib/PICA/Writer/Base.pm ( view source; MetaCPAN )
A::Writer::Plus>

=item L<PICA::Writer::XML>

=item L<PICA::Writer::PPXML>

=item L<PICA::Writer::JSON>

=item L<PICA::Writer::Generic>

=item L<PICA::Writer::Patch>

=back

=head1 METHODS

=head2 new
JIP-DataPath ( V/VL/VLADIMIRZ/JIP-DataPath-0.044.tar.gz, VLADIMIRZ, 2023; MetaCPAN )
JIP-DataPath/lib/JIP/DataPath.pm ( view source; MetaCPAN )
ironment variables.

=head1 SEE ALSO

L<Data::Focus>, L<Data::PathSimple>, L<Data::SimplePath>, L<JSON::Pointer>

=head1 AUTHOR

Volodymyr Zhavoronkov, C<< <flyweight at yandex dot ru> >>

=head1 LICE
Story-Interact ( T/TO/TOBYINK/Story-Interact-0.001014.tar.gz, TOBYINK, 2023; MetaCPAN )
Story-Interact/lib/Story/Interact/Character.pm ( view source; MetaCPAN )
=> 'rwp',
	isa       => Str | Undef,
);

has [ qw( meta knows carries achieved ) ] => (
	is        => 'ro',
	isa       => HashRef,
	builder   => sub { {} },
);

sub TO_JSON {
	+{ %{ +shift } };
}

1;
Story-Interact ( T/TO/TOBYINK/Story-Interact-0.001014.tar.gz, TOBYINK, 2023; MetaCPAN )
Story-Interact/lib/Story/Interact/Syntax.pm ( view source; MetaCPAN )
m_page( $page );
	my $return = $page;
	undef $page;
	return $return;
}

sub pp {
	require JSON::PP;
	print JSON::PP
		->new
		->pretty( 1 )
		->canonical( 1 )
		->convert_blessed( 1 )
		->encode( shif
Museum-EICAS ( R/RS/RSHEAT/Museum-EICAS-0.01.tar.gz, RSHEAT, 2023; MetaCPAN )
Museum-EICAS/lib/Museum/EICAS.pm ( view source; MetaCPAN )
package Museum::EICAS;

use 5.34.0;
use strictures 2;

use JSON::MaybeXS;
use LWP::UserAgent;
use Moo;
use URI::QueryParam;

use namespace::clean;

=head1 NAME

Museum::EICAS - A simple interface to t
my $req = HTTP::Request->new(
        GET => $url,
        [
            'Accept' => 'application/json; charset=UTF-8',
        ]
    );

    my $res = $ua->request($req);

    if (!$res->is_success) 
 EICAS '$url_part' endpoint: " . $res->status_line . "\n";
    }

    my $json = JSON::MaybeXS->new();
    my $content = $json->decode( $res->decoded_content );
    return $content;
}

has 'url_base' 
Catmandu-PICA ( V/VO/VOJ/Catmandu-PICA-1.18.tar.gz, VOJ, 2023; MetaCPAN )
Catmandu-PICA/lib/Catmandu/Validator/PICA.pm ( view source; MetaCPAN )
        $schema = read_yaml($schema);
                } else {
                    $schema = read_json($schema);
                }
            }
            $self->{schema} = PICA::Schema->new(check_h
use Catmandu qw(importer);

    my $validator = Catmandu::Validator::PICA->new( schema => 'schema.json' );

    importer('PICA', file => 'pica.xml')->each( sub {
        my $record = shift;
        un
:

    # reject all items not conforming to the schema
    select valid('', PICA, schema: 'schema.json')

=head1 DESCRIPTION

This L<Catmandu::Validator> can be used to check PICA+ records against an
IO-Iron ( M/MI/MIKKOI/IO-Iron-0.14.tar.gz, MIKKOI, 2023; MetaCPAN )
IO-Iron/lib/IO/Iron/Common.pm ( view source; MetaCPAN )
ted by DZP::OurPkgVersion

use Path::Tiny qw{path};
use Try::Tiny;
use Log::Any qw{$log};
require JSON::MaybeXS;
use File::Spec      ();
use File::HomeDir   ();
use Hash::Util 0.06 qw{lock_keys unlock
IronMQ config option! It only configures client this client.
        'policies',    # Filename of JSON file containing policies.
    );
}

sub IRON_CLIENT_PARAMETERS {
    return (
        IRON_CONFIG
YS() );
    _read_iron_config_file( \%config, File::Spec->catfile( File::HomeDir->my_home, '.iron.json' ) );    # Homedir
    _read_iron_config_env_vars( \%config );                                   
IO-Iron ( M/MI/MIKKOI/IO-Iron-0.14.tar.gz, MIKKOI, 2023; MetaCPAN )
IO-Iron/lib/IO/Iron.pm ( view source; MetaCPAN )
ironcache( config => 'iron_cache.json' );
    my @iron_caches = $iron_cache_client->get_caches();

    my $iron_worker_client = ironworker( config => 'iron_worker.json' );
    my @iron_codes = $iron_w
ith path if required.

=back

You can also give the parameters in the config file F<.iron.json> or
F<iron.json> (in local directory) or as environmental variables. Please read
L<Configuring the Offici
e policy. The policies are loaded from
a JSON file which is specified either when creating a
IO::Iron::Iron*::Client object, or
in the config file F<.iron.json> (or equivalent).

=head4 Policies in Co
PICA-Data ( V/VO/VOJ/PICA-Data-2.12.tar.gz, VOJ, 2023; MetaCPAN )
PICA-Data/lib/App/picadata.pm ( view source; MetaCPAN )
Builder;
use Getopt::Long qw(:config bundling);
use Pod::Usage;
use Scalar::Util qw(reftype);
use JSON::PP;
use List::Util qw(any all);
use Text::Abbrev;
use Term::ANSIColor;

my %TYPES = (
    bin   
=> 'Plus',
    xml    => 'XML',
    ppxml  => 'PPXML',
    pixml  => 'PIXML',
    json   => 'JSON',
    ndjson => 'JSON',
    patch  => 'Patch',
);

my %COLORS = (
    tag        => 'magenta',
    occ
($command eq 'diff') {

            # only Plain and JSON support annotations
            $opt->{to} = 'plain' unless $TYPES{lc $opt->{to}} eq 'JSON';
        }
    }

    $opt->{input} = @argv ? \@ar
PICA-Data ( V/VO/VOJ/PICA-Data-2.12.tar.gz, VOJ, 2023; MetaCPAN )
PICA-Data/lib/PICA/Data/Field.pm ( view source; MetaCPAN )
ined first {$a->[$_] ne $b->[$_]} 0 .. $#{$b});
}

sub clone {
    bless TO_JSON($_[0]), 'PICA::Data::Field';
}

sub TO_JSON {
    [@{$_[0]}];
}

1;

=head1 NAME

PICA::Data::Field - PICA+ Field

=hea
App-BorgRestore ( B/BL/BLUEWIND/App-BorgRestore-3.4.5.tar.gz, BLUEWIND, 2023; MetaCPAN )
App-BorgRestore/lib/App/BorgRestore/Borg.pm ( view source; MetaCPAN )
e autodie;
use Date::Parse;
use Function::Parameters;
use IPC::Run qw(run start new_chunker);
use JSON;
use Log::Any qw($log);
use Version::Compare;

=encoding utf-8

=head1 NAME

App::BorgRestore::Bo
t via json");
		run [qw(borg list --glob-archives), "$backup_prefix*", qw(--json), $self->{borg_repo}], '>', \my $output or die $log->error("borg list returned $?")."\n";
		my $json = decode_json($out
 (@{$json->{archives}}) {
			push @archives, $archive->{archive};
		}
	} elsif (Version::Compare::version_compare($self->{borg_version}, "1.1") >= 0) {
		$log->debug("Getting archive list via json");
Prometheus-Tiny-Shared ( R/RO/ROBN/Prometheus-Tiny-Shared-0.027.tar.gz, ROBN, 2023; MetaCPAN )
Prometheus-Tiny-Shared/lib/Prometheus/Tiny/Shared.pm ( view source; MetaCPAN )
sh_open shash_get shash_set shash_cset shash_keys_array shash_group_get_hash);
use JSON::XS qw(encode_json decode_json);
use File::Temp qw(tempdir);
use File::Path qw(rmtree);
use Carp qw(croak carp);
 join('-', 'k', $name, $self->_format_labels($labels));
  shash_set($self->{_shash}, $key, encode_json([$value, $timestamp]));

  return;
}

sub add {
  my ($self, $name, $diff, $labels) = @_;

  unle
}, $key);
    if ($ov) {
      my $ar = decode_json($ov);
      $ar->[0] += $diff;
      $nv = encode_json($ar);
    }
    else {
      $nv = encode_json([$diff]);
    }
  } until shash_cset($self->{_
App-BorgRestore ( B/BL/BLUEWIND/App-BorgRestore-3.4.5.tar.gz, BLUEWIND, 2023; MetaCPAN )
App-BorgRestore/script/borg-restore.pl ( view source; MetaCPAN )
tail for some operations
                             (currently only --list)
  --json                     Output JSON instead of human readable text
                             (currently only --lis
 the
specific options for more information. Currently only works with B<--list>

=item B<--json>

Output JSON instead of human readable text with some operations. Refer to the
specific options for mor
f the same version is part of multiple archives, only one archive is
shown.

If B<--json> is used, the output is JSON. Can also be combined with B<--detail>.

=item B<--destination=>I<path>, B<-d >I<p
Food-Ratio ( J/JM/JMATES/Food-Ratio-0.04.tar.gz, JMATES, 2023; MetaCPAN )
Food-Ratio/lib/Food/Ratio.pm ( view source; MetaCPAN )
yeast?
  $fr->weigh( 9, id => 'yeast' );

  # emit to a data structure that could be converted to JSON
  use Data::Dumper;
  print Dumper $fr->details;

The observant may notice that the water and sal
Email-MIME-Kit ( R/RJ/RJBS/Email-MIME-Kit-3.000008.tar.gz, RJBS, 2023; MetaCPAN )
Email-MIME-Kit/lib/Email/MIME/Kit.pm ( view source; MetaCPAN )

#pod stored as a directory that might look like this:
#pod
#pod   sample.mkit/
#pod     manifest.json
#pod     body.txt
#pod     body.html
#pod     logo.jpg
#pod
#pod The manifest file tells Email::M
d into
#pod text strings.  This could lead to serious problems.  For example: the
#pod F<manifest.json> file might contain:
#pod
#pod   "header": [
#pod     { "Subject": "Message for [% customer_name 
nifest', writer => '_set_manifest');

my @auto_attrs = (
  [ manifest_reader => ManifestReader => JSON => [ 'read_manifest' ] ],
  [ kit_reader      => KitReader      => Dir  => [ 'get_kit_entry',
   
IO-Iron ( M/MI/MIKKOI/IO-Iron-0.14.tar.gz, MIKKOI, 2023; MetaCPAN )
IO-Iron/lib/IO/Iron/IronWorker/Client.pm ( view source; MetaCPAN )
r_client->delete( 'id' => $code_package_id );

	# Tasks
	my $task_payload = 'Task payload (can be JSONized)';
	my $task = $iron_worker_client->create_task(
		'code_name' => $unique_code_package_name,
press::Zip;

	$iron_worker_client = IO::Iron::IronWorker::Client->new(
		'config' => 'iron_worker.json'
	);

	my $worker_as_string_ = <<EOF;
	print qq{Hello, World!\n};
	EOF
	my $worker_as_zip;
	my $w
empty string. Payload can be any string, or stringified
object, normally JSON.

	my $task_payload = 'Task payload (could be JSONized object)';
	my $task = $iron_worker_client->create_task(
		'code_nam
Missing-XS ( T/TO/TOBYINK/Missing-XS-0.001001.tar.gz, TOBYINK, 2023; MetaCPAN )
Missing-XS/lib/Missing/XS.pm ( view source; MetaCPAN )
( 'Heap::Simple' ) },
	sub { shift->basic_check_or_warning( 'JSON' ) },
	sub { shift->basic_check_or_warning( 'JSON::MaybeXS', 'Cpanel::JSON::XS' ) },
	sub { shift->basic_check_or_warning( 'List::More
CHI-Driver-SharedMem ( N/NH/NHORNE/CHI-Driver-SharedMem-0.19.tar.gz, NHORNE, 2023; MetaCPAN )
CHI-Driver-SharedMem/lib/CHI/Driver/SharedMem.pm ( view source; MetaCPAN )
_Meta_Namespace);
use Moose;
use IPC::SysV qw(S_IRUSR S_IWUSR IPC_CREAT);
use IPC::SharedMem;
use JSON::MaybeXS;
use Carp;
use Config;
use Fcntl;

extends 'CHI::Driver';

has 'shm_key' => (is => 'ro',
_size'
);
has '_data' => (
	is => 'rw',
	# isa => 'ArrayRef[ArrayRef]',	# For Storable, now using JSON
	isa => 'Str',
	reader => '_get_data',
	writer => '_set_data'
);

__PACKAGE__->meta->make_immutab
d1 SUBROUTINES/METHODS

=head2 store

Stores an object in the cache.
The data are serialized into JSON.

=cut

sub store {
	my($self, $key, $value) = @_;

	$self->_lock(type => 'write');
	my $h = $sel
Acme-CPANModules-XSVersions ( P/PE/PERLANCAR/Acme-CPANModules-XSVersions-0.004.tar.gz, PERLANCAR, 2023; MetaCPAN )
Acme-CPANModules-XSVersions/lib/Acme/CPANModules/XSVersions.pm ( view source; MetaCPAN )
 PP version. And often a module
like `JSON` is one that can automatically use the XS version (`JSON::XS`) when
it's available or fallback to the PP version (`JSON::PP`).

Additions much welcome.

_
  
 'Image::Info::XS'},
        {module => 'JSON', pp_module=>'JSON::PP', xs_module => 'JSON::XS'},
        {module => 'JSON::MaybeXS', xs_module => 'Cpanel::JSON::XS'},
        {module =>'Language::Befu
P version. And often a module
like C<JSON> is one that can automatically use the XS version (C<JSON::XS>) when
it's available or fallback to the PP version (C<JSON::PP>).

Additions much welcome.

=he
FixerIO-API ( W/WO/WOZNOTWOZ/FixerIO-API-0.1.0.tar.gz, WOZNOTWOZ, 2023; MetaCPAN )
FixerIO-API/README.pod ( view source; MetaCPAN )
>5;
    p $ld, as=>"Latest Data:";

    Will print,
    Latest Data:
    {
        success     1 (JSON::PP::Boolean),
        base        "EUR",
        date        "2023-09-03" (dualvar: 2023),
     

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