Group
Extension

Matches 35358

Data-DynamicValidator ( D/DM/DMOL/Data-DynamicValidator-0.05.tar.gz, DMOL, 2017; MetaCPAN )
Data-DynamicValidator/lib/Data/DynamicValidator.pm ( view source; MetaCPAN )
e port should be defined at "ports" section',
 );

The C<on> parameter defines the data path, via JSON-pointer like expression;
the C<should> parameter provides the closure, which will check the value
Pinto ( T/TH/THALJEF/Pinto-0.14.tar.gz, THALJEF, 2017; MetaCPAN )
Pinto/lib/Pinto/Schema/Result/Stack.pm ( view source; MetaCPAN )
MooseX::Types::Moose qw(Bool Str Undef);

use String::Format;
use File::Copy ();
use JSON qw(encode_json decode_json);

use Pinto::Util qw(:all);
use Pinto::Types qw(Dir File Version);

use version;
u
inflate_column(
    'properties' => {
        inflate => sub { decode_json( $_[0] || '{}' ) },
        deflate => sub { encode_json( $_[0] || {} ) }
    }
);

#----------------------------------------
Pinto ( T/TH/THALJEF/Pinto-0.14.tar.gz, THALJEF, 2017; MetaCPAN )
Pinto/lib/Pinto/Remote/Action/Add.pm ( view source; MetaCPAN )
ackage Pinto::Remote::Action::Add;

use Moose;
use MooseX::MarkAsMethods ( autoclean => 1 );

use JSON;

use Pinto::Util qw(throw);

#------------------------------------------------------------------
WebService-BR-AceitaFacil ( D/DL/DLIMA/WebService-BR-AceitaFacil-0.01.tar.gz, DLIMA, 2017; MetaCPAN )
WebService-BR-AceitaFacil/lib/WebService/BR/AceitaFacil.pm ( view source; MetaCPAN )
package WebService::BR::AceitaFacil;

use strict;
use MIME::Base64;
use JSON::XS;
use utf8;

# Configura as URLs de destino baseado na tag raiz
$WebService::BR::AceitaFacil::Target = {
 sandbox => {
 
ss->{ua}->env_proxy;

 # JSON helper
 $class->{json} = JSON::XS->new->allow_nonref->utf8;


 bless( $class, $self );
}


sub ua      { shift->{ua} }
sub json    { shift->{json} }
sub app     { shift->
s dados (será convertido em JSON string).
# @param $Endpoint    Tipo da Requisição (equivalente à tag raiz, exemplo: "requisicao-transacao")
#        $Params      JSON string a enviar com os dados
Centrifugo-Client ( B/BC/BCHAUVET/Centrifugo-Client-1.05.tar.gz, BCHAUVET, 2017; MetaCPAN )
Centrifugo-Client/lib/Centrifugo/Client.pm ( view source; MetaCPAN )
se. See https://github.com/plicease/AnyEvent-WebSocket-Client/issues/30
use AnyEvent::HTTP;
use JSON;

=head1 NAME

Centrifugo::Client

=head1 SYNOPSIS

 use Centrifugo::Client;
 use AnyEve
infoRef->{version};		
	}) -> on('message', sub{
		my ($infoRef)=@_;
		print "MESSAGE: ".encode_json $infoRef->{data};

	}) -> connect(
		user => $USER_ID,
		timestamp => $TIMESTAMP,
		token =>
my ($this, $body) = @_;
	$this->_debug( "Centrifugo::Client : Connected to Centrifugo : ".encode_json $body );	
	# on Connect, the client_id must be read (if available)
	if ($body && ref($body) eq 
Pinto ( T/TH/THALJEF/Pinto-0.14.tar.gz, THALJEF, 2017; MetaCPAN )
Pinto/lib/Pinto/Schema/Result/Distribution.pm ( view source; MetaCPAN )
-----

__PACKAGE__->inflate_column(
    'metadata' => {
        inflate => sub { CPAN::Meta->load_json_string( $_[0] ) },
        deflate => sub { $_[0]->as_string( { version => "2" } ) }
    }
);

#-
Pinto ( T/TH/THALJEF/Pinto-0.14.tar.gz, THALJEF, 2017; MetaCPAN )
Pinto/lib/Pinto/Server/Responder/Action.pm ( view source; MetaCPAN )
sponder for action requests

package Pinto::Server::Responder::Action;

use Moose;

use Carp;
use JSON;
use IO::Pipe;
use IO::Select;
use Try::Tiny;
use File::Temp;
use File::Copy;
use Proc::Fork;
use
ams{chrome} ? decode_json( $params{chrome} ) : {};
    my $pinto_args  = $params{pinto}  ? decode_json( $params{pinto} )  : {};
    my $action_args = $params{action} ? decode_json( $params{action} ) :
Pinto ( T/TH/THALJEF/Pinto-0.14.tar.gz, THALJEF, 2017; MetaCPAN )
Pinto/lib/Pinto/Remote/Action.pm ( view source; MetaCPAN )
e MooseX::MarkAsMethods ( autoclean => 1 );
use MooseX::Types::Moose qw(Str Maybe);

use URI;
use JSON;
use HTTP::Request::Common;

use Pinto::Result;
use Pinto::Constants qw(:protocol);
use Pinto::Ut
->chrome->palette,
        quiet    => $self->chrome->quiet
    };

    return ( chrome => encode_json($chrome_args) );

}

