Group
Extension

Matches 35358

ZZZ-SDK ( S/ST/STDCRM/ZZZ-SDK-0.0.2.tar.gz, STDCRM, 2020; MetaCPAN )
ZZZ-SDK/src/com/zoho/crm/api/bulkwrite/BulkWriteOperations.pm ( view source; MetaCPAN )
($header_instance); 
	return $handler_instance->api_call("bulkwrite.ActionResponse", "application/json"); 
}

sub create_bulk_write_job
{
	my ($self,$request) = @_;
	if(!(($request)->isa("bulkwrite::R
plication/json"); 
	$handler_instance->set_request($request); 
	$handler_instance->set_mandatory_checker(1); 
	return $handler_instance->api_call("bulkwrite.ActionResponse", "application/json"); 
}

s
ST_CATEGORY_READ); 
	return $handler_instance->api_call("bulkwrite.ResponseWrapper", "application/json"); 
}

sub download_bulk_write_result
{
	my ($self,$download_url) = @_;
	my $handler_instance = C
Test-ZZZ ( S/ST/STDCRM/Test-ZZZ-0.0.1.tar.gz, STDCRM, 2020; MetaCPAN )
Test-ZZZ/src/com/zoho/crm/api/util/CommonAPIHandler.pm ( view source; MetaCPAN )
use strict;
use warnings;
use Scalar::Util qw(blessed);
use JSON;
use Switch;
use Data::Dumper;
use Try::Catch;
use Log::Handler;

use src::com::zoho::crm::api::util::APIHTTPConnector;
use src::com::z
oho::crm::api::util::APIResponse;
use src::com::zoho::crm::api::util::JSONConverter;
use src::com::zoho::crm::api::util::XMLConverter;
use src::com::zoho::crm::api::util::Downloader;
use src::com::zoh
ter;

    switch($encode_type)
    {
        case ["application/json", "text/plain", "text/html"]
        {
            $converter = JSONConverter->new($self)
        }
        case ["application/xml"
ZZZ-SDK ( S/ST/STDCRM/ZZZ-SDK-0.0.2.tar.gz, STDCRM, 2020; MetaCPAN )
ZZZ-SDK/src/com/zoho/crm/api/layouts/LayoutsOperations.pm ( view source; MetaCPAN )
", $self->{module}); 
	return $handler_instance->api_call("layouts.ResponseHandler", "application/json"); 
}

sub get_layout
{
	my ($self,$id) = @_;
	my $handler_instance = CommonAPIHandler->new(); 
	
ategory_method($Constants::REQUEST_CATEGORY_READ); 
	$handler_instance->add_param("module", $self->{module}); 
	return $handler_instance->api_call("layouts.ResponseHandler", "application/json"); 
}
1;
ZZZ-SDK ( S/ST/STDCRM/ZZZ-SDK-0.0.2.tar.gz, STDCRM, 2020; MetaCPAN )
ZZZ-SDK/src/com/zoho/crm/api/util/JSONConverter.pm ( view source; MetaCPAN )
#use strict;
package JSONConverter;

use warnings;
use JSON;
use Scalar::Util::Numeric qw(isint isfloat);
use src::com::zoho::crm::api::util::Converter;
use src::com::zoho::crm::api::Initializer;
use 
quest
{
    my ($self, $request_instance, $class_detail, $instance_number) = @_;

    my $request_json = {};

    my %class_detail = %{$class_detail};

    foreach my $member_name (keys %class_detail)
      $request_json->{lc($key_name)} = $field_value;
                }
                elsif(lc($key_name) eq lc($Constants::FILE_ID))
                {
                    $request_json->{lc($key_nam
Mail-MtPolicyd ( B/BE/BENNING/Mail-MtPolicyd-2.05.tar.gz, BENNING, 2020; MetaCPAN )
Mail-MtPolicyd/lib/Mail/MtPolicyd/Plugin/SqlUserConfig.pm ( view source; MetaCPAN )
lugin::Result;
use JSON;

has 'sql_query' => (
	is => 'rw', isa => 'Str',
	default => 'SELECT config FROM user_config WHERE address=?',
);

has '_json' => (
	is => 'ro', isa => 'JSON', lazy => 1,
	def
ault => sub {
		return JSON->new;
	}
);

has 'field' => ( is => 'rw', isa => 'Str', default => 'recipient' );

with 'Mail::MtPolicyd::Role::Connection' => {
  name => 'db',
  type => 'Sql',
};
with 'M
self->sql_query, $key );
	my ( $json ) = $sth->fetchrow_array;
	if( ! defined $json ) {
		die( 'no user-config found for '.$key );
	}
	return $self->_json->decode( $json );
}

sub run {
	my ( $self, $
Mail-MtPolicyd ( B/BE/BENNING/Mail-MtPolicyd-2.05.tar.gz, BENNING, 2020; MetaCPAN )
Mail-MtPolicyd/lib/Mail/MtPolicyd/Cookbook/HowtoAccountingQuota.pod ( view source; MetaCPAN )
{"quota_count":"100000"} |
  +--------------------------+
  1 row in set (0.00 sec)

To load the (JSON) configuration into the mtpolicyd session variables use the SqlUserConfig plugin and this SQL sta
Mail-MtPolicyd ( B/BE/BENNING/Mail-MtPolicyd-2.05.tar.gz, BENNING, 2020; MetaCPAN )
Mail-MtPolicyd/lib/Mail/MtPolicyd/Profiler.pm ( view source; MetaCPAN )
ngs;

use MooseX::Singleton;
use namespace::autoclean;

use Mail::MtPolicyd::Profiler::Timer;
use JSON;

our $VERSION = '2.05'; # VERSION
# ABSTRACT: a application level profiler for mtpolicyd

has 'r
Log-Log4perl-OpenTracing ( V/VA/VANHOESEL/Log-Log4perl-OpenTracing-v0.1.2.tar.gz, VANHOESEL, 2020; MetaCPAN )
Log-Log4perl-OpenTracing/lib/Log/Log4perl/OpenTracing.pod ( view source; MetaCPAN )
= TRACE, json
        log4perl.appender.json        = Log::Log4perl::Appender::File
        log4perl.appender.json.layout = Log::Log4perl::Layout::JSON::Readable
        log4perl.appender.json.layout.
p}
        log4perl.appender.json.layout.field.time     = %d
        log4perl.appender.json.layout.field.trace-id = %O{opentracing.trace_id}
        log4perl.appender.json.layout.field.span-id  = %O{o
pentracing.span_id}
        log4perl.appender.json.layout.canonical      = 1
        log4perl.appender.json.layout.first_fields   = time, trace-id, span-id
    };
    
    Log::Log4perl::init( \$confi
BSON ( M/MO/MONGODB/BSON-v1.12.2.tar.gz, MONGODB, 2020; MetaCPAN )
BSON/lib/BSON/Time.pm ( view source; MetaCPAN )
d =method TO_JSON
#pod
#pod Returns a string formatted by L</as_iso8601>.
#pod
#pod If the C<BSON_EXTJSON> option is true, it will instead be compatible with
#pod MongoDB's L<extended JSON|https://git
er/source/extended-json.rst>
#pod format, which represents it as a document as follows:
#pod
#pod
#pod If the C<BSON_EXTJSON> environment variable is true and the
#pod C<BSON_EXTJSON_RELAXED> environm
rns a hashref
#pod compatible with
#pod MongoDB's L<extended JSON|https://github.com/mongodb/specifications/blob/master/source/extended-json.rst>
#pod format, which represents it as a document as foll
BSON ( M/MO/MONGODB/BSON-v1.12.2.tar.gz, MONGODB, 2020; MetaCPAN )
BSON/lib/BSON/Binary.pm ( view source; MetaCPAN )
@data = @{ $self->data };
    return pack( 'l<C*', scalar(@data), $self->type, @data );
}

sub TO_JSON {
    my %data;
    tie( %data, 'Tie::IxHash' );
    $data{base64} = $_[0]->to_s;
    $data{subTy
ongly encouraged to use L<BSON::Bytes> instead.

=for Pod::Coverage new data type subtype to_s TO_JSON

=head1 AUTHORS

=over 4

=item *

David Golden <david@mongodb.com>

=item *

Stefan G. <minimali
Docker-Client ( M/MA/MARGHI/Docker-Client-v0.1.1.tar.gz, MARGHI, 2020; MetaCPAN )
Docker-Client/lib/Docker/Client.pod ( view source; MetaCPAN )
  my $client = Docker::Client->new();

    my $tx = $client->ContainerCreate(
        {},
        json => {
            Image        => 'ubuntu',
            AttachStdin  => 0,
            AttachStdou
tdin    => 0,
            StdinOnce    => 0
        }
    );

    my $container = $ctx->result()->json();

    $tx = $client->ContainerStart( { id => $container->{Id} } );
    if ( !$tx->result()->is_
BSON ( M/MO/MONGODB/BSON-v1.12.2.tar.gz, MONGODB, 2020; MetaCPAN )
BSON/lib/BSON/String.pm ( view source; MetaCPAN )
s{value} = "$args{value}";

    return \%args;
}

#pod =method TO_JSON
#pod
#pod Returns value as a string.
#pod
#pod =cut

sub TO_JSON { return "$_[0]->{value}" }

use overload (
    # Unary
    q{bo
 be stringified during construction.  The default
is the empty string.

=head1 METHODS

=head2 TO_JSON

Returns value as a string.

=for Pod::Coverage BUILDARGS

=head1 OVERLOADING

The stringificatio
Dist-Zilla-Plugin-perlmv ( P/PE/PERLANCAR/Dist-Zilla-Plugin-perlmv-0.002.tar.gz, PERLANCAR, 2020; MetaCPAN )
Dist-Zilla-Plugin-perlmv/lib/Dist/Zilla/Plugin/perlmv.pm ( view source; MetaCPAN )
let->{summary};
}

# dzil also wants to get abstract for main module to put in dist's
# META.{yml,json}
sub before_build {
   my $self  = shift;
   my $name  = $self->zilla->name;
   my $class = $name
LWP-UserAgent-Plugin ( P/PE/PERLANCAR/LWP-UserAgent-Plugin-0.004.tar.gz, PERLANCAR, 2020; MetaCPAN )
LWP-UserAgent-Plugin/lib/LWP/UserAgent/Plugin.pm ( view source; MetaCPAN )
LWP::UserAgent';

if ($ENV{LWP_USERAGENT_PLUGINS}) {
    require JSON::PP;
    __PACKAGE__->set_plugins(@{
        JSON::PP::decode_json($ENV{LWP_USERAGENT_PLUGINS})
      });
}

sub import {
    my $
E

Bool. If set to true, will produce more trace log statements.

=head2 LWP_USERAGENT_PLUGINS

A JSON-encoded array. If set, will call L</set_plugins> with the decoded value.

=head1 HOMEPAGE

Please
BSON ( M/MO/MONGODB/BSON-v1.12.2.tar.gz, MONGODB, 2020; MetaCPAN )
BSON/lib/BSON/MaxKey.pm ( view source; MetaCPAN )
 TO_JSON
#pod
#pod If the C<BSON_EXTJSON> option is true, returns a hashref compatible with
#pod MongoDB's L<extended JSON|https://github.com/mongodb/specifications/blob/master/source/extended-json.rs
pod If the C<BSON_EXTJSON> option is false, an error is thrown, as this value
#pod can't otherwise be represented in JSON.
#pod
#pod =cut

sub TO_JSON {
    if ( $ENV{BSON_EXTJSON} ) {
        return 
{ '$maxKey' => 1 };
    }

    croak( "The value '$_[0]' is illegal in JSON" );
}

1;

=pod

=encoding UTF-8

=head1 NAME

BSON::MaxKey - BSON type wrapper for MaxKey

=head1 VERSION

version v1.12.2
BSON ( M/MO/MONGODB/BSON-v1.12.2.tar.gz, MONGODB, 2020; MetaCPAN )
BSON/lib/BSON.pm ( view source; MetaCPAN )
PP, so that modules can pick up right version of helpers
use BSON::Types (); # loads types for extjson inflation

#--------------------------------------------------------------------------#
# public 
method inflate_extjson (DEPRECATED)
#pod
#pod This legacy method does not follow the L<MongoDB Extended JSON|https://github.com/mongodb/specifications/blob/master/source/extended-json.rst>
#pod specif
ication.
#pod
#pod Use L</extjson_to_perl> instead.
#pod
#pod =cut

sub inflate_extjson {
    my ( $self, $hash ) = @_;

    for my $k ( keys %$hash ) {
        my $v = $hash->{$k};
        if ( subst
BSON ( M/MO/MONGODB/BSON-v1.12.2.tar.gz, MONGODB, 2020; MetaCPAN )
BSON/lib/BSON/Timestamp.pm ( view source; MetaCPAN )
 TO_JSON
#pod
#pod If the C<BSON_EXTJSON> option is true, returns a hashref compatible with
#pod MongoDB's L<extended JSON|https://github.com/mongodb/specifications/blob/master/source/extended-json.rs
pod If the C<BSON_EXTJSON> option is false, an error is thrown, as this value
#pod can't otherwise be represented in JSON.
#pod
#pod =cut

sub TO_JSON {
    if ( $ENV{BSON_EXTJSON} ) {
        my %dat
      return { '$timestamp' => \%data };
    }

    Carp::croak( "The value '$_[0]' is illegal in JSON" );
}

sub _cmp {
    my ( $l, $r, $swap ) = @_;
    if ( !defined($l) || !defined($r) ) {
      
Docker-Construct ( C/CA/CAMTAUXE/Docker-Construct-1.0.tar.gz, CAMTAUXE, 2020; MetaCPAN )
Docker-Construct/lib/Docker/Construct.pm ( view source; MetaCPAN )
   )

=cut

use Exporter;
our @ISA = qw(Exporter);
our @EXPORT_OK = qw(construct);

use Carp;
use JSON;
use Scalar::Util qw(openhandle);
use File::Spec::Functions qw(splitpath catfile);
use File::Path
ot be reported on stderr.

=item * include_config

If true, include the image's config json file as F<config.json> in the
root of the extracted filesystem.

=back
=cut

sub construct {
    # Parse par
est.json)"
        unless grep {$_ eq 'manifest.json'} @imagefiles;

    # Extract image manifest.
    my %manifest = %{
        decode_json(
            _read_file_from_tar($image, 'manifest.json')
 
BSON ( M/MO/MONGODB/BSON-v1.12.2.tar.gz, MONGODB, 2020; MetaCPAN )
BSON/lib/BSON/Code.pm ( view source; MetaCPAN )
 TO_JSON
#pod
#pod If the C<BSON_EXTJSON> option is true, returns a hashref compatible with
#pod MongoDB's L<extended JSON|https://github.com/mongodb/specifications/blob/master/source/extended-json.rs
e C<BSON_EXTJSON> option is false, an error is thrown, as this value
#pod can't otherwise be represented in JSON.
#pod
#pod =cut

sub TO_JSON {
    require BSON;
    if ( $ENV{BSON_EXTJSON} ) {
      
$scope'} = BSON->perl_to_extjson($_[0]->{scope})
            if defined $_[0]->{scope};
        return \%data;
    }

    Carp::croak( "The value '$_[0]' is illegal in JSON" );
}

1;

=pod

=encoding 
BSON ( M/MO/MONGODB/BSON-v1.12.2.tar.gz, MONGODB, 2020; MetaCPAN )
BSON/lib/BSON/Int32.pm ( view source; MetaCPAN )
t32");
    }
}

#pod =method TO_JSON
#pod
#pod Returns the value as an integer.
#pod
#pod If the C<BSON_EXTJSON> environment variable is true and the
#pod C<BSON_EXTJSON_RELAXED> environment variable 
rns a hashref
#pod compatible with
#pod MongoDB's L<extended JSON|https://github.com/mongodb/specifications/blob/master/source/extended-json.rst>
#pod format, which represents it as a document as foll
#pod
#pod     {"$numberInt" : "42"}
#pod
#pod =cut

sub TO_JSON {
    return int($_[0]->{value}) if ! $ENV{BSON_EXTJSON} || $ENV{BSON_EXTJSON_RELAXED};
    return { '$numberInt' => "$_[0]->{value}" };

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