Group
Extension

Matches 35358

File-Hotfolder ( V/VO/VOJ/File-Hotfolder-0.06.tar.gz, VOJ, 2018; MetaCPAN )
File-Hotfolder/lib/File/Hotfolder.pm ( view source; MetaCPAN )
ete   => 1,                  # delete each file if callback returns true
        filter   => qr/\.json$/,        # only watch selected files
        print    => WATCH_DIR           # show which direct
DR-Tnt ( U/UN/UNERA/DR-Tnt-0.24.tar.gz, UNERA, 2018; MetaCPAN )
DR-Tnt/lib/DR/Tnt/Msgpack/Types/Int.pm ( view source; MetaCPAN )
ack 'Cl>',  0xD2, $v            if $v <= 0x7FFF_FFFF;
    return pack 'Cq>',  0xD3, $v;
}

sub TO_JSON {
    my ($self) = @_;
    return undef unless defined $$self;
    return int $$self;
}


=head1 
TT2-Play-Area ( N/NE/NEWELLC/TT2-Play-Area-0.002.tar.gz, NEWELLC, 2018; MetaCPAN )
TT2-Play-Area/lib/TT2/Play/Area.pm ( view source; MetaCPAN )
imple site to allow playing with TT2 syntax and built in plugins.


use strictures 2;
use Cpanel::JSON::XS;
use Dancer2;
use File::ShareDir 'module_dir';
use Path::Tiny;
use Template;
use Template::Al
= query_parameters->get_all('engine');
    eval { $vars = decode_json( body_parameters->{vars} ); };
    if ($@) {
        send_as JSON =>
          { result => { 'Error' => 'Failed to parse variables
> 'html' } );
        }
        $engine_output{ $engines{$engine} } = $output;
    }

    send_as JSON => { result => \%engine_output, };
};

get '/example/:name' => sub {
    my $name = route_paramet
Net-WAMP ( F/FE/FELIPE/Net-WAMP-0.03.tar.gz, FELIPE, 2018; MetaCPAN )
Net-WAMP/lib/Net/WAMP/RawSocket/Constants.pm ( view source; MetaCPAN )
LENGTH => 2**23,  #8 MiB

    SERIALIZERS => [
        undef,
        'json',
        'msgpack',
        'cbor',
        #'ubjson',
    ],

    HANDSHAKE_ERR_1 => 'serializer unsupported',
    HANDSHA
DR-Tnt ( U/UN/UNERA/DR-Tnt-0.24.tar.gz, UNERA, 2018; MetaCPAN )
DR-Tnt/lib/DR/Tnt/Msgpack.pm ( view source; MetaCPAN )
l = ($v);
            if ($v->can('TO_JSON')) {
                push @l => $v->TO_JSON;
            }
            
            for (@l) {
                if ('JSON::XS::Boolean' eq ref $_) {
         
       if ('JSON::PP::Boolean' eq ref $_) {
                    return pack 'C', 0xC3 if $_;
                    return pack 'C', 0xC2;
                }
            }
            # TO_JSON return pur
Types-Bool ( F/FE/FERREIRA/Types-Bool-2.98012.tar.gz, FERREIRA, 2018; MetaCPAN )
Types-Bool/lib/Types/Bool.pm ( view source; MetaCPAN )
 reasons, alias *Types::Bool::Impl with JSON::PP::Boolean
    *Types::Bool::Impl:: = *JSON::PP::Boolean::;

    # JSON/PP/Boolean.pm is redundant
    $INC{'JSON/PP/Boolean.pm'} ||= __FILE__
      unle
Mojo-Redis2 ( D/DB/DBOOK/Mojo-Redis2-0.32.tar.gz, DBOOK, 2018; MetaCPAN )
Mojo-Redis2/lib/Mojo/Redis2/Bulk.pm ( view source; MetaCPAN )
>execute($delay->begin);
    },
    sub {
      my ($delay, $err, $res) = @_;
      $self->render(json => {
        err => $err->compact->join('. '),
        res => $res,
      });
    },
  );

In bot
Types-Bool ( F/FE/FERREIRA/Types-Bool-2.98012.tar.gz, FERREIRA, 2018; MetaCPAN )
Types-Bool/maint/gen-tests.pl ( view source; MetaCPAN )
\nplan skip_all => "$m needed for this test" if \$@;};
}

