Group
Extension

Matches 35358

JSON-Immutable-XS ( A/AD/ADDICT/JSON-Immutable-XS-0.1.3.tar.gz, ADDICT, 2020; MetaCPAN )
JSON-Immutable-XS/external/rapidjson/rapidjson.h ( view source; MetaCPAN )
// Tencent is pleased to support the open source community by making RapidJSON available.
// 
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// License
PIDJSON_RAPIDJSON_H_
#define RAPIDJSON_RAPIDJSON_H_

/*!\file rapidjson.h
    \brief common definitions and configuration
    
    \see RAPIDJSON_CONFIG
 */

/*! \defgroup RAPIDJSON_CONFIG RapidJSON c
onfiguration
    \brief Configuration macros for library features

    Some RapidJSON features are configurable to adapt the library to a wide
    variety of platforms, environments and usage scenario
JSON-Immutable-XS ( A/AD/ADDICT/JSON-Immutable-XS-0.1.3.tar.gz, ADDICT, 2020; MetaCPAN )
JSON-Immutable-XS/XS.pod ( view source; MetaCPAN )
Name
    JSON::Immutable::XS

DESCRIPTION
    Fast and simple abstract node-tree based storage with JSON support. Usefull for reading JSON configs, keeping it in the memory and don't worrying about mu
.

    It use RapidJSON as JSON parser. https://rapidjson.org/

SYNOPSIS
    use JSON::Immutable::XS;

    # you can provide this variable to XS and use it there
    my $dict = JSON::Immutable::XS->ne
w('example/dict.json');

    # get subnode by path ( any node is JSON::Immutable::XS ref)
    my $node = $dict->get( 'path', 2, 'node'); # similar to ->{path}[2]{node}
    # get() returns undef on not
JSON-Immutable-XS ( A/AD/ADDICT/JSON-Immutable-XS-0.1.3.tar.gz, ADDICT, 2020; MetaCPAN )
JSON-Immutable-XS/external/rapidjson/writer.h ( view source; MetaCPAN )
// Tencent is pleased to support the open source community by making RapidJSON available.
// 
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// License
fic language governing permissions and limitations under the License.

#ifndef RAPIDJSON_WRITER_H_
#define RAPIDJSON_WRITER_H_

#include "stream.h"
#include "internal/meta.h"
#include "internal/stack.


#if defined(RAPIDJSON_SIMD) && defined(_MSC_VER)
#include <intrin.h>
#pragma intrinsic(_BitScanForward)
#endif
#ifdef RAPIDJSON_SSE42
#include <nmmintrin.h>
#elif defined(RAPIDJSON_SSE2)
#include <e
WWW-Shodan-API ( D/DA/DADAMS/WWW-Shodan-API-0.013.tar.gz, DADAMS, 2020; MetaCPAN )
WWW-Shodan-API/lib/WWW/Shodan/API.pm ( view source; MetaCPAN )
API;

use 5.006;
use strict;
use warnings FATAL => 'all';

our $VERSION = '0.013';

use Carp;
use JSON;
use LWP::UserAgent;
use URI::Escape;

use constant BASE_URL          => 'https://api.shodan.io';
 my $ua = LWP::UserAgent->new;
    my $json = JSON->new->allow_nonref;

    my $self = {
        APIKEY => $apikey,
        UA     => $ua,
        JSON   => $json,
    };
    bless $self, $class;
    
 $self;
}

sub _ua {
    my $self = shift;
    return $self->{UA};
}

sub _json {
    my $self =shift;
    return $self->{JSON};
}

sub _request {
    my ($self, $endpoint) = @_;
    my $response = $s
Container-Buildah ( I/IK/IKLUFT/Container-Buildah-0.3.1.tar.gz, IKLUFT, 2020; MetaCPAN )
Container-Buildah/lib/Container/Buildah/Subcommand.pm ( view source; MetaCPAN )
rams({name => 'containers',
		extract => [qw(suppress_error nonzero zero)],
		arg_flag => [qw(all json noheading notruncate quiet)],
		arg_str => [qw(filter format)],
		}, $params);

	# run command an
({name => 'images',
		extract => [qw(suppress_error nonzero zero)],
		arg_flag => [qw(all digests json history noheading no-trunc notruncate quiet)],
		arg_str => [qw(filter format)],
		}, $params);

fo([{debug => 1, format => format}])
# this uses YAML::XS with the assumption that buildah-info's JSON output is a proper subset of YAML
# public class method
sub info
{
	my ($class_or_obj, @in_args) 
ScriptX ( P/PE/PERLANCAR/ScriptX-0.000004.tar.gz, PERLANCAR, 2020; MetaCPAN )
ScriptX/lib/ScriptX.pm ( view source; MetaCPAN )
PTX_IMPORT_JSON:
        {
            last unless defined $ENV{SCRIPTX_IMPORT_JSON};
            require JSON::PP;
            log_trace "[scriptx] Reading env variable SCRIPTX_IMPORT_JSON ...";
    
        my $imports = JSON::PP::decode_json($ENV{SCRIPTX_IMPORT_JSON});
            _import(@$imports);
            $read_env++;
            last READ_ENV;
        }
    }

    if (@_ && $_[0] =~ /\A-
DumpStash> plugin handler in the
C<after_run> event at priority 99.

=head2 SCRIPTX_IMPORT_JSON

String (JSON-encoded array). This is an alternative to L</SCRIPTX_IMPORT> and
has a lower precedence (w
Data-Tree-Describe ( D/DA/DAEMON/Data-Tree-Describe-0.009.tar.gz, DAEMON, 2020; MetaCPAN )
Data-Tree-Describe/lib/Data/Tree/Describe.pm ( view source; MetaCPAN )
dule's description.

This module was originally developed for data trees or objects created from 
json::maybexs, though it technically will work on any perl data tree.

The module is fairly heavy proc
 {
    my $type    =   ref($tree) ? ref($tree) : 'ELEMENT';

    my @json_path       =   ();
    if ($stash->{path}) {
        @json_path  =   @{delete $stash->{path}};
    }

    # Handle booleans mo
e});
        foreach my $child (keys %{$tree})   { 
            my @passed_path             =   (@json_path,$child);
            my $depth                   =   $stash->{depth};
            $stash->{_
XAO-Base ( A/AM/AMALTSEV/XAO-Base-1.28.tar.gz, AMALTSEV, 2020; MetaCPAN )
XAO-Base/lib/XAO/Utils.pm ( view source; MetaCPAN )
 is escaped into a hex code because that is acceptable in
both Javascript and JSON strings, whereas \' is not valid in JSON.

Angle brackets are escaped because otherwise a value of </script> inside
a
Mojolicious-Plugin-InputValidation ( F/FR/FROGGS/Mojolicious-Plugin-InputValidation-0.10.tar.gz, FROGGS, 2020; MetaCPAN )
Mojolicious-Plugin-InputValidation/lib/Mojolicious/Plugin/InputValidation.pm ( view source; MetaCPAN )
elf->empty and defined $value and !ref $value and $value eq '')
             or (ref($value) =~ /^JSON::PP::Boolean$/);

    my $val = ref $value || $value;
    $self->error("Value '$val' is not a boo
f, $app, $conf) = @_;

    $app->helper(validate_json_request => sub {
        my ($c, $pattern) = @_;
        return _validate_structure($c->req->json, $pattern);
    });
    $app->helper(validate_pa
t;

      # Validate incoming requests against our data model.
      if (my $error = $c->validate_json_request({
          title    => iv_any,
          abstract => iv_any(optional => 1, empty => 1),
XAO-Base ( A/AM/AMALTSEV/XAO-Base-1.28.tar.gz, AMALTSEV, 2020; MetaCPAN )
XAO-Base/lib/XAO/DO/Cache/Memcached.pm ( view source; MetaCPAN )
e XAO::DO::Cache::Memcached;
use strict;
use XAO::Utils;
use XAO::Objects;
use XAO::Projects;
use JSON;
use Storable qw(freeze thaw);
use Encode;
use Digest::SHA;

use base XAO::Objects->load(objname 
  my $key=$self->make_key(shift);

    # We need to support storing undefs. All data is stored as JSON.
    #
    my $frozen_text=$self->memcached->get($key);

    if($self->{'debug'}) {
        dprin
text) {

        my $data;
        if(substr($frozen_text,0,1) eq '[') {
            $data=decode_json($frozen_text)->[0];
        }
        else {
            $data=thaw($frozen_text)->[0];
        }
Test-ZZZ ( S/ST/STDCRM/Test-ZZZ-0.0.1.tar.gz, STDCRM, 2020; MetaCPAN )
Test-ZZZ/src/com/zoho/crm/api/notes/NotesOperations.pm ( view source; MetaCPAN )
der($header_instance); 
	return $handler_instance->api_call("notes.ResponseHandler", "application/json"); 
}

sub create_notes
{
	my ($self,$request) = @_;
	if(!(($request)->isa("notes::BodyWrapper"))
application/json"); 
	$handler_instance->set_request($request); 
	$handler_instance->set_mandatory_checker(1); 
	return $handler_instance->api_call("notes.ActionHandler", "application/json"); 
}

sub 
application/json"); 
	$handler_instance->set_request($request); 
	$handler_instance->set_mandatory_checker(1); 
	return $handler_instance->api_call("notes.ActionHandler", "application/json"); 
}

sub 
Test-ZZZ ( S/ST/STDCRM/Test-ZZZ-0.0.1.tar.gz, STDCRM, 2020; MetaCPAN )
Test-ZZZ/src/com/zoho/crm/api/contactroles/ContactRolesOperations.pm ( view source; MetaCPAN )
CATEGORY_READ); 
	return $handler_instance->api_call("contactroles.ResponseHandler", "application/json"); 
}

sub create_contact_roles
{
	my ($self,$request) = @_;
	if(!(($request)->isa("contactroles:
lication/json"); 
	$handler_instance->set_request($request); 
	$handler_instance->set_mandatory_checker(1); 
	return $handler_instance->api_call("contactroles.ActionHandler", "application/json"); 
}

lication/json"); 
	$handler_instance->set_request($request); 
	$handler_instance->set_mandatory_checker(1); 
	return $handler_instance->api_call("contactroles.ActionHandler", "application/json"); 
}

Test-ZZZ ( S/ST/STDCRM/Test-ZZZ-0.0.1.tar.gz, STDCRM, 2020; MetaCPAN )
Test-ZZZ/src/com/zoho/api/authenticator/OAuthToken.pm ( view source; MetaCPAN )
use src::com::zoho::api::authenticator::Token;
use src::com::zoho::crm::api::util::Constants;
use JSON;
use Moose;
use Try::Catch;
use Log::Handler;
use REST::Client;
use Scalar::Util::Numeric qw(isin
%request_body);

        my $decoded_json = JSON->new->utf8->decode($res->decoded_content());

        $store->save_token($user, $self->parse_response($decoded_json));

        return $self;
    }
   
%request_body);

        my $decoded_json = JSON->new->utf8->decode($res->decoded_content());

        $store->save_token($user, $self->parse_response($decoded_json));

        return $self;
    }
   
Test-ZZZ ( S/ST/STDCRM/Test-ZZZ-0.0.1.tar.gz, STDCRM, 2020; MetaCPAN )
Test-ZZZ/src/com/zoho/crm/api/Initializer.pm ( view source; MetaCPAN )
ings;

package Initializer;
use Moose;
use File::Spec::Functions qw(catfile);
use Try::Catch;
use JSON;
use Log::Handler;
use Cwd qw(realpath);
use Cwd qw(getcwd);
use src::com::zoho::crm::api::UserSi
tore;
our $json_details;
our $logger;
our $resource_path;

has 'user' => (is => "rw");
has 'environment' => (is => "rw");
has 'token' => (is => "rw");
has 'store' => (is => "rw");
has 'json_details' =
 try
    {
        use JSON::Parse 'json_file_to_perl';
        my $json_file_path = realpath($Constants::JSON_DETAILS_FILE_PATH);
        $json_details = json_file_to_perl($json_file_path);
    }
   
Test-ZZZ ( S/ST/STDCRM/Test-ZZZ-0.0.1.tar.gz, STDCRM, 2020; MetaCPAN )
Test-ZZZ/src/com/zoho/crm/api/util/FormDataConverter.pm ( view source; MetaCPAN )
itializer::get_json_details();

    my %json_details = %{$init};

    $pack =~ s/::/./;

    $package_path = $self->find_class_path($pack, \%json_details);

    my $class_detail = $json_details{$packa
               if("$type" eq "List")
                {
                    my @array = $self->set_json_array($field_value, $member_detail);

                    $request_hash->{$key_name} = [@array];
type" eq "HashMap")
                {
                    $request_hash->{$key_name} = $self->set_json_object($field_value, \%member_detail);
                }
                elsif(exists($member_det
Test-ZZZ ( S/ST/STDCRM/Test-ZZZ-0.0.1.tar.gz, STDCRM, 2020; MetaCPAN )
Test-ZZZ/src/com/zoho/crm/api/util/Constants.pm ( view source; MetaCPAN )
ce Path MUST NOT be undef/empty.";

our $LOGFILE_NAME = "SDKLogs.log";

our $JSON_DETAILS_FILE_PATH = "src/JsonDetails.json";

our $INITIALIZATION_SUCCESSFUL = "Initialization successful ";

our $INIT
Test-ZZZ ( S/ST/STDCRM/Test-ZZZ-0.0.1.tar.gz, STDCRM, 2020; MetaCPAN )
Test-ZZZ/src/com/zoho/crm/api/blueprint/BluePrintOperations.pm ( view source; MetaCPAN )
ST_CATEGORY_READ); 
	return $handler_instance->api_call("blueprint.ResponseHandler", "application/json"); 
}

sub update_blueprint
{
	my ($self,$request) = @_;
	if(!(($request)->isa("blueprint::BodyWr
plication/json"); 
	$handler_instance->set_request($request); 
	$handler_instance->set_mandatory_checker(1); 
	return $handler_instance->api_call("blueprint.ActionResponse", "application/json"); 
}
1;
Test-ZZZ ( S/ST/STDCRM/Test-ZZZ-0.0.1.tar.gz, STDCRM, 2020; MetaCPAN )
Test-ZZZ/src/com/zoho/crm/api/util/DataTypeConverter.pm ( view source; MetaCPAN )
type}->($obj);
}

=head1 NAME

com::zoho::crm::api::util::DataTypeConverter - This class converts JSON value to the expected data type.

=head1 DESCRIPTION

=head2 METHODS

=over 4

=item C<init>

Thi
rter method.

=item C<pre_convert>

This method is to convert JSON value to expected data value.

Param obj : A Object containing the JSON value.

Param type : A String containing the expected method 
 Type containing expected data value.

=item C<post_convert>

This method to convert Perl data to JSON data value.

Param obj : A specified dataType containing a perl data value.

Param type : A Strin
ZZZ-SDK ( S/ST/STDCRM/ZZZ-SDK-0.0.2.tar.gz, STDCRM, 2020; MetaCPAN )
ZZZ-SDK/src/com/zoho/crm/api/util/Constants.pm ( view source; MetaCPAN )
ce Path MUST NOT be undef/empty.";

our $LOGFILE_NAME = "SDKLogs.log";

our $JSON_DETAILS_FILE_PATH = "src/JsonDetails.json";

our $INITIALIZATION_SUCCESSFUL = "Initialization successful ";

our $INIT
Test-ZZZ ( S/ST/STDCRM/Test-ZZZ-0.0.1.tar.gz, STDCRM, 2020; MetaCPAN )
Test-ZZZ/src/com/zoho/crm/api/sharerecords/ShareRecordsOperations.pm ( view source; MetaCPAN )
aram_instance); 
	return $handler_instance->api_call("sharerecords.ResponseHandler", "application/json"); 
}

sub share_record
{
	my ($self,$request) = @_;
	if(!(($request)->isa("sharerecords::BodyWra
lication/json"); 
	$handler_instance->set_request($request); 
	$handler_instance->set_mandatory_checker(1); 
	return $handler_instance->api_call("sharerecords.ActionHandler", "application/json"); 
}

lication/json"); 
	$handler_instance->set_request($request); 
	$handler_instance->set_mandatory_checker(1); 
	return $handler_instance->api_call("sharerecords.ActionHandler", "application/json"); 
}


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