Group
Extension

Matches 35358

Catmandu-Store-OpenSearch ( N/NJ/NJFRANCK/Catmandu-Store-OpenSearch-0.03.tar.gz, NJFRANCK, 2024; MetaCPAN )
Catmandu-Store-OpenSearch/lib/Catmandu/Store/OpenSearch/Searcher.pm ( view source; MetaCPAN )
:OpenSearch::Searcher;

our $VERSION = '0.03';

use Catmandu::Sane;
use Moo;
use Cpanel::JSON::XS qw(encode_json);
use Types::Standard qw(Int HashRef InstanceOf);
use namespace::clean;
use feature qw(
arch(%args);
            if ($res->code ne "200") {
                Catmandu::Error->throw(encode_json($res->error));
            }

            $docs     = $res->data->{hits}{hits};
            retur
dex, query => $self->query);
    if ($res->code ne "200") {
        Catmandu::Error->throw(encode_json($res->error));
    }
    
    my $count = $res->data->{count};
    $count   -= $self->start;
    
Travel-Status-DE-DBWagenreihung ( D/DE/DERF/Travel-Status-DE-DBWagenreihung-0.18.tar.gz, DERF, 2024; MetaCPAN )
Travel-Status-DE-DBWagenreihung/lib/Travel/Status/DE/DBWagenreihung/Sector.pm ( view source; MetaCPAN )
_meters cube_meters cube_percent)
);

sub new {
	my ( $obj, %opt ) = @_;

	my %section  = %{ $opt{json} };
	my %platform = %{ $opt{platform} };

	my $platform_length = $platform{end} - $platform{start
orm_length,
	};

	$ref->{length_percent} = $ref->{end_percent} - $ref->{start_percent};

	return bless( $ref, $obj );
}

sub TO_JSON {
	my ($self) = @_;

	my %copy = %{$self};

	return {%copy};
}

1;
Selenium-Client ( T/TE/TEODESIAN/Selenium-Client-2.01.tar.gz, TEODESIAN, 2024; MetaCPAN )
Selenium-Client/lib/Selenium/Client.pm ( view source; MetaCPAN )
6, v5.10.0 would not be understood.

no warnings 'experimental';
use feature qw/signatures/;

