Group
Extension

Matches 35358

IO-Iron ( M/MI/MIKKOI/IO-Iron-0.14.tar.gz, MIKKOI, 2023; MetaCPAN )
IO-Iron/lib/IO/Iron/IronCache/Client.pm ( view source; MetaCPAN )
ient->new();
	# Or
	$ironcache_client = IO::Iron::IronCache::Client->new(
		config => 'iron_cache.json
		);

	# Operate with caches.
	# Get all the existing caches as objects of
	# class IO::Iron::Iro
Free text. If you want to put an object or a hash here, it needs to be serialized first; use e.g. JSON, Storable or YAML to stringify it. Then give the resulting string here.

=item - expires_in, How 
ation on
policies (limitations to names).

=for stopwords IronCache API SaaS optimized serialized JSON Storable YAML

=for stopwords stringify cas Cas Params IronHTTPCallException Mikko Koivunalho

=f
FixerIO-API ( W/WO/WOZNOTWOZ/FixerIO-API-0.1.0.tar.gz, WOZNOTWOZ, 2023; MetaCPAN )
FixerIO-API/lib/FixerIO/API.pm ( view source; MetaCPAN )
package FixerIO::API;

use 5.006;
use strict;
use warnings;
use HTTP::Tiny;
use JSON 'decode_json';
use Carp;

=head1 NAME

FixerIO::API - Access to the fixer.io currency exchange rate API.

=head1 VE
>5;
    p $ld, as=>"Latest Data:";

    Will print,
    Latest Data:
    {
        success     1 (JSON::PP::Boolean),
        base        "EUR",
        date        "2023-09-03" (dualvar: 2023),
     
, %options) = @_;
    my $defaults = {format => 1};
    my $json = $self->api_call( \%options, $defaults );
    my $data = decode_json( $json );# could die
    return $data;
}

=head1 INSTALLATION

To
IO-Iron ( M/MI/MIKKOI/IO-Iron-0.14.tar.gz, MIKKOI, 2023; MetaCPAN )
IO-Iron/lib/IO/Iron/IronMQ/Client.pm ( view source; MetaCPAN )
h if required.

=back

You can also give the parameters in the config file F<.iron.json>
(in home dir) or
F<iron.json> (in current dir) or as environmental variables. Please read
L<http://dev.iron.io/
Free text. If you want to put an object or a hash here, it needs to be serialized first; use e.g. JSON, Storable or YAML to stringify it. Then give the resulting string here.

=item - delay, The item 
rds IronMQ API HTTPS optimized OAuth https config Config filename

=for stopwords json dir successfull serialized JSON Storable YAML stringify

=for stopwords unreserves IronHTTPCallException Params s
Bencher-Backend ( P/PE/PERLANCAR/Bencher-Backend-1.063.tar.gz, PERLANCAR, 2023; MetaCPAN )
Bencher-Backend/lib/Bencher/Backend.pm ( view source; MetaCPAN )
ant',
    code => sub {
        require JSON::MaybeXS;

        my $args = shift;
        push @{ $args->{participants} },
            JSON::MaybeXS::decode_json($_[0]);
    },
};

my $_alias_spec_add
taset',
    code => sub {
        require JSON::MaybeXS;

        my $args = shift;
        push @{ $args->{datasets} },
            JSON::MaybeXS::decode_json($_[0]);
    },
};

my $_alias_spec_add_e
hash',
    code => sub {
        require JSON::MaybeXS;

        my $args = shift;
        push @{ $args->{env_hashes} },
            JSON::MaybeXS::decode_json($_[0]);
    },
};

$SPEC{format_result}
IO-Iron ( M/MI/MIKKOI/IO-Iron-0.14.tar.gz, MIKKOI, 2023; MetaCPAN )
IO-Iron/lib/IO/Iron/IronWorker/Api.pm ( view source; MetaCPAN )
 '(project={Project ID}, code={Task ID}). Got a task\'s log.',
    };    # Return plain text, not JSON!
}