#---------------------------------------------------------------------------
$self->username,
        time_offset => current_time_offset,
    };

    return ( pinto => encode_json($pinto_args) );
}

#-----------------------------------------------------------------------------
Pinto ( T/TH/THALJEF/Pinto-0.14.tar.gz, THALJEF, 2017; MetaCPAN )
Pinto/lib/Pinto/Locator/Stratopan.pm ( view source; MetaCPAN )
use MooseX::StrictConstructor;
use MooseX::MarkAsMethods ( autoclean => 1 );

use URI;
use JSON qw(decode_json);
use HTTP::Request::Common qw(GET);

use Pinto::Util qw(whine);
use Pinto::Constants qw(
_line;
		whine "Stratopan is not responding: $status";
		return;
	}

	my $structs = eval { decode_json($response->content) };
	whine "Invalid response from Stratopan: $@" and return if $@;

	return un
PGObject-Util-Replication-Slot ( E/EI/EINHVERFR/PGObject-Util-Replication-Slot-0.020000.tar.gz, EINHVERFR, 2017; MetaCPAN )
PGObject-Util-Replication-Slot/lib/PGObject/Util/Replication/Slot.pm ( view source; MetaCPAN )
cal

=head2 active

boolean

=head2 restart_lsn

Last log serial number sent

=head2 full_data

A json object of the whole pg_replication_slots entry.  You can use this to 
get data not supported by b
 through normal means.

=cut

my $query = 
"
SELECT slot_name, slot_type, active, restart_lsn, to_jsonb(s) as full_data, 
       now() as querytime, CASE WHEN pg_is_in_recovery() 
                    
AI-PredictionClient ( S/ST/STALL/AI-PredictionClient-0.05.tar.gz, STALL, 2017; MetaCPAN )
AI-PredictionClient/lib/AI/PredictionClient.pm ( view source; MetaCPAN )
ting/exporting the tensors in/out of a math package.   

The design takes advantage of the native JSON serialization capabilities built into the C++ Protocol Buffers. 
Serialization allows a much simp
AI-PredictionClient ( S/ST/STALL/AI-PredictionClient-0.05.tar.gz, STALL, 2017; MetaCPAN )
AI-PredictionClient/lib/AI/PredictionClient/Roles/PredictionRole.pm ( view source; MetaCPAN )
dictionClient::CPP::PredictionGrpcCpp;
use AI::PredictionClient::Testing::PredictionLoopback;
use JSON ();
use Data::Dumper;
use MIME::Base64 qw( encode_base64 decode_base64 );
use Moo::Role;

has hos
 my $json = JSON->new;

  my $request_json = $json->encode($self->request_ds);
  printf("Debug - JSON Request: %s \n", Dumper(\$request_json))
    if $self->debug_verbose;

  return $request_json;
}