for my $m (qw(Types::Serialiser JSON::PP Cpanel::JSON::XS)) {
    for (qw(t/02-basic.t t/03-is-bool.t t/04-to-bool.t)) {
        my $t = file(
Yandex-Geo ( P/PA/PAVELSR/Yandex-Geo-0.07.tar.gz, PAVELSR, 2018; MetaCPAN )
Yandex-Geo/lib/Yandex/Geo/Company.pm ( view source; MetaCPAN )
 qw{ id name shortName phones postalCode address url vk instagram links longitude latitude };
use JSON::XS;


sub properties {

    # my $self = shift;
    return {
        # set => [ sort keys $self 

        array => [qw/phones links/]    # real properties in capital case
    };
}


sub from_geo_json {
    my $feature_collection = shift;

    my @result;

    for my $f ( @{ $feature_collection->f
result, $company_obj;

    }

    return \@result;

}


sub from_json {
    my $json_str = shift;

    my $res      = decode_json $json_str;
    my $features = @{ $res->{features} };

    my @result;
Mojo-Redis2 ( D/DB/DBOOK/Mojo-Redis2-0.32.tar.gz, DBOOK, 2018; MetaCPAN )
Mojo-Redis2/lib/Mojo/Redis2.pm ( view source; MetaCPAN )
    $c->redis->get('some:message', sub {
      my ($redis, $err, $message) = @_;
      $c->render(json => { error => $err, message => $message });
      undef $tx;
    });
  };

  app->start;

=head2 
Yandex-Geo ( P/PA/PAVELSR/Yandex-Geo-0.07.tar.gz, PAVELSR, 2018; MetaCPAN )
Yandex-Geo/lib/Yandex/Geo.pm ( view source; MetaCPAN )
SION = '0.07';
use strict;
use warnings;


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

use Yandex::Geo::Company;


sub cities_bbox {
    return { 'ROV' => '39.535
sponse->status_line;
    }

    Geo::JSON->from_json( $response->decoded_content );

}


sub y_companies {
    my ( $self, $text, %params ) = @_;

    my $geo_json = $self->get( text => $text, %params
 );
    Yandex::Geo::Company::from_geo_json($geo_json);
}

sub _build_params {
    my ( $self, %params ) = @_;

    # Set default parameters

    confess 'No search text provided'
      unless defined
Types-Bool ( F/FE/FERREIRA/Types-Bool-2.98012.tar.gz, FERREIRA, 2018; MetaCPAN )
Types-Bool/lib/Types/Bool.pod ( view source; MetaCPAN )
type hierarchies, etc.

A solution for that was adopted for JSON modules
around 2012 by using references to C<1> or C<0>
blessed into L<JSON::PP::Boolean> which was chosen
as the canonical package for
 these objects.

The problem with that was the coupling with L<JSON::PP>
for no apparent good reason. Booleans are independent
of JSON and this association makes little sense
when loading documents in
c Lehmann's L<Types::Serialiser> approached this problem
by creating a common interface used by L<JSON::XS> and L<CBOR::XS>
modules. This module lifts this core concept (including
idea, implementation
Mojo-Redis2 ( D/DB/DBOOK/Mojo-Redis2-0.32.tar.gz, DBOOK, 2018; MetaCPAN )
Mojo-Redis2/script/try-mojo-redis2.pl ( view source; MetaCPAN )
#!/usr/bin/env perl
use Mojolicious::Lite;
use Mojo::Redis2;
use Mojo::JSON 'j';

helper redis => sub { shift->stash->{redis} ||= Mojo::Redis2->new; };

get '/' => sub {
  my $c = shift;

  if (my $me
OpusVL-Preferences ( A/AL/ALTREUS/OpusVL-Preferences-0.33.tar.gz, ALTREUS, 2018; MetaCPAN )
OpusVL-Preferences/lib/OpusVL/Preferences/Hat/preferences.pm ( view source; MetaCPAN )
ED

This module was written deprecated. New code should not be using it. New code
should make the JSON-based L<OpusVL::FB11::Parameters> module work instead, and
then use that.

=head1 METHODS

=head2
AnyEvent-MP ( M/ML/MLEHMANN/AnyEvent-MP-2.02.tar.gz, MLEHMANN, 2018; MetaCPAN )
AnyEvent-MP/MP/Global.pm ( view source; MetaCPAN )
######################
# node protocol parts for global nodes

package AnyEvent::MP::Kernel;

use JSON::XS ();

# TODO: this is ugly (classical use vars vs. our),
# maybe this should go into MP::Kerne
WebService-BitbucketServer ( C/CC/CCM/WebService-BitbucketServer-0.605.tar.gz, CCM, 2018; MetaCPAN )
WebService-BitbucketServer/lib/WebService/BitbucketServer/CommentLikes/V1.pm ( view source; MetaCPAN )
* C<<< 400 >>> - errors, type: application/json

The currently authenticated user is the comment author

=item * C<<< 401 >>> - errors, type: application/json

The currently authenticated user does no
 response indicating that the request succeeded

=item * C<<< 404 >>> - errors, type: application/json

The specified repository, commit or comment does not exist

=back

=head2 get_commit_likers

Get
=item * C<<< 200 >>> - data, type: application/json

Page of users who liked the specified comment

=item * C<<< 401 >>> - errors, type: application/json

The currently authenticated user does not hav
WebService-BitbucketServer ( C/CC/CCM/WebService-BitbucketServer-0.605.tar.gz, CCM, 2018; MetaCPAN )
WebService-BitbucketServer/lib/WebService/BitbucketServer/Core/V1.pm ( view source; MetaCPAN )
over 4

=item * C<<< 200 >>> - data, type: application/json

Information about the cluster

=item * C<<< 401 >>> - errors, type: application/json

The currently authenticated user has insufficient per
es:

=over 4

=item * C<<< 200 >>> - page, type: application/json

A page of groups.

=item * C<<< 401 >>> - errors, type: application/json

The currently authenticated user is not a licensed user.

=
pe: application/json

The newly created group.

=item * C<<< 400 >>> - errors, type: application/json

The request was malformed.

=item * C<<< 401 >>> - errors, type: application/json

The currently 
AnyEvent-MP ( M/ML/MLEHMANN/AnyEvent-MP-2.02.tar.gz, MLEHMANN, 2018; MetaCPAN )
AnyEvent-MP/MP/Transport.pm ( view source; MetaCPAN )
 ($_[0]));
      };
   } elsif ($framing eq "json") {
      require JSON::XS;
      $self->{send} = sub {
         $push_write->($hdl, JSON::XS::encode_json ($_[0]));
      };
   } else {
      $self-
_multiple ($_[0]{rbuf});

         ()
      });
   } elsif ($framing eq "json") {
      require JSON::XS;
      my $coder = JSON::XS->new->utf8;

      $hdl->on_read (sub {
         $AnyEvent::MP::Ker
 First Greeting Line

Example:

   aemp;0;rain;tls_sha3_512,hmac_sha3_512,tls_anon,cleartext;cbor,json,storable;timeout=12;peeraddr=10.0.0.1:48082

The first line contains strings separated (not ended
GCloud-CLIWrapper ( J/JL/JLMARTIN/GCloud-CLIWrapper-0.01.tar.gz, JLMARTIN, 2018; MetaCPAN )
GCloud-CLIWrapper/lib/GCloud/CLIWrapper/Result.pm ( view source; MetaCPAN )
c => (is => 'ro', isa => 'Int', required => 1);
  has output => (is => 'ro', isa => 'Str');
  has json => (is => 'ro', isa => 'HashRef');
 
  has success => (is => 'ro', isa => 'Bool', lazy => 1, defa
WebService-BitbucketServer ( C/CC/CCM/WebService-BitbucketServer-0.605.tar.gz, CCM, 2018; MetaCPAN )
WebService-BitbucketServer/lib/WebService/BitbucketServer/JIRA/V1.pm ( view source; MetaCPAN )
<< REPO_READ >>> permission for the repository containing the comment
to call this resource.

The JSON structure for the create issue format is specified by Jira's REST v2 API.

    POST jira/1.0/comm
 * C<<< 201 >>> - data, type: application/json

The created Jira issue key and the associated comment ID

=item * C<<< 400 >>> - errors, type: application/json

The specified application link ID does 
not match any linked Jira instance.

=item * C<<< 401 >>> - errors, type: application/json

Authentication with the Jira instance is required.

=back

=head2 get_commits

Retrieve a page of changesets

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