Group
Extension

Matches 35358

Dist-Zilla-Plugin-ModuleBuildTiny-Fallback ( E/ET/ETHER/Dist-Zilla-Plugin-ModuleBuildTiny-Fallback-0.027.tar.gz, ETHER, 2022; MetaCPAN )
Dist-Zilla-Plugin-ModuleBuildTiny-Fallback/lib/Dist/Zilla/Plugin/ModuleBuildTiny/Fallback.pm ( view source; MetaCPAN )
n manually without the user having read and understood
#pod the contents of F<META.yml> or F<META.json>.
#pod
#pod When the L<Module::Build> fallback code is run, an added preamble is printed:
#pod
#p

#pod learn to first fulfill all configure requires prerequisites listed in META.yml
#pod or META.json -- or use a cpan client to install this distribution.
#pod
#pod You can also silence this warning
ng run manually without the user having read and understood
the contents of F<META.yml> or F<META.json>.

When the L<Module::Build> fallback code is run, an added preamble is printed:

=for stopwords 
App-pmuninstall ( X/XA/XAICRON/App-pmuninstall-0.33.tar.gz, XAICRON, 2022; MetaCPAN )
App-pmuninstall/lib/App/pmuninstall.pm ( view source; MetaCPAN )
tnameInfo;
use version;
use HTTP::Tiny;
use Term::ANSIColor qw(colored);
use Cwd ();
use JSON::PP qw(decode_json);

our $VERSION = "0.33";

my $perl_version     = version->new($])->numify;
my $depende
    if (my $install_json = $self->{install_json}) {
        $self->puts("unlink    : $install_json") if $self->{verbose};
        unlink $install_json or $self->puts("$install_json: $!") and $failed++
;
        $self->rm_empty_dir_from_file($install_json);
    }

    $self->puts unless $self->{quiet} || $self->{force};
    return !$failed;
}

sub rm_empty_dir_from_file {
    my ($self, $file, $inc)
UK-Vehicle ( I/IG/IGIBBS/UK-Vehicle-0.4.tar.gz, IGIBBS, 2022; MetaCPAN )
UK-Vehicle/lib/UK/Vehicle.pm ( view source; MetaCPAN )
>  "https://driver-vehicle-licensing.api.gov.uk/vehicle-enquiry",
	_use_uat => 0
};
use Carp;
use JSON;
use Try::Tiny;
use Scalar::Util qw(looks_like_number);

our $VERSION = '0.4';

sub BUILD
{	
	my 
vrm) > 7;

	my $msg_json = "{\"registrationNumber\": \"$vrm\"}";
	my $req = HTTP::Request->new('POST', $self->_url."/v1/vehicles");
	$req->header('Content-Type' => 'application/json');
	$req->header('
/json');
	$req->header('x-api-key' => $self->ves_api_key);
	$req->content($msg_json);
	my $response = $self->_ua->request($req);
	my $content = $response->decoded_content();
	my $json;
	try
	{
		$json
UK-Vehicle ( I/IG/IGIBBS/UK-Vehicle-0.4.tar.gz, IGIBBS, 2022; MetaCPAN )
UK-Vehicle/lib/UK/Vehicle/Status.pm ( view source; MetaCPAN )
t'} = $newval;
	}
	
	if($self->{'markedForExport'}) { return 1 };		# Looks pointless but converts JSON::PP::Boolean into 1 or 0
	return 0;
}

=pod

=item monthOfFirstRegistration()

The month in which
WWW-WebKit2 ( P/PV/PVH/WWW-WebKit2-0.133.tar.gz, PVH, 2022; MetaCPAN )
WWW-WebKit2/lib/WWW/WebKit2/Inspector.pm ( view source; MetaCPAN )
rp croak);
use Encode qw(decode_utf8);
use Glib qw(TRUE FALSE);
use Moose::Role;
use JSON qw(decode_json encode_json);
use WWW::WebKit2::Locator;
use WWW::WebKit2::LocatorCSS;

sub run_javascript {
  
DocumentPosition(second_element);' .
        'return (position == 4) ? 1 : 0';

    return decode_json $self->run_javascript($javascript_string);
}

=head2 check_window_bounds

=cut

sub check_window_
WWW-WebKit2 ( P/PV/PVH/WWW-WebKit2-0.133.tar.gz, PVH, 2022; MetaCPAN )
WWW-WebKit2/lib/WWW/WebKit2/Locator.pm ( view source; MetaCPAN )
package WWW::WebKit2::Locator;

