Group
Extension

Matches 35359

Dist-Zilla-Plugin-Meta-Maintainers ( D/DR/DROLSKY/Dist-Zilla-Plugin-Meta-Maintainers-0.01.tar.gz, DROLSKY, 2017; MetaCPAN )
Dist-Zilla-Plugin-Meta-Maintainers/lib/Dist/Zilla/Plugin/Meta/Maintainers.pm ( view source; MetaCPAN )
lugin adds an C<x_maintainers> key in the distribution's metadata. This
will end up in the F<META.json> and F<META.yml> files, and may also be useful
for things like L<Pod::Weaver> plugins.

=head1 SU
anticaptcha ( S/SK/SKULL/anticaptcha-1.02.zip, SKULL, 2017; MetaCPAN )
anticaptcha/lib/Anticaptcha/Request.pm ( view source; MetaCPAN )
ON);
require Exporter;
use Exporter;
@ISA = ('Exporter');

$VERSION = "1.02";
require 5.010;

use JSON ();
use LWP ();

use Anticaptcha ();

use Carp ();

sub new
{
	# Check for common user mistake
	C

	my $json = JSON::encode_json($req);

	my $res = $self->request({
		task => 'createTask',
		data => $json
	});
	if($self->{responce} eq 'json'){
		return $res;
	}else{
		return JSON::decode_json($res
$self) = @_;
	my $json = JSON::encode_json({clientKey => $self->{clientKey}});

	my $res = $self->request({
		task => 'getBalance',
		data => $json
	});
	if($self->{responce} eq 'json'){
		return $res
AI-CleverbotIO ( P/PO/POLETTIX/AI-CleverbotIO-0.002.tar.gz, POLETTIX, 2017; MetaCPAN )
AI-CleverbotIO/lib/AI/CleverbotIO.pm ( view source; MetaCPAN )

{ our $VERSION = '0.002'; }

use Moo;
use Ouch;
use Log::Any ();
use Data::Dumper;
use JSON::PP qw< decode_json >;

has endpoints => (
   is      => 'ro',
   default => sub {
      return {
         
0, "response status $response->{status}, nothing from $url)";
   }
   my $decoded = eval { decode_json($encoded) }
     or ouch 500, "response status $response->{status}, exception: $@";
   return $de
anticaptcha ( S/SK/SKULL/anticaptcha-1.02.zip, SKULL, 2017; MetaCPAN )
anticaptcha/lib/Anticaptcha.pm ( view source; MetaCPAN )
23abc112abc123abc123',
    responce => 'json'
  );

  # Get account balance in JSON format
  my $balance_json = $Anticaptcha->getBalance();
  print $balance_json,"\n";

See L<Anticaptcha::Request> for
Validator-Custom ( K/KI/KIMOTO/Validator-Custom-1.0201.tar.gz, KIMOTO, 2017; MetaCPAN )
Validator-Custom/lib/Validator/Custom/Document/Version0.pod ( view source; MetaCPAN )
checkbox, radio button, and list box is automatically selected.

Note that this methods require L<JSON> module.

=head2 validate

  $result = $vc->validate($data, $rule);
  $result = $vc->validate($da
Validator-Custom ( K/KI/KIMOTO/Validator-Custom-1.0201.tar.gz, KIMOTO, 2017; MetaCPAN )
Validator-Custom/lib/Validator/Custom.pm ( view source; MetaCPAN )
rse_random_string_rule($rule);
  
  require JSON;
  my $r_json = JSON->new->encode($r);
  
  my $javascript = << "EOS";
(function () {

  var rule = $r_json;

  var create_random_value = function (rul
Dist-Metadata ( R/RW/RWSTAUNER/Dist-Metadata-0.927.tar.gz, RWSTAUNER, 2017; MetaCPAN )
Dist-Metadata/lib/Dist/Metadata.pm ( view source; MetaCPAN )
meta = $self->determine_metadata;

  # prefer json file (spec v2)
  if ( $metafile = first { m#^META\.json$# } @files ) {
    $meta = CPAN::Meta->load_json_string( $dist->file_content($metafile) );
  
Data-CleanJSON ( P/PE/PERLANCAR/Data-CleanJSON-0.002.tar.gz, PERLANCAR, 2017; MetaCPAN )
Data-CleanJSON/lib/Data/CleanJSON.pm ( view source; MetaCPAN )
eanJSON;

our $DATE = '2017-01-03'; # DATE
our $VERSION = '0.002'; # VERSION

use 5.010001;
use strict;
use warnings;

use Exporter qw(import);
our @EXPORT_OK = qw(
                       clean_json_i
n_place
                       clone_and_clean_json
               );

sub _clone {
    if (eval { require Data::Clone; 1 }) {
        Data::Clone::clone(@_);
    } else {
        require Clone::PP;
 
e::PP::clone(@_);
    }
}

 # generated with Data::Clean version 0.44, Data::Clean::JSON version 0.37
 sub clean_json_in_place { 
 require Scalar::Util;
 state $sub_unbless = sub {     my $ref = shift
Mojolicious-Plugin-Mongol ( M/MA/MARGHI/Mojolicious-Plugin-Mongol-1.0.tar.gz, MARGHI, 2017; MetaCPAN )
Mojolicious-Plugin-Mongol/lib/Mojolicious/Plugin/Mongol.pm ( view source; MetaCPAN )
b action {
		my $self = shift();

		my $mongo = $self->mongodb();

		...

		return $self->render( json => undef );
	}

Just in case you need access to the MongoDB client instance you can use this help
Catmandu-Store-AAT ( P/PI/PIETERDP/Catmandu-Store-AAT-0.01.tar.gz, PIETERDP, 2017; MetaCPAN )
Catmandu-Store-AAT/lib/Catmandu/Store/AAT/SPARQL.pm ( view source; MetaCPAN )
atmandu::Sane;

use LWP::UserAgent;
use JSON;

has query => (is => 'ro', required => 1);
has url   => (is => 'ro', default => 'http://vocab.getty.edu/sparql.json');
has lang  => (is => 'ro', default =
onse = $self->ua->post($self->url, $form);
    if ($response->is_success) {
        return decode_json($response->decoded_content);
    } else {
         Catmandu::HTTPError->throw({
            code 
Ticketmaster-API ( T/TA/TANK/Ticketmaster-API-0.02.tar.gz, TANK, 2017; MetaCPAN )
Ticketmaster-API/lib/Ticketmaster/API.pm ( view source; MetaCPAN )
package Ticketmaster::API;

use 5.006;
use strict;
use warnings;

use Carp;
use JSON::XS;
use LWP::UserAgent;

=head1 NAME

Ticketmaster::API - start interacting with Ticketmaster's APIs

=head1 VERSI
d => $uri);

    my $res = $ua->request($req);

    if ($res->is_success) {
        return decode_json($res->content);
    }
    else {
        Carp::croak("Error: " . $res->status_line);
    }
}

=he
OxdPerlModule ( I/IN/INDERPAL/OxdPerlModule-0.01.tar.gz, INDERPAL, 2017; MetaCPAN )
OxdPerlModule/lib/OxdPackages/UpdateRegistration.pm ( view source; MetaCPAN )
et
# @see	        OxdClient
# @see	        OxdConfig
#######################################

use JSON::PP;

package UpdateRegistration;	
    
    use vars qw($VERSION);
    $VERSION = '0.01'; 
     
OxdPerlModule ( I/IN/INDERPAL/OxdPerlModule-0.01.tar.gz, INDERPAL, 2017; MetaCPAN )
OxdPerlModule/lib/OxdPackages/OxdRegister.pm ( view source; MetaCPAN )
g/licenses/MIT	MIT License
# @link	https://gluu.org/
# @since	Version 2.4.4
# @filesource
#/

use JSON::PP;

package OxdRegister;	# This is the &quot;Class&quot;
    use vars qw($VERSION);
    $VERSIO
Ticketmaster-API ( T/TA/TANK/Ticketmaster-API-0.02.tar.gz, TANK, 2017; MetaCPAN )
Ticketmaster-API/lib/Ticketmaster/API/Discovery.pm ( view source; MetaCPAN )
 my $args = {@_};

    return $self->get_data(method => 'GET', path_template => "$base_uri/events.json", parameters => $args);
}

=head2 event_details

Returns the event details by event ID.

Also See
provided\n");

    return $self->get_data(method => 'GET', path_template => "$base_uri/events/$id.json", parameters => $args);
}

=head2 event_images

Returns all event images by event ID.

Also See: 
d\n");

    return $self->get_data(method => 'GET', path_template => "$base_uri/events/$id/images.json", parameters => $args);
}

=head2 search_attractions

Returns available attactions

Also See: htt
Protocol-SocketIO ( V/VT/VTI/Protocol-SocketIO-0.07.tar.gz, VTI, 2017; MetaCPAN )
Protocol-SocketIO/lib/Protocol/SocketIO/Message.pm ( view source; MetaCPAN )
 JSON   ();

use overload '""' => sub { $_[0]->to_string }, fallback => 1;

our %TYPES = (
    'disconnect'   => 0,
    'connect'      => 1,
    'heartbeat'    => 2,
    'message'      => 3,
    'json
shift;

    my $self = {@_};
    bless $self, $class;

    $self->{type} ||= ref $self->{data} ? 'json_message' : 'message';

    if ($self->{type} eq 'connect' || $self->{type} eq 'heartbeat') {
    
}

sub is_message {
    my $self = shift;

    return $self->type eq 'message' || $self->type eq 'json_message';
}

sub parse {
    my $self = shift;
    my ($string) = @_;

    return unless defined 
Guardian-OpenPlatform-API ( M/MA/MANWAR/Guardian-OpenPlatform-API-0.09.tar.gz, MANWAR, 2017; MetaCPAN )
Guardian-OpenPlatform-API/lib/Guardian/OpenPlatform/API.pm ( view source; MetaCPAN )


has 'format' => (
    is => 'rw',
    default => sub { 'json' },
    );

=head1 METHODS

=head2 new({ api_key => $key [, format => '(xml|json)'] })

Create a new L<Guardian::OpenPlatform::API> objec
 default format for the data that you get
back from the Guardian. Valid values are 'json' or 'xml'. Default is 'json'.

=back

=head2 content({ qry => $query, [ filter => $filter, format => $fmt ] });
mat

This item is optional. Defines the data format that you want to get back.This can
be either 'json' or 'xml'. If no value is given then the default format  given to
the C<new> method is used.

=ba
Dist-Metadata ( R/RW/RWSTAUNER/Dist-Metadata-0.927.tar.gz, RWSTAUNER, 2017; MetaCPAN )
Dist-Metadata/corpus/structs.pl ( view source; MetaCPAN )
kage;

our $VERSION = \'0.2\';
'
  },
  'metafile' => {
    'Dist-Metadata-Test-MetaFile-2.2/META.json' => '{
   "abstract" : "Fake dist for testing metadata determination",
   "author" : [
      "Ran
his "dist" is for testing Dist::Metadata.
',
    'Dist-Metadata-Test-MetaFile-Incomplete-2.1/META.json' => '{
   "abstract" : "Fake dist for testing metadata determination",
   "author" : [
      "Ran
Net-OAuth-Yahoo ( S/SY/SYAGI/Net-OAuth-Yahoo-1.0.0.tar.gz, SYAGI, 2016; MetaCPAN )
Net-OAuth-Yahoo/test_deeply.pl ( view source; MetaCPAN )
ot receive a token or URL", "access_api() test without params" );

my $json = $oauth->access_api( $token, $api_url );
like( $json, qr/yahoo/, "access_api() test with token & URL" );

$oauth->save_toke
Test-Dist-Zilla ( V/VD/VDB/Test-Dist-Zilla-v0.4.4.tar.gz, VDB, 2016; MetaCPAN )
Test-Dist-Zilla/lib/Test/Dist/Zilla/Build.pm ( view source; MetaCPAN )
 Plugins to use.
#pod             'GatherDir',
#pod             'Manifest',
#pod             'MetaJSON',
#pod         ],
#pod         files => {                          # Files to add.
#pod          
      # Expected content of MANIFEST.
#pod                 'MANIFEST',
#pod                 'META.json',
#pod                 'dist.ini',
#pod                 'lib/Dummy.pm',
#pod             ],
#pod 
              # Plugins to use.
            'GatherDir',
            'Manifest',
            'MetaJSON',
        ],
        files => {                          # Files to add.
            'lib/Dummy.p
Jmespath ( R/RI/RICHE/Jmespath-0.02.tar.gz, RICHE, 2016; MetaCPAN )
Jmespath/lib/Jmespath/Functions.pm ( view source; MetaCPAN )
package Jmespath::Functions;
use strict;
use warnings;
use parent 'Exporter';
use JSON;
use Try::Tiny;
use POSIX qw(ceil floor);
use Jmespath::Expression;
use Jmespath::ValueException;
use Jmespath::J
ueException
      ->new({ message => 'contains() illegal boolean value' })
      ->throw
      if JSON::is_bool($arg);

  Jmespath::ValueException
      ->new({ message => 'Not a number: [' . $arg  . 

      if JSON::is_bool($subject);
  if ( ref $subject eq 'ARRAY' ) {
    foreach (@$subject) {
      return JSON::true if ( $_ eq $search ); #must be exact string match
    }
    return JSON::false;

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