Group
Extension

Matches 35358

CryptoTron-JsonHttp ( Z/ZT/ZTENRETEP/CryptoTron-JsonHttp-0.14.tar.gz, ZTENRETEP, 2022; MetaCPAN )
CryptoTron-JsonHttp/lib/CryptoTron/JsonHttp.pm ( view source; MetaCPAN )
package CryptoTron::JsonHttp;

# Load the Perl pragmas.
use 5.008008;
use strict;
use warnings;

# Load the Perl pragma Exporter.
use vars qw(@ISA @EXPORT @EXPORT_OK);
use Exporter 'import';

# Base c
ta
    json_data
    format_output
    payload_standard
    %SERVICES
    $API_URL
);

# Set the package version. 
our $VERSION = '0.14';

# Load the required Perl modules or packages.
use JSON::PP;
u
# Configure a new JSON:PP object.
our $indent_enable = "true";
our $indent_spaces = 4;
our $JSON;
$JSON = 'JSON::PP'->new->pretty;
$JSON = $JSON->indent($indent_enable);
$JSON = $JSON->indent_length($
Mojo-Darkpan ( R/RE/RES/Mojo-Darkpan-0.09.tar.gz, RES, 2022; MetaCPAN )
Mojo-Darkpan/lib/Mojolicious/Plugin/DirectoryHandler.pm ( view source; MetaCPAN )
ious::Plugin};
use Cwd ();
use Encode ();
use DirHandle;
use Mojolicious::Types;
use Mojo::JSON qw(encode_json);
use Mojo::Darkpan::Config;