use Carp qw(croak);
use JSON qw(decode_json encode_json);
use Moose;

has 'locator_string' => (
    is       => 'ro',
    isa      => 'Str',
    required => 1,
);

has 
    var result = { "y": win_top + y, "x": win_left + x };
        return JSON.stringify(result)';

    my $result = decode_json $self->inspector->run_javascript($search);
    return ($result->{x}, $re
App-pq ( S/SY/SYMKAT/App-pq-1.tar.gz, SYMKAT, 2022; MetaCPAN )
App-pq/lib/App/pq.pm ( view source; MetaCPAN )
head1 NAME

App::pq - Like jq and gq, but with Perl

=head1 SYNOPSIS

With no arguments, dump the JSON data structure from STDIN as a Perl data structure.

    $ echo '{"foo":[1,2,3],"bar":"blee"}' | 
Bencher-Scenario-Data-Cmp ( P/PE/PERLANCAR/Bencher-Scenario-Data-Cmp-0.002.tar.gz, PERLANCAR, 2022; MetaCPAN )
Bencher-Scenario-Data-Cmp/lib/Bencher/Scenario/Data/Cmp.pm ( view source; MetaCPAN )
ta2>)',
        },
        {
            module => 'JSON::PP',
            code_template => 'JSON::PP::encode_json(<data1>) eq JSON::PP::encode_json(<data2>)',
        },
        {
            fcall_t
 benchmark.

L<Data::Cmp> 0.007

L<Data::Cmp::Numeric> 0.007

L<Data::Cmp::StrOrNumeric> 0.007

L<JSON::PP> 4.06

L<Data::Compare> 1.27

=head1 BENCHMARK PARTICIPANTS

=over

=item * Data::Cmp::cmp_da
:StrOrNumeric::cmp_data(<data1>, <data2>)



=item * JSON::PP (perl_code)

Code template:

 JSON::PP::encode_json(<data1>) eq JSON::PP::encode_json(<data2>)



=item * Data::Compare::Compare (perl_cod
Wasm-Wasm3 ( F/FE/FELIPE/Wasm-Wasm3-0.02.tar.gz, FELIPE, 2022; MetaCPAN )
Wasm-Wasm3/wasm3/platforms/embedded/esp32-pio/src/sdkconfig.h ( view source; MetaCPAN )
FIG_GAP_TRACE_LEVEL_WARNING 1
#define CONFIG_CONSOLE_UART_NUM 0
#define CONFIG_AWS_IOT_SHADOW_MAX_JSON_TOKEN_EXPECTED 120
#define CONFIG_ESP32_APPTRACE_LOCK_ENABLE 1
#define CONFIG_PTHREAD_STACK_MIN 7
Bencher-Scenario-Data-Cmp ( P/PE/PERLANCAR/Bencher-Scenario-Data-Cmp-0.002.tar.gz, PERLANCAR, 2022; MetaCPAN )
Bencher-Scenario-Data-Cmp/lib/Bencher/ScenarioR/Data/Cmp.pm ( view source; MetaCPAN )
_name=>"dataset=1k array of ints participant=JSON::PP",_succinct_name=>"J:P 1k array of ints",dataset=>"1k array of ints",errors=>4.3e-07,participant=>"JSON::PP",pct_faster_vs_slowest=>0.2565445026178
e=>0.022},{_name=>"dataset=small arrays participant=JSON::PP",_succinct_name=>"J:P small arrays",dataset=>"small arrays",errors=>0,participant=>"JSON::PP",pct_faster_vs_slowest=>155.825844899239,pct_s
e=>0.005},{_name=>"dataset=empty arrays participant=JSON::PP",_succinct_name=>"J:P empty arrays",dataset=>"empty arrays",errors=>0,participant=>"JSON::PP",pct_faster_vs_slowest=>536.041305189385,pct_s
Bencher-Scenario-Data-Undump ( P/PE/PERLANCAR/Bencher-Scenario-Data-Undump-0.003.tar.gz, PERLANCAR, 2022; MetaCPAN )
Bencher-Scenario-Data-Undump/lib/Bencher/Scenario/Data/Undump.pm ( view source; MetaCPAN )
 SEE ALSO

L<https://www.reddit.com/r/perl/comments/czhwe6/syntax_differences_from_data_dumper_to_json/ez95r7c?utm_source=share&utm_medium=web2x>

=head1 AUTHOR

perlancar <perlancar@cpan.org>

=head1
JSONP ( A/AC/ACANFORA/JSONP-2.26.tar.gz, ACANFORA, 2022; MetaCPAN )
JSONP/README.pod ( view source; MetaCPAN )
utf8

=head1 NAME

JSONP - a module to quickly build JSON/JSONP web services, providing also some syntactic sugar acting a bit like a sort of DSL (domain specific language) for JSON.

=head1 SYNOPSIS
n I<use>.

	use JSONP 'jsonp';
	$jsonp->run;

	...

	sub yoursubname
	{
		$j->table->fields = $sh->{NAME};
		$j->table->data = $sh->fetchall_arrayref;
	}

OR

	use JSONP;

	my $j = JSONP->new;
	$j->ru
mod_perl:

You must declare the instance variable, remember to use I<local our>.

	use JSONP;
	local our $j = JSONP->new;
	$j->run;

	...

	sub yoursubname
	{
		my $namedparam = $j->params->namedparam
JSONP ( A/AC/ACANFORA/JSONP-2.26.tar.gz, ACANFORA, 2022; MetaCPAN )
JSONP/lib/JSONP.pm ( view source; MetaCPAN )
package JSONP;
# some older 5.8.x perl versions on exotic platforms don't get the v5.10 syntax
use 5.010;
use v5.10;
use strict;
use warnings;
use utf8;
use Time::HiRes qw(gettimeofday);
use File::Tem
se Encode;
use Cwd qw();
use Scalar::Util qw(reftype blessed);
use CGI qw();
use Digest::SHA;
use JSON;
use Want;
use overload
	'eq'     => sub {  _compare(@_)},
	'ne'     => sub {! _compare(@_)},
	fa
ther and $reftype_self ne $reftype_other;
	my $j = JSON->new->canonical;
	unless ($reftype_other) {
		eval{
			local $SIG{'__DIE__'};
			$other = JSON->new->decode($other // '');
		};
		return 0 if $@
Mojo-UserAgent-Mockable ( P/PO/POPEFELIX/Mojo-UserAgent-Mockable-1.59.tar.gz, POPEFELIX, 2022; MetaCPAN )
Mojo-UserAgent-Mockable/lib/Mojo/UserAgent/Mockable.pm ( view source; MetaCPAN )
t::Mockable;
$Mojo::UserAgent::Mockable::VERSION = '1.59';
use warnings::register;

use Carp;
use JSON::MaybeXS;
use Mojolicious 7.22;
use Mojo::Base 'Mojo::UserAgent';
use Mojo::Util qw/secure_compar
Mojo::UserAgent::Mockable::Serializer;
use Mojo::UserAgent::Mockable::Request::Compare;
use Mojo::JSON;
use Scalar::Util;

# ABSTRACT: A Mojo User-Agent that can record and play back requests without 
e  L</save> is 
called, the transaction cache will be written to the file specfied by L</file> in JSON format. 
Transactions are stored in the cache in the order they were made.

The file's contents a
Net-Google-Drive-Simple ( A/AT/ATOOMIC/Net-Google-Drive-Simple-3.02.tar.gz, ATOOMIC, 2022; MetaCPAN )
Net-Google-Drive-Simple/lib/Net/Google/Drive/Simple/Core.pm ( view source; MetaCPAN )
();
use OAuth::Cmdline::GoogleDrive ();

use Net::Google::Drive::Simple::Item ();

use JSON qw( from_json to_json );
use Log::Log4perl qw(:easy);

# used in V3.pm too
use constant {
    'HTTP_CODE_OK'
    $post_data = to_json( $info->{'body_parameters'} );

        if ( !$info->{'multipart'} && !$info->{'resumable'} ) {
            push @headers, 'Content-Type', 'application/json';
        }
    }
le content
        # The $post_data is the JSON content
        # We need to create a new body from them

        my $part1 = "Content-type: application/json; charset=UTF-8\r\n\r\n" . $post_data;

   
Net-Google-Drive-Simple ( A/AT/ATOOMIC/Net-Google-Drive-Simple-3.02.tar.gz, ATOOMIC, 2022; MetaCPAN )
Net-Google-Drive-Simple/lib/Net/Google/Drive/Simple/V2.pm ( view source; MetaCPAN )
use LWP::UserAgent ();
use HTTP::Request  ();

use File::Basename qw( basename );

use JSON qw( from_json to_json );
use Log::Log4perl qw(:easy);

our $VERSION = '3.02';

#############################
 = ();

    while (1) {
        my $url  = $self->file_url($opts);
        my $data = $self->http_json($url);
        return unless defined $data;
        my $next_item = $self->item_iterator($data);
pe, $parent ) = @_;

    my $url = URI->new( $self->{api_file_url} );

    my $data = $self->http_json(
        $url,
        {
            title    => $title,
            parents  => [ { id => $paren
Net-Google-Drive-Simple ( A/AT/ATOOMIC/Net-Google-Drive-Simple-3.02.tar.gz, ATOOMIC, 2022; MetaCPAN )
Net-Google-Drive-Simple/lib/Net/Google/Drive/Simple/V3.pm ( view source; MetaCPAN )
mple::Core >;

use URI             ();
use URI::QueryParam ();
use File::Basename  ();
use JSON qw< from_json >;
use Log::Log4perl qw(:easy);

use constant {
    'HTTP_METHOD_GET'    => 'GET',
    'HT
pe?
    if ( keys %{$options} > 1 ) {
        push @extra_headers, 'Content-Type' => 'application/json; charset=UTF-8';
    }

    my $info = {
        'query_parameters' => {
            'uploadType'
pe?
    if ( keys %{$options} > 1 ) {
        push @extra_headers, 'Content-Type' => 'application/json; charset=UTF-8';
    }

    my $info = {
        'query_parameters' => {
            'uploadType'
Mojo-UserAgent-Mockable ( P/PO/POPEFELIX/Mojo-UserAgent-Mockable-1.59.tar.gz, POPEFELIX, 2022; MetaCPAN )
Mojo-UserAgent-Mockable/lib/Mojo/UserAgent/Mockable/Serializer.pm ( view source; MetaCPAN )
use Carp;
use Class::Load ':all';
use English qw/-no_match_vars/;
use Path::Tiny;
use JSON::MaybeXS qw/decode_json/;
use Mojo::Base 'Mojo::EventEmitter';
use Safe::Isa (qw/$_isa/);
use Try::Tiny;

# A
) {
        $serialized[$_]->{txn_num} = $_;
    }
    my $JSON = JSON::MaybeXS->new(pretty => 1, canonical => 1, utf8 => 1);
    return $JSON->encode( \@serialized );
}

sub _serialize_tx {
    my ( 
}
    return $slush;
}

sub deserialize {
    my ( $self, $frozen ) = @_;

    my $slush = decode_json($frozen);

    if ( ref $slush ne 'ARRAY' ) {
        croak q{Invalid serialized data: not stored
Raisin ( R/RT/RTKH/Raisin-0.94.tar.gz, RTKH, 2022; MetaCPAN )
Raisin/lib/Raisin/Encoder.pm ( view source; MetaCPAN )
ass) = @_;
    $self->{registered}{$format} = $class;
}

sub builtin {
    {
        json => 'Raisin::Encoder::JSON',
        yaml => 'Raisin::Encoder::YAML',
        text => 'Raisin::Encoder::Text',
my $enc = Raisin::Encoder->new;
    $enc->register(xml => 'Some::XML::Formatter');
    $enc->for('json');
    $enc->media_types_map_flat_hash;

=head1 DESCRIPTION

Provides an easy interface to use an
ence.

    $enc->register(json => 'My::Own::JSON::Formatter');

=head2 builtin

Returns a list of encoders which are bundled with L<Raisin>.
They are: L<Raisin::Encoder::JSON>, L<Raisin::Encoder::Text
Telegram-JsonAPI ( C/CI/CINDY/Telegram-JsonAPI-1.02.tar.gz, CINDY, 2022; MetaCPAN )
Telegram-JsonAPI/lib/Telegram/JsonAPI.pm ( view source; MetaCPAN )
package Telegram::JsonAPI;

use 5.018;
use strict;
use warnings;
use Carp;

require Exporter;
use AutoLoader;

our @ISA = qw(Exporter);

our %EXPORT_TAGS = ( 'all' => [ qw(
    td_create_client_id
   
SLoader;
XSLoader::load('Telegram::JsonAPI', $VERSION);

1;
__END__

=head1 NAME

Telegram::JsonAPI - Telegram TDLib's JSON API

=head1 SYNOPSIS

  use Telegram::JsonAPI qw(:all);

  td_start_log();

tra": 1.01234}');
  # start loggin progress

  while(1) {
    my $msg = decode_json(td_receive(.1));
    # Wait for a JSON message for at most 0.1 second.
    # There will be a `@client_id` field, whi

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