use JSON::MaybeXS();
use HTTP::Tiny();
use Carp       qw{confess cluck};
use File::Path qw{make_path};
use

    $options{normalize}      //= 1;
    $options{fatal}          //= 1;

    # Use the hardcoded JSON version of the stable spec in Selenium::Specification's DATA section.
    $options{hardcode}     
     headers => {
            'Content-Type'    => 'application/json; charset=utf-8',
            'Accept'          => 'application/json; charset=utf-8',
            'Accept-Encoding' => 'identity',
 
Sah-SchemaBundle-Data-Sah ( P/PE/PERLANCAR/Sah-SchemaBundle-Data-Sah-0.004.tar.gz, PERLANCAR, 2024; MetaCPAN )
Sah-SchemaBundle-Data-Sah/lib/Sah/SchemaR/perl/perl_sah_filter/modname_with_optional_args.pm ( view source; MetaCPAN )
r\n    Foo::Bar=arg1,arg2\n\nSee also: `perl::modname`.\nA two-element array from (coercible from JSON string) is also allowed:\n\n    [\"Foo::Bar\", \\\@args]\n\n",examples=>[{valid=>0,value=>""},{va
"]]},{summary=>"Too many elements",valid=>0,value=>["Foo",["arg1","arg2"],{}]}],of=>[["array_from_json",{description=>"\nThese are valid values for this schema:\n\n    [\"Foo\"]                       
Selenium-Client ( T/TE/TEODESIAN/Selenium-Client-2.01.tar.gz, TEODESIAN, 2024; MetaCPAN )
Selenium-Client/lib/Selenium/Specification.pm ( view source; MetaCPAN )
e feature qw/signatures state unicode_strings/;

use List::Util qw{uniq};
use HTML::Parser();
use JSON::MaybeXS();
use File::HomeDir();
use File::Slurper();
use DateTime::Format::HTTP();
use HTTP::Tin
ile::Spec();
use Encode             qw{decode};
use Unicode::Normalize qw{NFC};

#TODO make a JSONWire JSON spec since it's not changing

# URLs and the container ID
our %spec_urls = (
    unstable =>
ile::Spec->catdir( $client_dir, "specs" );
        my $file = File::Spec->catfile( "$dir", "$type.json" );
        fetch( once => $nofetch, dir => $dir );
        die "could not write $file: $@" unles
Password-OnePassword-OPCLI ( R/RJ/RJBS/Password-OnePassword-OPCLI-0.002.tar.gz, RJBS, 2024; MetaCPAN )
Password-OnePassword-OPCLI/lib/Password/OnePassword/OPCLI.pm ( view source; MetaCPAN )
sword with the "op" CLI

use v5.36.0;

use Carp ();
use IPC::Run qw(run timeout);
use JSON::MaybeXS qw(decode_json);

#pod =head1 SYNOPSIS
#pod
#pod B<Achtung!>  The interface for this library might c
rmat', 'json'),
    $locator->item,
  );

  local $ENV{OP_ACCOUNT} = $locator->account // $ENV{OP_ACCOUNT};
  open(my $proc, '-|', @op_command) or Carp::croak("can't spawn op: $!");

  my $json = join
s, 2024-05-03
  close($proc) or Carp::croak("problem running 'op item get'");

  return decode_json($json);
}

#pod =method get_field
#pod
#pod   my $str = $one_pw->get_field($locator);
#pod
#pod This
Travel-Status-DE-DBWagenreihung ( D/DE/DERF/Travel-Status-DE-DBWagenreihung-0.18.tar.gz, DERF, 2024; MetaCPAN )
Travel-Status-DE-DBWagenreihung/lib/Travel/Status/DE/DBWagenreihung/Group.pm ( view source; MetaCPAN )
my %json = %{ $opt{json} };

	my $ref = {
		carriages   => $opt{carriages},
		destination => $json{transport}{destination}{name},
		train_type  => $json{transport}{category},
		name        => $json{na
me},
		line        => $json{transport}{numberwline},
		train_no    => $json{transport}{number},
	};

	if ( $ref->{name} =~ m{ ^ IC[DE] 0* (\d+) $ }x and exists $ice_name{$1} ) {
		$ref->{designation} 


	$ref->{sectors} = [
		uniq grep { defined }
		  map     { $_->{platformPosition}{sector} } @{ $json{vehicles} // [] }
	];
	if ( @{ $ref->{sectors} } ) {
		$ref->{has_sectors} = 1;
	}

	$ref->{start
CPAN-Reporter ( G/GA/GARU/CPAN-Reporter-1.2020.tar.gz, GARU, 2024; MetaCPAN )
CPAN-Reporter/lib/CPAN/Reporter/FAQ.pm ( view source; MetaCPAN )
 for Metabase.

Other errors could be caused by the absence of the
C<<< .cpanreporter/metabase_id.json >>> file in the user's home directory. This file
should be manually created prior to sending any 
m. Simply run it and fill in the information
accordingly, and it will create the C<<< metabase_id.json >>> file for you. Move that
file to your C<<< .cpanreporter >>> directory and you're all set.

If
CPAN-Reporter ( G/GA/GARU/CPAN-Reporter-1.2020.tar.gz, GARU, 2024; MetaCPAN )
CPAN-Reporter/lib/CPAN/Reporter.pm ( view source; MetaCPAN )
stall
    ExtUtils::MakeMaker
    ExtUtils::Manifest
    ExtUtils::ParseXS
    File::Spec
    JSON
    JSON::PP
    Module::Build
    Module::Signature
    Parse::CPAN::Meta
    Test::Harness
    Test
l window and
fill the information at the prompts. This will create a file called
C<<< metabase_id.json >>> in the current directory. That file should be moved to the
C<<< .cpanreporter >>> directory i
Selenium-Client ( T/TE/TEODESIAN/Selenium-Client-2.01.tar.gz, TEODESIAN, 2024; MetaCPAN )
Selenium-Client/bin/build_selenium_spec.pl ( view source; MetaCPAN )
ium specification(s) from the internet and stores them in

    ~/.selenium/specs

As a variety of JSON files.

=head1 USAGE

=head2 -h --help

Print this message

=head2 -v, --verbose

Print messages 
Travel-Status-DE-DBWagenreihung ( D/DE/DERF/Travel-Status-DE-DBWagenreihung-0.18.tar.gz, DERF, 2024; MetaCPAN )
Travel-Status-DE-DBWagenreihung/lib/Travel/Status/DE/DBWagenreihung/Wagon.pm ( view source; MetaCPAN )
type} =~ m{^D?A?B} ) {
		return 1;
	}
	return 0;
}

sub sections {
	my ($self) = @_;

	return @{ $self->{sections} };
}

sub TO_JSON {
	my ($self) = @_;

	my %copy = %{$self};

	return {%copy};
}

1;
Travel-Status-DE-DBWagenreihung ( D/DE/DERF/Travel-Status-DE-DBWagenreihung-0.18.tar.gz, DERF, 2024; MetaCPAN )
Travel-Status-DE-DBWagenreihung/lib/Travel/Status/DE/DBWagenreihung/Carriage.pm ( view source; MetaCPAN )
          => 'infant_cabin',
);

sub new {
	my ( $obj, %opt ) = @_;
	my $ref = {};

	my %json     = %{ $opt{json} };
	my $platform = $opt{platform};

	$ref->{class_type}    = 0;
	$ref->{has_bistro}   
	$ref->{number}        = $json{wagonIdentificationNumber};
	$ref->{model}         = $json{vehicleID};
	$ref->{uic_id}        = $json{vehicleID};
	$ref->{section}       = $json{platformPosition}{sector
   = $json{type}{constructionType};

	$ref->{model} =~ s{^.....(...)....(?:-.)?$}{$1} or $ref->{model} = undef;

	my $self = bless( $ref, $obj );

	$self->parse_type;

	for my $amenity ( @{ $json{amen
CPAN-Reporter ( G/GA/GARU/CPAN-Reporter-1.2020.tar.gz, GARU, 2024; MetaCPAN )
CPAN-Reporter/lib/CPAN/Reporter/Config.pm ( view source; MetaCPAN )
 {
        default  => 'Metabase uri https://metabase.cpantesters.org/api/v1/ id_file metabase_id.json',
        prompt   => 'Which transport system will be used to transmit the reports?',
        val
tem *

C<<< id_file >>> -- path to the user's Metabase profile file.
Defaults to C<<< metabase_id.json >>>.  (Assumed to be in the C<<< .cpanreporter >>>
directory).

=back

Prior to sending reports, 
Selenium-Client ( T/TE/TEODESIAN/Selenium-Client-2.01.tar.gz, TEODESIAN, 2024; MetaCPAN )
Selenium-Client/lib/Selenium/Client/Driver.pm ( view source; MetaCPAN )
emote::Driver that supports selenium 4

use Scalar::Util;
use Carp::Always;
use Data::Dumper;
use JSON;

use Selenium::Client;
use Selenium::Client::Commands;
use Selenium::Client::WebElement;
use Sel
  return $self->_param( JSON::true, 'auto_close', $ac ? JSON::true : JSON::false );
}

# Only here for compatibility
sub pid {
    return $$;
}

#TODO these bools may need JSONizing
sub javascript ( $
am( JSON::true, 'javascript', $js ? JSON::true : JSON::false );
}

sub accept_ssl_certs ( $self, $ssl = undef ) {
    return $self->_param( JSON::true, 'accept_ssl_certs', $ssl ? JSON::true : JSON::fa
App-MergeCal ( D/DA/DAVECROSS/App-MergeCal-0.0.5.tar.gz, DAVECROSS, 2024; MetaCPAN )
App-MergeCal/lib/App/MergeCal.pm ( view source; MetaCPAN )
RSION = '0.0.5';

  use Encode 'encode_utf8';
  use Text::vFile::asData;
  use LWP::Simple;
  use JSON;
  use URI;

  field $vfile_parser :param = Text::vFile::asData->new;
  field $title :param;
  fi
om_json, App::MergeCal->new_from_json_file

Constructor methods.

=over 4

=item new

Constructs an object from a hash of attribute/value pairs

=item new_from_json

Constructs an object from a JSON s
em new_from_json_file

Constructs an object from a file containing a JSON string representing
attribute/value pairs.

=back

=cut

  sub new_from_json {
    my $class = shift;
    my ($json) = @_;

  
Github-ReleaseFetcher ( T/TE/TEODESIAN/Github-ReleaseFetcher-1.001.tar.gz, TEODESIAN, 2024; MetaCPAN )
Github-ReleaseFetcher/lib/Github/ReleaseFetcher.pm ( view source; MetaCPAN )
 accessable machine-readable version of this listing.
As such you need this instead of freebasing JSON directly into your veins.

Relies both on the 'latest' redirect for releases on github, and the e
Travel-Status-DE-DBWagenreihung ( D/DE/DERF/Travel-Status-DE-DBWagenreihung-0.18.tar.gz, DERF, 2024; MetaCPAN )
Travel-Status-DE-DBWagenreihung/lib/Travel/Status/DE/DBWagenreihung/Section.pm ( view source; MetaCPAN )
>{start_meters};
	$ref->{length_percent} = $ref->{end_percent} - $ref->{start_percent};

	return bless( $ref, $obj );
}

sub TO_JSON {
	my ($self) = @_;

	my %copy = %{$self};

	return {%copy};
}

1;
Travel-Status-DE-DBWagenreihung ( D/DE/DERF/Travel-Status-DE-DBWagenreihung-0.18.tar.gz, DERF, 2024; MetaCPAN )
Travel-Status-DE-DBWagenreihung/lib/Travel/Status/DE/DBWagenreihung.pm ( view source; MetaCPAN )
se warnings;
use 5.020;
use utf8;

use parent 'Class::Accessor';

use Carp qw(cluck confess);
use JSON;
use List::Util qw(uniq);
use LWP::UserAgent;
use Travel::Status::DE::DBWagenreihung::Group;
use 
if ( not $opt{train_number} and not $opt{from_json} ) {
		confess('train_number option must be set');
	}

	if ( not $opt{departure} and not $opt{from_json} ) {
		confess('departure option must be set'
departure      => $opt{departure},
		eva            => $opt{eva},
		from_json      => $opt{from_json},
		json           => JSON->new,
		train_type     => $opt{train_type},
		train_number   => $opt{tra
JIRA-REST-Lite ( S/SH/SHINGO/JIRA-REST-Lite-0.08.tar.gz, SHINGO, 2024; MetaCPAN )
JIRA-REST-Lite/lib/JIRA/REST/Lite.pm ( view source; MetaCPAN )
package JIRA::REST::Lite;

use strict;
use warnings;
use JSON;
use REST::Client;
use MIME::Base64;

our $VERSION = '0.08';

sub new {
    my ($class, $args) = @_;
    my $self = {
        url       =>
$auth = encode_json({ username => $args->{username}, password => $args->{password} });
        $self->{client}->POST('/rest/auth/1/session', $auth, { 'Content-Type' => 'application/json' });
    } els
self;
}

sub GET {
    my ($self, $path) = @_;
    $self->{client}->GET($path);
    return decode_json($self->{client}->responseContent());
}

sub set_search_iterator {
    my ($self, $params) = @_;
 
AI-Chat ( B/BO/BOD/AI-Chat-0.6.tar.gz, BOD, 2024; MetaCPAN )
AI-Chat/lib/AI/Chat.pm ( view source; MetaCPAN )
package AI::Chat;

use strict;
use warnings;

use Carp;
use HTTP::Tiny;
use JSON::PP;

our $VERSION = '0.6';
$VERSION = eval $VERSION;

my $http = HTTP::Tiny->new;

# Create Chat object
         'Authorization' => 'Bearer ' . $self->{'key'},
         'Content-type'  => 'application/json'
     };
 }
 
 # Get a reply from a single prompt
 sub prompt {
     my ($self, $prompt, $t
 'Bearer ' . $self->{'key'},
             'Content-type'  => 'application/json'
         },
         content => encode_json {
             model          => $self->{'model'},
             message

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