eturn = shift;

  printf("Debug - JSON Response: %s \n", Dumper(\$serialized_return))
    if $self->debug_verbose;

  my $json = JSON->new;

  my $returned_ds = $json->decode(
    ref($serialized_retu
AI-PredictionClient ( S/ST/STALL/AI-PredictionClient-0.05.tar.gz, STALL, 2017; MetaCPAN )
AI-PredictionClient/lib/AI/PredictionClient/Docs/Overview.pod ( view source; MetaCPAN )
ting/exporting the tensors in/out of a math package.   

The design takes advantage of the native JSON serialization capabilities built into the C++ Protocol Buffers. 
Serialization allows a much simp
AI-PredictionClient ( S/ST/STALL/AI-PredictionClient-0.05.tar.gz, STALL, 2017; MetaCPAN )
AI-PredictionClient/lib/AI/PredictionClient/CPP/PredictionGrpcCpp.pm ( view source; MetaCPAN )
m>
#include <memory>
#include <string>

#include <grpc++/grpc++.h>
#include <google/protobuf/util/json_util.h>

#include "tensorflow_serving/apis/prediction_service.grpc.pb.h"
#include "tds/base64.pb.
util::JsonPrintOptions jprint_options;
  google::protobuf::util::JsonParseOptions jparse_options;

  google::protobuf::util::Status request_serialized_status =
      google::protobuf::util::JsonString
ogle::protobuf::util::Status response_serialize_status =
        google::protobuf::util::MessageToJsonString(
            response, &serialized_result_object, jprint_options);

    if (!response_seria
MooseX-Storage-IO-AmazonDynamoDB ( S/SC/SCALDWELL/MooseX-Storage-IO-AmazonDynamoDB-0.08.tar.gz, SCALDWELL, 2017; MetaCPAN )
MooseX-Storage-IO-AmazonDynamoDB/lib/MooseX/Storage/IO/AmazonDynamoDB.pm ( view source; MetaCPAN )
torage::IO::AmazonDynamoDB;

use strict;
use 5.014;
our $VERSION = '0.08';

use Data::Dumper;
use JSON::MaybeXS;
use MooseX::Role::Parameterized;
use MooseX::Storage;
use PawsX::DynamoDB::DocumentClie
ze JSON values
        foreach my $key (keys %$packed) {
            my $value = $packed->{$key};
            if ($value && $value =~ /^\$json\$v(\d+)\$:(.+)$/) {
                my ($version, $json) 
= ($1, $2);
                state $coder = JSON::MaybeXS->new(
                    utf8         => 1,
                    canonical    => 1,
                    allow_nonref => 1,
                );
 
Physics-Ballistics ( T/TT/TTKCIAR/Physics-Ballistics-1.03.tar.gz, TTKCIAR, 2017; MetaCPAN )
Physics-Ballistics/bin/harness.pl ( view source; MetaCPAN )
 be nothing more than a light wrapper around Physics::Ballistics.

use strict;
use warnings;

use JSON;
use File::Slurp;
use IPC::Open3;
use lib "/home/ttk/modules";
use lib "./lib";  # For running fr
 my $got_errors = 0;
    while(defined(my $js = <STDIN>)) {
      chomp($js);
      my $hr = JSON::from_json($js);
      $self->reset_the_blanks();
      $self->{cartridge_name}     = $hr->{cartridge_
in_achtung();
    die(join("\n",($filenames_ar, @errs))) unless ($ok eq 'OK');
  }

  # print JSON::to_json({filenames_ar => $filenames_ar})."\n";
  print join("\n",@{$filenames_ar})."\n" if (defined(
WebService-Freshservice ( T/TE/TECHMAN/WebService-Freshservice-0.004.tar.gz, TECHMAN, 2017; MetaCPAN )
WebService-Freshservice/lib/WebService/Freshservice/Agent.pm ( view source; MetaCPAN )
);

# Updateable Fields

method _build__raw {
  return $self->api->get_api( "agents/".$self->id.".json" );
}

method _build_user {
  # Grab our calling method by dropping 'WebService::Freshservice::Us
WebService-Freshservice ( T/TE/TECHMAN/WebService-Freshservice-0.004.tar.gz, TECHMAN, 2017; MetaCPAN )
WebService-Freshservice/lib/WebService/Freshservice.pm ( view source; MetaCPAN )
 "query=phone is $phone";
  }
  my $endpoint = $caller eq 'requesters' ? "itil/requesters.json" : "agents.json";
  $endpoint .= $query unless $query eq "?";
  $endpoint .= $query eq "?" ? "?state=$sta
er}{timezone}     = $timezone if $timezone;
 
  my $data = $self->_api->post_api("itil/requesters.json",$content);
  return WebService::Freshservice::User->new( api => $self->_api, _raw => $data, id =
WebService-Freshservice ( T/TE/TECHMAN/WebService-Freshservice-0.004.tar.gz, TECHMAN, 2017; MetaCPAN )
WebService-Freshservice/lib/WebService/Freshservice/User.pm ( view source; MetaCPAN )
;
use Method::Signatures 20140224;
use List::MoreUtils qw(any);
use Carp qw( croak );
use JSON qw( encode_json );
use WebService::Freshservice::User::CustomField;
use Moo;
use MooX::HandlesVia;
use na
learer => 1 );

method _build__raw {
  return $self->api->get_api( "itil/requesters/".$self->id.".json" );
}

method _build_user {
  # Grab our calling method by dropping 'WebService::Freshservice::Us
rn;
}


method delete_requester {
  return $self->api->delete_api( "itil/requesters/".$self->id.".json" );
}


method update_requester(:$attr?, :$value?) {
  if ( $attr ) {
    croak "'value' required
WebService-Freshservice ( T/TE/TECHMAN/WebService-Freshservice-0.004.tar.gz, TECHMAN, 2017; MetaCPAN )
WebService-Freshservice/lib/WebService/Freshservice/API.pm ( view source; MetaCPAN )
vice::API;

use v5.010;
use strict;
use warnings;
use Method::Signatures 20140224;
use JSON qw( from_json to_json );
use MIME::Base64 qw( encode_base64 );
use Try::Tiny;
use Carp qw( croak );
use LWP:
imeout(60);
  $ua->env_proxy;
  $ua->default_headers->push_header( 'Content-Type' => "application/json" );

  # The Freshservice api isn't standards complaint as far as auth goes. It returns 200 OK
  
ss $result->is_success;
 
  my $data;
  try {
    $data = from_json($result->decoded_content);
  } catch {
    croak("Failed to parse json $_");
  };
  return $data;
}


method post_api ($endpoint,$co

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