my $dir_page = <<'PAGE';
<html>
<head>
    <title>Index of 
    my $handler = $args->{handler};
    my $auto_index = $args->{auto_index} // 1;
    my $json = $args->{json};
    my $delivery_path = $args->{delivery_path} || $root;
    $dir_page = $args->{dir_pa
                }

                if (-d $path) {
                    render_indexes($c, $path, $json) unless not $auto_index;
                    return;
                }
                if (-f $pa
Myriad ( D/DE/DERIV/Myriad-1.001.tar.gz, DERIV, 2022; MetaCPAN )
Myriad/lib/Myriad/RPC/Client/Implementation/Redis.pm ( view source; MetaCPAN )
f('Received RPC response as %s', $payload);

            my $message = Myriad::RPC::Message::from_json($payload);

            if(my $pending = delete $pending_requests->{$message->message_id}) {
    
Dancer2-Plugin-DoFile ( P/PE/PERO/Dancer2-Plugin-DoFile-0.14.tar.gz, PERO, 2022; MetaCPAN )
Dancer2-Plugin-DoFile/lib/Dancer2/Plugin/DoFile.pm ( view source; MetaCPAN )
oFile::VERSION = '0.14';
# ABSTRACT: File-based MVC plugin for Dancer2

use Dancer2::Plugin;

use JSON;
use HTTP::Accept;
use Time::HiRes qw(time);

# Not sure if this is necessary at this point, as t
'view';

my %dofiles;
my $acceptext = {
  '' => '',
  'text/html' => '.html',
  'application/json' => '.json'
};

sub BUILD {
    my $self     = shift;
    my $settings = $self->config;

    $settings
Task-BeLike-GEEKRUTH ( G/GE/GEEKRUTH/Task-BeLike-GEEKRUTH-1.0301.tar.gz, GEEKRUTH, 2022; MetaCPAN )
Task-BeLike-GEEKRUTH/lib/Task/BeLike/GEEKRUTH.pm ( view source; MetaCPAN )
mporalRelations>

=head2 Building Cool Stuff

=head3 L<autodie>

=head3 L<Carp>

=head3 L<Cpanel::JSON::XS>

=head3 L<Dancer2>

=head3 L<Dancer2::Plugin::Ajax>

=head3 L<Dancer2::Plugin::Auth::Extensi
ad3 L<Modern::Perl>

=head3 L<Moo>

=head3 L<Plack::Handler::Starman>

=head3 L<Template::Plugin::JSON::Escape>

=head3 L<Try::Tiny>

=head3 L<YAML::Tiny>

=head1 INTRODUCTION

I write Perl for a livi
est::Dzil

=pkg Test::PostgreSQL

=pkg Test2::V0

=pkg Test2::Tools::Explain;

=pkg Test2::Tools::JSON;

=head1 AUTHOR

D Ruth Holloway <ruth@hiruthie.me>

=head1 COPYRIGHT AND LICENSE

This software 
Myriad ( D/DE/DERIV/Myriad-1.001.tar.gz, DERIV, 2022; MetaCPAN )
Myriad/lib/Myriad/RPC/Message.pm ( view source; MetaCPAN )
r doesn't
match the structure.

=cut

use Scalar::Util qw(blessed);
use Syntax::Keyword::Try;
use JSON::MaybeUTF8 qw(:v1);

has $rpc;
has $message_id;
has $transport_id;
has $who;
has $deadline;

has 
 represents when the timeout of the message.

=cut

method deadline { $deadline }

=head2 args

A JSON encoded string contains the argument of the procedure.

=cut

method args { $args }

=head2 respo
n a simple hash with the message data, it mustn't return nested hashes
so it will convert them to JSON encoded strings.

=cut

method as_hash () {
    my $data =  {
        rpc => $rpc,
        who =>
Perinci-Sub-To-CLIDocData ( P/PE/PERLANCAR/Perinci-Sub-To-CLIDocData-0.305.tar.gz, PERLANCAR, 2022; MetaCPAN )
Perinci-Sub-To-CLIDocData/lib/Perinci/Sub/To/CLIDocData.pm ( view source; MetaCPAN )
          $opt .= "*" if $spec->{req} && !$ospec->{is_base64} &&
                    !$ospec->{is_json} && !$ospec->{is_yaml};
            }
            push @res, $opt;
            $j++;
        }
  
*` keys in `$res->[3]` hash).

_
        },
        per_arg_json => {
            schema => 'bool',
            summary => 'Pass per_arg_json=1 to Perinci::Sub::GetArgs::Argv',
        },
        per_
arg_yaml => {
            schema => 'bool',
            summary => 'Pass per_arg_json=1 to Perinci::Sub::GetArgs::Argv',
        },
        lang => {
            schema => 'str*',
        },
        m
Mojo-Darkpan ( R/RE/RES/Mojo-Darkpan-0.09.tar.gz, RES, 2022; MetaCPAN )
Mojo-Darkpan/lib/Mojo/Darkpan.pm ( view source; MetaCPAN )
ort 8080
    darkpan --port 8080
    
    # start a server with AD backed basic auth
    # config.json
    {
      "basic_auth": {
        "Realm Name": {
          "host": "ldaps://my.ldap.server.org

        }
      }
    }
    
    darkpan --config ./config.json

=head4 Options:

=over 2

=item B<-c,--config> I<default: undef>: 
    JSON configuration file location

=item B<-p,--port> I<default:
T path(s) for releasing packages, set as the upload_uri in your .pause file

=item B</list>: 
    JSON list of packages and info about them
    
=item B</reindex>: 
    Force OrePAN2 to do a index all
Storable-CouchDB ( M/MR/MRDVT/Storable-CouchDB-0.05.tar.gz, MRDVT, 2022; MetaCPAN )
Storable-CouchDB/lib/Storable/CouchDB.pm ( view source; MetaCPAN )
 your Perl data structures containing SCALAR, ARRAY, HASH or anything that can be serialized into JSON.

The concept for this package is to provide similar capabilities as Storable::store and Storable
 updates this document

  http://127.0.0.1:5984/perl-storable-couchdb/counter

Which returns this JSON structure

  {
    "_id":"counter",
    "_rev":"39-31732f54c3ad4f2b61c217a9a8cf6171",
    "data":
CryptoTron-JsonHttp ( Z/ZT/ZTENRETEP/CryptoTron-JsonHttp-0.14.tar.gz, ZTENRETEP, 2022; MetaCPAN )
CryptoTron-JsonHttp/lib/CryptoTron/GetAccountResource.pm ( view source; MetaCPAN )
he required Perl module.
use File::Basename;

# Load the required package module.
use CryptoTron::JsonHttp;

# Get the package name.
our ($MODULE_NAME, undef, undef) = fileparse(__FILE__, '\..*');

# 
en hash.
    $param{'ModuleName'} = $MODULE_NAME;
    # Get the ouput data.
    my $output_data = json_data(\%param);
    # Return the ouput data.
    return $output_data;
};

1;

__END__

=head1 NAME
. A request of the service API
results in a response in JSON format. The module returns formatted string JSON
data as well as unformated raw JSON data based on the output format flag. The
parsing of t
Mojo-Darkpan ( R/RE/RES/Mojo-Darkpan-0.09.tar.gz, RES, 2022; MetaCPAN )
Mojo-Darkpan/lib/Mojo/Darkpan/Controller/Index.pm ( view source; MetaCPAN )
ub list($self) {
    my $util = Mojo::Darkpan::Util->new(controller => $self);

    $self->render(json => $util->list) if ($util->authorized);
}

sub reindex($self) {
    my $util = Mojo::Darkpan::Uti
CryptoTron-JsonHttp ( Z/ZT/ZTENRETEP/CryptoTron-JsonHttp-0.14.tar.gz, ZTENRETEP, 2022; MetaCPAN )
CryptoTron-JsonHttp/lib/CryptoTron/ParseAccount.pm ( view source; MetaCPAN )
he required Perl module.
use Try::Catch;
use JSON::PP;
use POSIX;

# Set the variable $SUN.
our $SUN = 1000000;

# Set the variable $JSON.
our $JSON = 'JSON::PP'->new->pretty;

# Set the array with th
                                                               #
# @argument $_[0] -> $dt_ms  Raw JSON data   (scalar)                          #
# @return   $date_time       Frozen balance  (scalar) 
e JSON account data and determine the relevant balance values.       #
#                                                                              #
# @argument $_[0] -> $json_data        Raw JSON 
CryptoTron-JsonHttp ( Z/ZT/ZTENRETEP/CryptoTron-JsonHttp-0.14.tar.gz, ZTENRETEP, 2022; MetaCPAN )
CryptoTron-JsonHttp/lib/CryptoTron/GetBrokerage.pm ( view source; MetaCPAN )
he required Perl module.
use File::Basename;

# Load the required package module.
use CryptoTron::JsonHttp;

# Get the package name.
our ($MODULE_NAME, undef, undef) = fileparse(__FILE__, '\..*');

# 
en hash.
    $param{'ModuleName'} = $MODULE_NAME;
    # Get the ouput data.
    my $output_data = json_data(\%param);
    # Return the ouput data.
    return $output_data;
};

1;

__END__

=head1 NAME
. A request of the service API results in
a response in JSON format. The module returns formatted string JSON data as
well as unformated raw JSON data based on the output format flag. The parsing
of t
Myriad ( D/DE/DERIV/Myriad-1.001.tar.gz, DERIV, 2022; MetaCPAN )
Myriad/lib/Myriad/RPC/Implementation/Memory.pm ( view source; MetaCPAN )
->response = { response => $response };
    await $transport->publish($message->who, $message->as_json);
    await $transport->ack_message($stream, $self->group_name, $message->transport_id);
    $pro
>message, reason => $error->reason } };
    await $transport->publish($message->who, $message->as_json);
    await $transport->ack_message($stream, $self->group_name, $message->transport_id);
    $pro
CryptoTron-JsonHttp ( Z/ZT/ZTENRETEP/CryptoTron-JsonHttp-0.14.tar.gz, ZTENRETEP, 2022; MetaCPAN )
CryptoTron-JsonHttp/lib/CryptoTron/GetAccount.pm ( view source; MetaCPAN )
he required Perl module.
use File::Basename;

# Load the required package module.
use CryptoTron::JsonHttp;

# Get the package name.
our ($MODULE_NAME, undef, undef) = fileparse(__FILE__, '\..*');

# 
en hash.
    $param{'ModuleName'} = $MODULE_NAME;
    # Get the ouput data.
    my $output_data = json_data(\%param);
    # Return the ouput data.
    return $output_data;
};

1;

__END__

=head1 NAME
. A request of the service API results in a response in
JSON format. The module returns formatted string JSON data as well as
unformated raw JSON data based on the output format flag. The parsing of t
Myriad ( D/DE/DERIV/Myriad-1.001.tar.gz, DERIV, 2022; MetaCPAN )
Myriad/lib/Myriad/RPC/Implementation/Redis.pm ( view source; MetaCPAN )
ervice, $message->rpc);
    try {
        await $self->redis->publish($message->who, $message->as_json);
        await $self->redis->ack($stream, $self->group_name, $message->transport_id);
        $p
CryptoTron-JsonHttp ( Z/ZT/ZTENRETEP/CryptoTron-JsonHttp-0.14.tar.gz, ZTENRETEP, 2022; MetaCPAN )
CryptoTron-JsonHttp/lib/CryptoTron/GetAccountNet.pm ( view source; MetaCPAN )
he required Perl module.
use File::Basename;

# Load the required package module.
use CryptoTron::JsonHttp;

# Get the package name.
our ($MODULE_NAME, undef, undef) = fileparse(__FILE__, '\..*');

# 
en hash.
    $param{'ModuleName'} = $MODULE_NAME;
    # Get the ouput data.
    my $output_data = json_data(\%param);
    # Return the ouput data.
    return $output_data;
};

1;

__END__

=head1 NAME
. A request of the service API results in
a response in JSON format. The module returns formatted string JSON data as
well as unformated raw JSON data based on the output format flag. The parsing
of t
CryptoTron-JsonHttp ( Z/ZT/ZTENRETEP/CryptoTron-JsonHttp-0.14.tar.gz, ZTENRETEP, 2022; MetaCPAN )
CryptoTron-JsonHttp/lib/CryptoTron/GetReward.pm ( view source; MetaCPAN )
he required Perl module.
use File::Basename;

# Load the required package module.
use CryptoTron::JsonHttp;

# Get the package name.
our ($MODULE_NAME, undef, undef) = fileparse(__FILE__, '\..*');

# 
en hash.
    $param{'ModuleName'} = $MODULE_NAME;
    # Get the ouput data.
    my $output_data = json_data(\%param);
    # Return the ouput data.
    return $output_data;
};

1;

__END__

=head1 NAME
. A request of the service API
results in a response in JSON format. The module returns formatted string JSON
data as well as unformated raw JSON data based on the output format flag. The
parsing of t
Mojo-Darkpan ( R/RE/RES/Mojo-Darkpan-0.09.tar.gz, RES, 2022; MetaCPAN )
Mojo-Darkpan/lib/Mojo/Darkpan/Config.pm ( view source; MetaCPAN )
package Mojo::Darkpan::Config;
use v5.20;
use Moo;
use JSON;
use Mojo::File;
use Cwd;
use Data::Dumper;

has _config => (is => 'lazy');
has directory => (is => 'lazy');
has compressIndex => (is => 'la
ateAssetLocation($location);

        my $file = Mojo::File->new($location);
        my $config = JSON->new->utf8->decode($file->slurp);

        return $config;
    }

    return undef;
}

sub _build
Myriad ( D/DE/DERIV/Myriad-1.001.tar.gz, DERIV, 2022; MetaCPAN )
Myriad/lib/Myriad/Subscription/Implementation/Redis.pm ( view source; MetaCPAN )
 return $redis->xadd(
                encode_utf8($stream) => '*',
                data => encode_json_utf8($event),
            );
        }))->ordered_futures(
            low => 100,
            hi
      for my $event (@events) {
                try {
                    my $event_data = decode_json_utf8($event->{data}->[1]);
                    $log->tracef('Passing event: %s | from stream: %s 

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