Group
Extension

Matches 35358

Smartcat-Client ( T/TA/TARAS/Smartcat-Client-0.0.3.tar.gz, TARAS, 2021; MetaCPAN )
Smartcat-Client/lib/Smartcat/Client/Object/TranslationMemoryForProjectModel.pm ( view source; MetaCPAN )
:TranslationMemoryForProjectModel;

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 Date::
# return 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 = {};
    f
alize the data
    while ( my ( $_key, $_type ) = each %{ $self->swagger_types } ) {
        my $_json_attribute = $self->attribute_map->{$_key};
        if ( $_type =~ /^array\[/i ) {    # array
    
Smartcat-Client ( T/TA/TARAS/Smartcat-Client-0.0.3.tar.gz, TARAS, 2021; MetaCPAN )
Smartcat-Client/lib/Smartcat/Client/Object/SegmentWithMatchesModel.pm ( view source; MetaCPAN )
::Object::SegmentWithMatchesModel;

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 Date::
# return 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 = {};
    f
alize the data
    while ( my ( $_key, $_type ) = each %{ $self->swagger_types } ) {
        my $_json_attribute = $self->attribute_map->{$_key};
        if ( $_type =~ /^array\[/i ) {    # array
    
Smartcat-Client ( T/TA/TARAS/Smartcat-Client-0.0.3.tar.gz, TARAS, 2021; MetaCPAN )
Smartcat-Client/lib/Smartcat/Client/Object/ExportDocumentTaskModel.pm ( view source; MetaCPAN )
::Object::ExportDocumentTaskModel;

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 Date::
# return 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 = {};
    f
alize the data
    while ( my ( $_key, $_type ) = each %{ $self->swagger_types } ) {
        my $_json_attribute = $self->attribute_map->{$_key};
        if ( $_type =~ /^array\[/i ) {    # array
    
Smartcat-Client ( T/TA/TARAS/Smartcat-Client-0.0.3.tar.gz, TARAS, 2021; MetaCPAN )
Smartcat-Client/lib/Smartcat/Client/Object/MyTeamSearchRequestModel.pm ( view source; MetaCPAN )
:Object::MyTeamSearchRequestModel;

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 Date::
# return 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 = {};
    f
alize the data
    while ( my ( $_key, $_type ) = each %{ $self->swagger_types } ) {
        my $_json_attribute = $self->attribute_map->{$_key};
        if ( $_type =~ /^array\[/i ) {    # array
    
Mojo-WebService-Twitter ( D/DB/DBOOK/Mojo-WebService-Twitter-1.003.tar.gz, DBOOK, 2021; MetaCPAN )
Mojo-WebService-Twitter/lib/Mojo/WebService/Twitter/Error.pm ( view source; MetaCPAN )
->connection_error($err->{message}) unless defined $err->{code};
	return $self->api_errors(($res->json // {})->{errors} // []);
}

sub to_string {
	my $self = shift;
	if (defined(my $err = $self->conn
Mojo-Phantom ( J/JB/JBERGER/Mojo-Phantom-0.12.tar.gz, JBERGER, 2021; MetaCPAN )
Mojo-Phantom/lib/Mojo/Phantom.pm ( view source; MetaCPAN )
RSION = '0.12';
$VERSION = eval $VERSION;

use Mojo::Phantom::Process;

use Mojo::File;
use Mojo::JSON;
use Mojo::Template;
use Mojo::URL;
use JavaScript::Value::Escape;

use constant DEBUG => $ENV{MO
uire('system');
    var args = Array.prototype.slice.call(arguments);
    system.stdout.writeLine(JSON.stringify(args));
    system.stdout.writeLine('<%== $self->sep %>');
    system.stdout.flush();
 
= $bytes;
    while ($buffer =~ s/^(.*)\n$sep\n//) {
      my ($function, @args) = @{ Mojo::JSON::decode_json $1 };
      local *CORE::die  = sub { die  @_ } unless CAN_CORE_DIE;
      local *CORE::wa
Mojo-Phantom ( J/JB/JBERGER/Mojo-Phantom-0.12.tar.gz, JBERGER, 2021; MetaCPAN )
Mojo-Phantom/lib/Test/Mojo/Role/Phantom.pm ( view source; MetaCPAN )
l function and arguments for that function.
The function name and the arguments are serialized as JSON and then executed on the perl side.

If the function dies (or is L<CORE::die>), the test fails.

Mojo-IOLoop-ForkCall ( J/JB/JBERGER/Mojo-IOLoop-ForkCall-0.21.tar.gz, JBERGER, 2021; MetaCPAN )
Mojo-IOLoop-ForkCall/lib/Mojolicious/Plugin/ForkCall.pm ( view source; MetaCPAN )
ow_stuff(@args);
     },
     [@args],
     sub {
       my ($c, @return) = @_;
       $c->render(json => \@return);
     }
   );
 };

 ...

 app->start;

=head1 DESCRIPTION

DEPRECATED!
The main modu
Smartcat-Client ( T/TA/TARAS/Smartcat-Client-0.0.3.tar.gz, TARAS, 2021; MetaCPAN )
Smartcat-Client/lib/Smartcat/Client/Object/PlaceholderFormatModel.pm ( view source; MetaCPAN )
t::Object::PlaceholderFormatModel;

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 Date::
# return 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 = {};
    f
alize the data
    while ( my ( $_key, $_type ) = each %{ $self->swagger_types } ) {
        my $_json_attribute = $self->attribute_map->{$_key};
        if ( $_type =~ /^array\[/i ) {    # array
    
Smartcat-Client ( T/TA/TARAS/Smartcat-Client-0.0.3.tar.gz, TARAS, 2021; MetaCPAN )
Smartcat-Client/lib/Smartcat/Client/Object/ServiceModel.pm ( view source; MetaCPAN )
cat::Client::Object::ServiceModel;

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 Date::
# return 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 = {};
    f
alize the data
    while ( my ( $_key, $_type ) = each %{ $self->swagger_types } ) {
        my $_json_attribute = $self->attribute_map->{$_key};
        if ( $_type =~ /^array\[/i ) {    # array
    
GuacLite ( J/JB/JBERGER/GuacLite-0.02.tar.gz, JBERGER, 2021; MetaCPAN )
GuacLite/lib/GuacLite/Client/Web.pm ( view source; MetaCPAN )
package GuacLite::Client::Web;

use Mojo::Base 'Mojolicious';

use Mojo::File;
use Mojo::JSON;
use Mojo::URL;

use GuacLite::Client::Guacd;

use File::ShareDir;

has dist_dir => sub {
  my $cpanfile =
l)->name('tunnel');
}

sub _tunnel {
  my $c = shift;

  my $json = $c->req->params->pairs->[0];
  my $params = Mojo::JSON::from_json($json);
  my $target = Mojo::URL->new($params->{target});

  my $c
Webservice-Shipment ( J/JB/JBERGER/Webservice-Shipment-0.06.tar.gz, JBERGER, 2021; MetaCPAN )
Webservice-Shipment/lib/Webservice/Shipment/Carrier/FedEx.pm ( view source; MetaCPAN )
nstant DEBUG =>  $ENV{MOJO_SHIPMENT_DEBUG};

use Mojo::IOLoop;
use Mojo::IOLoop::Delay;
use Mojo::JSON;
use Mojo::URL;
use Time::Piece;

has api_url => sub { Mojo::URL->new('https://www.fedex.com/trac
pt => 'application/json'},
    form => {
      action => 'trackpackages',
      locale => 'en_US',
      version => '1',
      format => 'json',
      data => Mojo::JSON::encode_json({
        TrackPa
 my $json = _handle_response($tx);
      $self->$cb(undef, $json);
    },
  )->catch(sub { $self->$cb(pop, undef) })->wait;
}

sub _handle_response {
  my $tx = shift;
  my $json = $tx->res->json;
  w
Smartcat-Client ( T/TA/TARAS/Smartcat-Client-0.0.3.tar.gz, TARAS, 2021; MetaCPAN )
Smartcat-Client/lib/Smartcat/Client/Object/ModelWithFilesCreateProjectModel.pm ( view source; MetaCPAN )
:ModelWithFilesCreateProjectModel;

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 Date::
# return 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 = {};
    f
alize the data
    while ( my ( $_key, $_type ) = each %{ $self->swagger_types } ) {
        my $_json_attribute = $self->attribute_map->{$_key};
        if ( $_type =~ /^array\[/i ) {    # array
    
Smartcat-Client ( T/TA/TARAS/Smartcat-Client-0.0.3.tar.gz, TARAS, 2021; MetaCPAN )
Smartcat-Client/lib/Smartcat/Client/Object/ModelWithFilesUploadDocumentPropertiesModel.pm ( view source; MetaCPAN )
ilesUploadDocumentPropertiesModel;

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 Date::
# return 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 = {};
    f
alize the data
    while ( my ( $_key, $_type ) = each %{ $self->swagger_types } ) {
        my $_json_attribute = $self->attribute_map->{$_key};
        if ( $_type =~ /^array\[/i ) {    # array
    
Smartcat-Client ( T/TA/TARAS/Smartcat-Client-0.0.3.tar.gz, TARAS, 2021; MetaCPAN )
Smartcat-Client/lib/Smartcat/Client/Object/LspServiceModel.pm ( view source; MetaCPAN )
::Client::Object::LspServiceModel;

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 Date::
# return 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 = {};
    f
alize the data
    while ( my ( $_key, $_type ) = each %{ $self->swagger_types } ) {
        my $_json_attribute = $self->attribute_map->{$_key};
        if ( $_type =~ /^array\[/i ) {    # array
    
Mojo-WebService-Twitter ( D/DB/DBOOK/Mojo-WebService-Twitter-1.003.tar.gz, DBOOK, 2021; MetaCPAN )
Mojo-WebService-Twitter/lib/Mojo/WebService/Twitter.pm ( view source; MetaCPAN )
->req);
	return $tx;
}

sub _from_request_oauth2 {
	my ($self, $tx) = @_;
	my $params = $tx->res->json // {};
	return undef unless defined $params->{access_token};
	return $params;
}

sub get_tweet {
b(undef, _tweet_object($tx->res->json));
		});
	} else {
		$tx = $self->ua->start($tx);
		die twitter_tx_error($tx) if $tx->error;
		return _tweet_object($tx->res->json);
	}
}

sub get_tweet_p {
	my $
ub {
		my ($tx) = @_;
		die twitter_tx_error($tx) if $tx->error;
		return _tweet_object($tx->res->json);
	}, sub { die Mojo::WebService::Twitter::Error->new(connection_error => $_[0]) });
}

sub _buil
WebService-Fake ( P/PO/POLETTIX/WebService-Fake-0.006.tar.gz, POLETTIX, 2021; MetaCPAN )
WebService-Fake/lib/WebService/Fake.pm ( view source; MetaCPAN )
# Ensure there will be a Content-Type
   $hef{'Content-Type'} //=
     [sub { return 'application/json' }];

   return sub {
      my ($variables) = @_;
      return {
         map {
            $_ =>
Regexp-Common-Apache2 ( J/JD/JDEGUEST/Regexp-Common-Apache2-v0.2.1.tar.gz, JDEGUEST, 2021; MetaCPAN )
Regexp-Common-Apache2/lib/Regexp/Common/Apache2.pm ( view source; MetaCPAN )
$) { !$_[0] && UNIVERSAL::isa( $_[0], Regexp::Common::Apache2::Boolean ) }

    sub TO_JSON
    {
        ## JSON does not check that the value is a proper true or false. It stupidly assumes this is a
Smartcat-Client ( T/TA/TARAS/Smartcat-Client-0.0.3.tar.gz, TARAS, 2021; MetaCPAN )
Smartcat-Client/lib/Smartcat/Client/Object/DocumentStatisticsModel.pm ( view source; MetaCPAN )
::Object::DocumentStatisticsModel;

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 Date::
# return 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 = {};
    f
alize the data
    while ( my ( $_key, $_type ) = each %{ $self->swagger_types } ) {
        my $_json_attribute = $self->attribute_map->{$_key};
        if ( $_type =~ /^array\[/i ) {    # array
    
WebService-Rollbar-Notifier ( Z/ZO/ZOFFIX/WebService-Rollbar-Notifier-1.002010.tar.gz, ZOFFIX, 2021; MetaCPAN )
WebService-Rollbar-Notifier/lib/WebService/Rollbar/Notifier.pm ( view source; MetaCPAN )
rint uuid title/
    );

    my $response = $self->_ua->post(
        $API_URL . 'item/',
        json => {
            access_token => $self->access_token,
            data => {
                envir
 be
    # the response JSON

    use Data::Dumper;;
    $roll->callback(undef);
    my $response = $roll->notify('debug', "Message to send");
    say Dumper( $response->res->json );

Takes two mandato
to       => [qw/send goes here/],
    });

B<Optional>. Takes a hashref that will be converted to JSON and
sent along with the notification's message.

=head2 C<< ->critical() >>

=for html  <img alt=

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