Group
Extension

Matches 35358

AsposeOmrCloud-OmrApi ( A/AS/ASPOSE/AsposeOmrCloud-OmrApi-v19.7.0.tar.gz, ASPOSE, 2019; MetaCPAN )
AsposeOmrCloud-OmrApi/lib/asposeomrcloud/Object/RecognitionStatistics.pm ( view source; MetaCPAN )
ject::RecognitionStatistics;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Da
turn perl hash
sub to_hash {
    return decode_json(JSON->new->convert_blessed->encode( shift ));
}

# used by JSON for serialization
sub TO_JSON { 
    my $self = shift;
    my $_data = {};
eserialize the data
    while ( my ($_key, $_type) = each %{$self->swagger_types} ) {
    	my $_json_attribute = $self->attribute_map->{$_key}; 
        if ($_type =~ /^hash\[(.*),(.*)\]$/i) { #has
AsposeOmrCloud-OmrApi ( A/AS/ASPOSE/AsposeOmrCloud-OmrApi-v19.7.0.tar.gz, ASPOSE, 2019; MetaCPAN )
AsposeOmrCloud-OmrApi/lib/asposeomrcloud/Object/ServerStat.pm ( view source; MetaCPAN )
mrcloud::Object::ServerStat;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Da
turn perl hash
sub to_hash {
    return decode_json(JSON->new->convert_blessed->encode( shift ));
}

# used by JSON for serialization
sub TO_JSON { 
    my $self = shift;
    my $_data = {};
eserialize the data
    while ( my ($_key, $_type) = each %{$self->swagger_types} ) {
    	my $_json_attribute = $self->attribute_map->{$_key}; 
        if ($_type =~ /^hash\[(.*),(.*)\]$/i) { #has
AsposeOmrCloud-OmrApi ( A/AS/ASPOSE/AsposeOmrCloud-OmrApi-v19.7.0.tar.gz, ASPOSE, 2019; MetaCPAN )
AsposeOmrCloud-OmrApi/lib/asposeomrcloud/Object/FileInfo.pm ( view source; MetaCPAN )
eomrcloud::Object::FileInfo;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Da
turn perl hash
sub to_hash {
    return decode_json(JSON->new->convert_blessed->encode( shift ));
}

# used by JSON for serialization
sub TO_JSON { 
    my $self = shift;
    my $_data = {};
eserialize the data
    while ( my ($_key, $_type) = each %{$self->swagger_types} ) {
    	my $_json_attribute = $self->attribute_map->{$_key}; 
        if ($_type =~ /^hash\[(.*),(.*)\]$/i) { #has
AsposeOmrCloud-OmrApi ( A/AS/ASPOSE/AsposeOmrCloud-OmrApi-v19.7.0.tar.gz, ASPOSE, 2019; MetaCPAN )
AsposeOmrCloud-OmrApi/lib/asposeomrcloud/Object/OmrResponseContent.pm ( view source; MetaCPAN )
:Object::OmrResponseContent;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Da
turn perl hash
sub to_hash {
    return decode_json(JSON->new->convert_blessed->encode( shift ));
}

# used by JSON for serialization
sub TO_JSON { 
    my $self = shift;
    my $_data = {};
eserialize the data
    while ( my ($_key, $_type) = each %{$self->swagger_types} ) {
    	my $_json_attribute = $self->attribute_map->{$_key}; 
        if ($_type =~ /^hash\[(.*),(.*)\]$/i) { #has
Dist-Zilla-Plugin-Rinci-AddToDb ( P/PE/PERLANCAR/Dist-Zilla-Plugin-Rinci-AddToDb-0.020.tar.gz, PERLANCAR, 2019; MetaCPAN )
Dist-Zilla-Plugin-Rinci-AddToDb/lib/Dist/Zilla/Plugin/Rinci/AddToDb.pm ( view source; MetaCPAN )
ean::JSON;
use Perinci::Sub::Normalize qw(normalize_function_metadata);

has dsn      => (is => 'rw');
has username => (is => 'rw');
has password => (is => 'rw');

my $cleanser = Data::Clean::JSON->ge
Paubox_Email_SDK ( V/VI/VIGHNESH/Paubox_Email_SDK-1.2.tar.gz, VIGHNESH, 2019; MetaCPAN )
Paubox_Email_SDK/lib/Paubox_Email_SDK/ApiHelper.pm ( view source; MetaCPAN )
                        
                  );

our $VERSION = '1.2';

use REST::Client;
use JSON;

#
# Default Constructor
#
sub new {
    my $this = {};
    bless $this;
    return $thi

    my $client = REST::Client -> new();

    $client -> addHeader('Content-Type', 'application/json');
    $client -> addHeader('Authorization', $authHeader);

    $client -> setHost($baseUrl);
> addHeader('Content-Type', 'application/json');
    $client -> addHeader('Authorization', $authHeader);
    $client -> addHeader('Accept', 'application/json');

    $client -> setHost($baseUrl);
AsposeOmrCloud-OmrApi ( A/AS/ASPOSE/AsposeOmrCloud-OmrApi-v19.7.0.tar.gz, ASPOSE, 2019; MetaCPAN )
AsposeOmrCloud-OmrApi/lib/asposeomrcloud/Role.pm ( view source; MetaCPAN )
get/swagger-codegen-cli.jar generate \
  -i [URL or file path to JSON swagger API spec] \
  -l perl \
  -c /path/to/config/file.json \
  -o /path/to/output/folder

Bang, all done. Run the C<auto
Struct-Path ( M/MI/MIXAS/Struct-Path-0.84.tar.gz, MIXAS, 2019; MetaCPAN )
Struct-Path/lib/Struct/Path.pm ( view source; MetaCPAN )

Struct::Path designed to be machine-friendly. See L<Struct::Path::PerlStyle>
and L<Struct::Path::JsonPointer> for human friendly path definition.

=head1 SUBROUTINES

=head2 implicit_step

    $bool 
ple> L<Data::Reach> L<Data::Spath> L<JSON::Path>
L<MarpaX::xPathLike> L<Sereal::Path> L<Data::Find>

L<Struct::Diff> L<Struct::Path::PerlStyle> L<Struct::Path::JsonPointer>

=head1 LICENSE AND COPYRIG
Job-Async ( T/TE/TEAM/Job-Async-0.004.tar.gz, TEAM, 2019; MetaCPAN )
Job-Async/lib/Job/Async/Job.pm ( view source; MetaCPAN )
esents a single job for L<Job::Async>

=head1 SYNOPSIS

=head1 DESCRIPTION

=cut

use Sereal;
use JSON::MaybeUTF8 qw(:v1);

use constant SEREAL_DEFAULT => 1;

my $sereal_encode = Sereal::Encoder->new;
      : SEREAL_DEFAULT
        ? ("sereal_$k" => $sereal_encode->encode($v))
        : ("json_$k" => encode_json_utf8($v))
}

sub flattened_data {
    my ($self, $data) = @_;
    $data //= $self->{dat
type, $k) = /^(json|text|sereal)_(.*)$/;
            $k => (
                $type eq 'text'
                ? $data->{$_}
                : $type eq 'json'
                ? decode_json_utf8($data->{
AsposeOmrCloud-OmrApi ( A/AS/ASPOSE/AsposeOmrCloud-OmrApi-v19.7.0.tar.gz, ASPOSE, 2019; MetaCPAN )
AsposeOmrCloud-OmrApi/lib/asposeomrcloud/ApiClient.pm ( view source; MetaCPAN )
hAccessTokenPending;
}

sub get_auth_header  {
    use HTTP::Request::Common;
    use JSON qw(decode_json);
    $self = shift;

    if ($self->{oauth_flow} != Obtained) {
        my $ua = LWP
   my $json = decode_json($response->content);
        $self->{access_token} = $json->{access_token};
        $self->{expires_in} = $json->{expires_in};
        $self->{refresh_token} = $json->{ref
resh_token};
        $self->{token_type} = $json->{token_type};

        #print "Obtained new token because of " . $self->{oauth_flow} . " : " . $self->{access_token} . "\n";
        $self->{oauth
Paubox_Email_SDK ( V/VI/VIGHNESH/Paubox_Email_SDK-1.2.tar.gz, VIGHNESH, 2019; MetaCPAN )
Paubox_Email_SDK/lib/Paubox_Email_SDK.pm ( view source; MetaCPAN )

our $VERSION = '1.2';

use Paubox_Email_SDK::ApiHelper;
use Paubox_Email_SDK::Message;

use JSON;
use Config::General;
use TryCatch;
use String::Util qw(trim);
use MIME::Base64;

my $apiKe
       } else {
                return "";
        }
    }          
}

sub _convertMsgObjtoJSONReqObj {
    
    my ($msg) = @_;    
    
    my %reqObject;    
    my $encodedHtmlContent 
ode_json (\%reqObject);    
}

#
# Public methods
#


#
# Get Email Disposition
#

sub getEmailDisposition {       
    my ($class,$sourceTrackingId) = @_;    
    my $apiResponseJSON = 
AsposeOmrCloud-OmrApi ( A/AS/ASPOSE/AsposeOmrCloud-OmrApi-v19.7.0.tar.gz, ASPOSE, 2019; MetaCPAN )
AsposeOmrCloud-OmrApi/lib/asposeomrcloud/Object/Payload.pm ( view source; MetaCPAN )
seomrcloud::Object::Payload;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Da
turn perl hash
sub to_hash {
    return decode_json(JSON->new->convert_blessed->encode( shift ));
}

# used by JSON for serialization
sub TO_JSON { 
    my $self = shift;
    my $_data = {};
eserialize the data
    while ( my ($_key, $_type) = each %{$self->swagger_types} ) {
    	my $_json_attribute = $self->attribute_map->{$_key}; 
        if ($_type =~ /^hash\[(.*),(.*)\]$/i) { #has
AsposeOmrCloud-OmrApi ( A/AS/ASPOSE/AsposeOmrCloud-OmrApi-v19.7.0.tar.gz, ASPOSE, 2019; MetaCPAN )
AsposeOmrCloud-OmrApi/lib/asposeomrcloud/OmrApi.pm ( view source; MetaCPAN )
ent-Type' header
    my $_header_accept = $self->{api_client}->select_header_accept('application/json');
    if ($_header_accept) {
        $header_params->{'Accept'} = $_header_accept;
    }
   
HubSpot-Client ( I/IG/IGIBBS/HubSpot-Client-0.1.tar.gz, IGIBBS, 2019; MetaCPAN )
HubSpot-Client/lib/HubSpot/JSONBackedObject.pm ( view source; MetaCPAN )
package HubSpot::JSONBackedObject;
our $VERSION = "0.1";
use open qw/:std :utf8/;	# tell perl that stdout, stdin and stderr is in utf8
use strict;

# Classes we need
use Data::Dumper;

# Make us a cla
),
{
	json => undef,
};

sub BUILD
{
	my ($self, $args) = @_;
	
	if(defined($args->{'json'}))
	{
		# Not actually JSON but a perl object derived from the JSON response
		$self->json($args->{'json'});
	}
	
	if(defined($self->json->{'properties'}))
	{	# If this object has a properties key (which probably most of them will)
		# pull it out as a hash that is a little easier to access
		$self->properti
HubSpot-Client ( I/IG/IGIBBS/HubSpot-Client-0.1.tar.gz, IGIBBS, 2019; MetaCPAN )
HubSpot-Client/lib/HubSpot/Deal.pm ( view source; MetaCPAN )
ke us a class
use Class::Tiny qw(json),
{
		# Default variables in here
};
use parent 'HubSpot::JSONBackedObject';

sub name
{
	my $self = shift;
	
	return $self->json->{'properties'}->{'dealname'}->{
'value'};
}

sub id
{
	my $self = shift;
	
	return $self->json->{'dealId'};
}

sub logMeeting()
{
	my $self = shift;
	my $content = shift;
	my $time = shift;
}
	
1;
HubSpot-Client ( I/IG/IGIBBS/HubSpot-Client-0.1.tar.gz, IGIBBS, 2019; MetaCPAN )
HubSpot-Client/lib/HubSpot/Contact.pm ( view source; MetaCPAN )
pot::Client when it you execute methods that return contact objects. It is created from a blob of JSON taken from the HubSpot API, and so goes stale immediately.

=head1 METHODS

=cut

# Make us a cla
e
};
use parent 'HubSpot::JSONBackedObject';

sub BUILD
{
	my $self = shift;
	
	if($self->json)
	{
		$self->{'id'} = $self->json->{'vid'};
		$self->{'firstName'} = $self->json->{'properties'}->{'first
json->{'properties'}->{'lastname'}->{'value'};
		$self->{'company'} = $self->json->{'properties'}->{'company'}->{'value'};
		$self->{'lastModifiedDateTime'} = DateTime->from_epoch(epoch => $self->json
eris ( B/BL/BLHOTSKY/eris-0.008.tar.gz, BLHOTSKY, 2019; MetaCPAN )
eris/lib/eris/log/context/attacks/url.pm ( view source; MetaCPAN )
kage eris::log::context::attacks::url;
# ABSTRACT: Inspects URL's for common attack patterns

use JSON::MaybeXS;
use Const::Fast;
use Moo;

use namespace::autoclean;
with qw(
    eris::role::context
)
d_matcher { qr/(?:_ur[li]$)|(?:^resource$)/ }


sub sample_messages {
    my @msgs = map { encode_json($_) } (
        { resource => "https://www.example.com/?t='%20OR%201=1;--" },
        { resource 
Bread-Board ( Y/YA/YANICK/Bread-Board-0.37.tar.gz, YANICK, 2019; MetaCPAN )
Bread-Board/lib/Bread/Board/Manual/Concepts.pod ( view source; MetaCPAN )
contrived
example using the L<JSON> module.

  $c->add_service(
      Bread::Board::SetterInjection->new(
          name         => 'json',
          class        => 'JSON',
          dependencies => 
ethod's argument. In this case, the above is the
equivalent of doing:

   my $json = JSON->new;
   $json->utf8(1);
   $json->pretty(1);

You might have been wondering about the fact we didn't specify
GeoIP2 ( M/MA/MAXMIND/GeoIP2-2.006002.tar.gz, MAXMIND, 2019; MetaCPAN )
GeoIP2/lib/GeoIP2/WebService/Client.pm ( view source; MetaCPAN )
del::Insights;
use GeoIP2::Types
    qw( JSONObject MaxMindID MaxMindLicenseKey Str URIObject UserAgentObject );
use HTTP::Headers;
use HTTP::Request;
use JSON::MaybeXS;
use MIME::Base64 qw( encode_ba
   builder => '_build_base_uri',
);

has _json => (
    is       => 'ro',
    isa      => JSONObject,
    init_arg => undef,
    default  => quote_sub(q{ JSON::MaybeXS->new(utf8 => 1) }),
);

around B
est = HTTP::Request->new(
        'GET', $uri,
        HTTP::Headers->new( Accept => 'application/json' ),
    );

    $request->authorization_basic(
        $self->account_id(),
        $self->licens
MaxMind-DB-Reader ( M/MA/MAXMIND/MaxMind-DB-Reader-1.000014.tar.gz, MAXMIND, 2019; MetaCPAN )
MaxMind-DB-Reader/maxmind-db/test-data/write-test-data.pl ( view source; MetaCPAN )
::Basename qw( dirname );
use File::Slurper qw( read_binary write_binary );
use Cpanel::JSON::XS qw( decode_json );
use Math::Int128 qw( MAX_UINT128 string_to_uint128 uint128 );
use MaxMind::DB::Write
tworks_with_data;

    my $value = shift;
    my $nodes
        = decode_json( read_binary("$Dir/../source-data/$type-Test.json") );

    for my $node (@$nodes) {
        for my $network ( keys %$node

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