sub IRONWORKER_CANCEL_A_TASK {
    return {
        'action_name'  => 'IRONWORKER_CANCEL_A_TA
'GET',
        'return'       => 'LIST',                                              # Return as JSON.
        'retry'        => 0,
        'require_body' => 0,
        'paged'        => 0,
        '
App-ShellCompleter-cpanm ( P/PE/PERLANCAR/App-ShellCompleter-cpanm-0.212.tar.gz, PERLANCAR, 2023; MetaCPAN )
App-ShellCompleter-cpanm/lib/App/ShellCompleter/cpanm.pm ( view source; MetaCPAN )
mat=s') {
                    return complete_array_elem(
                        array=>[qw/tree json yaml dists/], word=>$word);
                } elsif ($ospec eq 'cpanfile=s') {
                  
App-ActivityPubClient ( L/LA/LANODAN/App-ActivityPubClient-v0.1.4.tar.gz, LANODAN, 2023; MetaCPAN )
App-ActivityPubClient/lib/App/ActivityPubClient.pm ( view source; MetaCPAN )
rredUsername"}
	  if $object->{"preferredUsername"};
	printf ' ⚠' if ($object->{"sensitive"} eq JSON->true);
	foreach (@regular_keys) {
		print_object_key($indent, $object, $_);
	}
}

sub print_ref 
IO-Iron ( M/MI/MIKKOI/IO-Iron-0.14.tar.gz, MIKKOI, 2023; MetaCPAN )
IO-Iron/lib/IO/Iron/Connector.pm ( view source; MetaCPAN )
our $VERSION = '0.14'; # VERSION: generated by DZP::OurPkgVersion

use Log::Any qw{$log};
require JSON::MaybeXS;
use Data::UUID ();
use Hash::Util 0.06 qw{lock_keys lock_keys_plus unlock_keys legal_ke
=> 299;
const my $HTTP_CODE_SERVICE_UNAVAILABLE => 503;
const my $HTTP_CONTENT_TYPE_JSON        => q{application/json; charset=utf-8};

sub new {
    my ($class) = @_;
    $log->tracef( 'Entering new(
 my ( $self, $action_verb, $href, $params ) = @_;
    my $client = $self->{'client'};
    my $json   = JSON::MaybeXS->new( utf8 => 1, pretty => 1 );

    # TODO assert href is URL
    assert_in( $acti
IO-Iron ( M/MI/MIKKOI/IO-Iron-0.14.tar.gz, MIKKOI, 2023; MetaCPAN )
IO-Iron/lib/IO/Iron/IronWorker/Task.pm ( view source; MetaCPAN )
tory).
        'payload',                  # A string of data to be passed to the worker (usually JSON), can be empty (mandatory).
        'priority',                 # The priority queue to run the t
pwords IronWorker API Mikko Koivunalho perldoc CPAN AnnoCPAN ACKNOWLEDGMENTS TODO

=for stopwords JSON runtime timestamp io Timestamp Params IronHTTPCallException STDOUT params msg

=head1 REQUIREMENT
s task (mandatory).

=item payload,          A string of data to be passed to the worker (usually JSON), can be empty (mandatory).

=item priority,         The priority queue to run the task in. Valid
RDF-NS-Curated ( K/KJ/KJETILK/RDF-NS-Curated-1.006.tar.gz, KJETILK, 2023; MetaCPAN )
RDF-NS-Curated/lib/RDF/NS/Curated.pm ( view source; MetaCPAN )
/ns/hydra/core#',
						 ical => 'http://www.w3.org/2002/12/cal/icaltzd#',
						 jsonld => 'http://www.w3.org/ns/json-ld#',
						 ldp => 'http://www.w3.org/ns/ldp#',
						 ma => 'http://www.w3.org/
Slick ( R/RA/RAWLEYFOW/Slick-0.007.tar.gz, RAWLEYFOW, 2023; MetaCPAN )
Slick/lib/Slick/Router.pm ( view source; MetaCPAN )
    my $slick = Slick->new;

    $router->get('/bob' => sub { my ($app, $context) = @_; $context->json({hello => 'world'}); });

    # You may also add events that will be dispatched between global an
App-MechaCPAN ( A/AT/ATRODO/App-MechaCPAN-0.30.tar.gz, ATRODO, 2023; MetaCPAN )
App-MechaCPAN/lib/App/MechaCPAN/Install.pm ( view source; MetaCPAN )
package App::MechaCPAN::Install;

use v5.14;

use Carp;
use Config;
use Cwd qw/cwd/;
use JSON::PP qw//;
use File::Spec qw//;
use File::Path qw//;
use CPAN::Meta qw//;
use CPAN::Meta::Prereqs qw//;
use
get->{distvname};
    File::Path::mkpath( $dir, 0, 0777 );
    $target->{meta}->save("$dir/MYMETA.json");

    my $install = {
      name     => $target->{name},
      target   => $target->{src_name},
ides => $target->{meta}->provides,
    };

    open my $fh, ">", "$dir/install.json";
    print $fh JSON::PP::encode_json($install);
  }
  return;
}

my $full_pause_re = qr[
  (?: authors/id/ )
  (   
Slick ( R/RA/RAWLEYFOW/Slick-0.007.tar.gz, RAWLEYFOW, 2023; MetaCPAN )
Slick/lib/Slick/Annotation.pm ( view source; MetaCPAN )
tation;

use 5.036;

use Exporter     qw(import);
use Carp         qw(carp);
use JSON::Tiny   qw(decode_json encode_json);
use Scalar::Util qw(blessed);

our @EXPORT_OK = qw(cacheable);

sub cacheable
he_obj->get( $context->request->uri ) ) {
                my $response =
                  decode_json( $cache_obj->get( $context->request->uri ) );

                $context->from_psgi($response);
  
ode_json $context->to_psgi;

                if ( blessed( $cache_obj->{_executor} ) =~ /Memcached/x ) {
                    $cache_obj->set(
                        $context->request->uri => $json =>
CatalystX-CRUD ( K/KA/KARMAN/CatalystX-CRUD-0.58.tar.gz, KARMAN, 2023; MetaCPAN )
CatalystX-CRUD/lib/CatalystX/CRUD/Results.pm ( view source; MetaCPAN )
->next;
    }
}

=head2 TO_JSON

Hook for the L<JSON> module so that you can pass a Results object
directly to encode_json(). Calls serialize() internally.

=cut

sub TO_JSON {
    my $self = shift;
 
Slick ( R/RA/RAWLEYFOW/Slick-0.007.tar.gz, RAWLEYFOW, 2023; MetaCPAN )
Slick/lib/Slick/Context.pm ( view source; MetaCPAN )
ef);
use Module::Runtime qw(require_module);
use URI::Query;
use URL::Encode;
use JSON::Tiny qw(encode_json decode_json);
use YAML::Tiny;
use Time::HiRes;

has id => (
    is      => 'ro',
    isa    
+{
            'application/json' => sub { return decode_json(shift); },
            'text/json'        => sub { return decode_json(shift); },
            'application/json; encoding=utf8' =>
        
pes->{ $self->request->content_type };

    if ( $self->request->content_type =~ 'json' ) {
        return decode_json( $self->request->content );
    }
    elsif ( $self->request->content_type =~ 'x-
SMS-Send-Plivo ( M/MI/MIKEVNTNR/SMS-Send-Plivo-0.01_02.tar.gz, MIKEVNTNR, 2023; MetaCPAN )
SMS-Send-Plivo/lib/SMS/Send/Plivo.pm ( view source; MetaCPAN )
package SMS::Send::Plivo;

use strict;
use warnings;

use 5.008_005;

use Carp;
use JSON::PP;
use WWW::Plivo::API;

use parent qw(SMS::Send::Driver);

our $VERSION = '0.01_02';
$VERSION = eval $VERSIO
   );

    if ( ($response->{code} >= 200) && ($response->{code} <= 204) ) {
        my $result = JSON::PP->new->utf8->decode( $response->{content} );

        if ( $result->{message_uuid} ) {
       
->{message_uuid};
        }
    }
    elsif ( $response->{code} == '400' ) {
        my $result = JSON::PP->new->utf8->decode( $response->{content} );
        if ( $result->{message} ) {
            c
Slick ( R/RA/RAWLEYFOW/Slick-0.007.tar.gz, RAWLEYFOW, 2023; MetaCPAN )
Slick/lib/Slick.pm ( view source; MetaCPAN )
eq 'dev' ) ) {
        say $_->error for $context->stash->{'slick.errors'}->@*;
        $context->json(
            [ map { $_->to_hash } $context->stash->{'slick.errors'}->@* ] );
    }

    # HEAD r
s a simple example app that takes advantage of 2 databases,
has a migration, and also serves some JSON.

    use 5.036;

    use Slick;

    my $s = Slick->new;

    # Both MySQL and Postgres are supp
_one('user', { id => $context->params('id') });

        # Render the user hashref as JSON.
        $context->json($user);
    });

    $s->post('/users' => sub {
        my $app = shift;
        my $
mccs ( I/ID/IDOPEREL/mccs-2.001000.tar.gz, IDOPEREL, 2023; MetaCPAN )
mccs/lib/Plack/App/MCCS.pm ( view source; MetaCPAN )
le (including JSON/XML/JavaScript), append
    # character set to the content type
    $content_type .= '; charset=' . $self->charset
      if $content_type =~ m!^(text/|application/(json|xml|javascri
BankDetails-India ( M/MA/MANJREKAR/BankDetails-India-1.0.tar.gz, MANJREKAR, 2023; MetaCPAN )
BankDetails-India/lib/BankDetails/India.pm ( view source; MetaCPAN )
gent;
use Moose;
use Sereal qw(encode_sereal decode_sereal);
use Digest::MD5 qw(md5_hex);
use JSON;
use XML::Simple;
use Cwd;

our $VERSION = '1.0';

has user_agent => (
    is => 'ro',
  
 $self->get_response($self->api_url, $ifsc_code);
    return $data->{'RTGS'};
}

sub download_json {
    my ($self, $ifsc_code, $file_name) = @_;
    return if ( !$self->ping_api );
    my $req
 my $response = $self->user_agent->get($request_url);
    $file_name ||= "bankdetails_$ifsc_code.json";
    open(my $fh, '>', $file_name) or die $!;
    print $fh $response->decoded_content;
    c
Amazon-PAApi5-Signature ( B/BA/BAYASHI/Amazon-PAApi5-Signature-0.05.tar.gz, BAYASHI, 2023; MetaCPAN )
Amazon-PAApi5-Signature/lib/Amazon/PAApi5/Payload.pm ( view source; MetaCPAN )
:Payload;
use strict;
use warnings;
use Carp qw/croak/;
use String::CamelCase qw/decamelize/;
use JSON qw//;
use Class::Accessor::Lite (
    rw  => [qw/
        partner_tag
        marketplace
       
rketplace,
        partner_type => $opt->{partner_type} || 'Associates',
    }, $class;
}

sub to_json {
    my ($self, $data) = @_;

    my $hash = {};

    for my $k (keys %{$data}) {
        $hash-

        my $method = decamelize($k);
        $hash->{$k} = $self->$method;
    }

    return JSON::to_json($hash, { utf8 => 0, canonical => 1 });
}

1;

__END__

=encoding UTF-8

=head1 NAME

Amazon:

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