Group
Extension

Matches 35359

Task-BeLike-GETTY ( G/GE/GETTY/Task-BeLike-GETTY-20150205.000.tar.gz, GETTY, 2015; MetaCPAN )
Task-BeLike-GETTY/lib/Task/BeLike/GETTY.pm ( view source; MetaCPAN )
n::DateTime>

=head3 L<DBIx::Class::InflateColumn::Serializer>

Very useful in combination with L<JSON> to get a simple random data storage
field. 

=head3 L<DBIx::Class::EncodedColumn::Crypt::Eksblow
 a crash more useful, show a stack trace.

=head3 L<Catalyst::View::TT>

=head3 L<Catalyst::View::JSON>

=head3 L<Catalyst::View::Email::Template>

=head3 L<Yeb>

A very simple straightforward Web DSL
Duration>

A good way to display a time duration to humans.

=head3 L<JSON>

The most effective data storage way ...

=head3 L<JSON::MaybeXS>

... and make it quick!

=head3 L<YAML>

If you want the d
WWW-GoDaddy-REST ( D/DB/DBARTLE/WWW-GoDaddy-REST-1.00.tar.gz, DBARTLE, 2015; MetaCPAN )
WWW-GoDaddy-REST/README.pod ( view source; MetaCPAN )
..',
         user_agent => $ua
  });

=item schemas_file

Optional path to a file containing the JSON for all of the schemas for this web
service (from the schemas collection).  If you would like to 

  $c = WWW::GoDaddy::REST->new({
         url => '...',
         schemas_file => '/my/app/schema.json'
  });

See the GDAPI Specification for more information about schemas and collections.
L<https:/
Perform the HTTP request and return a hashref of the decoded JSON response.

If this is called in list context, it returns the decoded JSON response and 
the associated L<HTTP::Response> object.

This
WWW-GoDaddy-REST ( D/DB/DBARTLE/WWW-GoDaddy-REST-1.00.tar.gz, DBARTLE, 2015; MetaCPAN )
WWW-GoDaddy-REST/lib/WWW/GoDaddy/REST/Shell/DocsCommand.pm ( view source; MetaCPAN )
WW::GoDaddy::REST::Shell::Util qw(get_resource_by_schema_or_uri);
use WWW::GoDaddy::REST::Util qw(json_encode);

sub run_docs {
    my $self = shift;

    my $usage = "Usage:\n docs [schema] [id]\n do
    [ map {"    $_"} keys %fields ],
            [   map {
                    if   ( ref($_) ) { json_encode($_) }
                    else             {$_}
                } values %fields
         
Pulp ( B/BR/BRADH/Pulp-0.001.tar.gz, BRADH, 2015; MetaCPAN )
Pulp/lib/Pulp.pm ( view source; MetaCPAN )
lp::Model -api => 1;
  ...

This will tell Pulp to do all the work for you, and generates a basic JSON API.
Some of the commands are below:

=head3 list

Lists all rows found for a particular resultse
Dist-Zilla-PluginBundle-Author-XENO ( X/XE/XENO/Dist-Zilla-PluginBundle-Author-XENO-0.001007.tar.gz, XENO, 2015; MetaCPAN )
Dist-Zilla-PluginBundle-Author-XENO/lib/Dist/Zilla/PluginBundle/Author/XENO.pm ( view source; MetaCPAN )
MetaJSON

		RunExtraTests
		PodCoverageTests
		PodSyntaxTests
		Test::ReportPrereqs
		Test::Compile
		Test::EOL
		Test::Portability
		Test::Perl::Critic

		Test::UnusedVars
		Test::CPAN::Meta::JSON
		
WWW-GoDaddy-REST ( D/DB/DBARTLE/WWW-GoDaddy-REST-1.00.tar.gz, DBARTLE, 2015; MetaCPAN )
WWW-GoDaddy-REST/lib/WWW/GoDaddy/REST.pm ( view source; MetaCPAN )
ST::Util qw(abs_url json_encode json_decode is_json );

subtype 'PositiveInt', as 'Int', where { $_ > 0 };

no Moose::Util::TypeConstraints;

my $JSON_MIME_TYPE = 'application/json';

has 'url' => (
 
     => 'Str',
    required      => 0,
    documentation => 'Optional, cached copy of the schemas JSON to avoid HTTP round trip'
);

has 'schemas' => (
    is       => 'rw',
    isa      => 'ArrayRef[
( 'schemas/%s', $specific_name );
    return abs_url( $base, $path );
}

sub http_request_schemas_json {
    my $self = shift;

    my $request  = $self->build_http_request( 'GET', $self->schemas_url 
GitStore ( Y/YA/YANICK/GitStore-0.17.tar.gz, YANICK, 2015; MetaCPAN )
GitStore/lib/GitStore.pm ( view source; MetaCPAN )
{
            my( $store, $path, $value ) = @_;

            if ( $path =~ m#^json# ) {
                return encode_json($value);
            }
            else {
                # defaults to YAML
        my( $store, $path, $value ) = @_;

            return $path =~ m#^json# 
                                ? encode_json($value)
                                : YAML::Dump($value)
            
( $store, $path, $value ) = @_;
            
            return $path =~ #^json#
                                ?decode_json($value)
                                : YAML::Load($value)
             
WWW-GoDaddy-REST ( D/DB/DBARTLE/WWW-GoDaddy-REST-1.00.tar.gz, DBARTLE, 2015; MetaCPAN )
WWW-GoDaddy-REST/lib/WWW/GoDaddy/REST/Resource.pm ( view source; MetaCPAN )
Moose;
use URI;
use URI::QueryParam;
use WWW::GoDaddy::REST::Util qw( abs_url json_instance json_encode json_decode is_json );

use constant DEFAULT_IMPL_CLASS => 'WWW::GoDaddy::REST::Resource';
use o
rt ) ) || DEFAULT_IMPL_CLASS;
        eval "require $impl;";
    }
    else {

        # hmm, the json response didn't seem to be a hashref...
        # well in this case, there are not really any fie
      # content
        $params->{fields} = {};
    }

    return $impl->new($params);

}

sub TO_JSON {
    my $self = shift;
    return $self->data;
}

sub data {
    my $self = shift;

    my %fiel
CPAN-Test-Dummy-Perl5-EmptyProvides ( M/MI/MIYAGAWA/CPAN-Test-Dummy-Perl5-EmptyProvides-0.01.tar.gz, MIYAGAWA, 2015; MetaCPAN )
CPAN-Test-Dummy-Perl5-EmptyProvides/lib/CPAN/Test/Dummy/Perl5/EmptyProvides.pm ( view source; MetaCPAN )
a

=head1 DESCRIPTION

This distribution has a valid, empty C<provides> metadata hash in its
META.json and META.yml to test how PAUSE, CPAN clients and search
sites handle that.

=head1 AUTHOR

Tatsuh
WebService-Amazon-Support ( M/MC/MCOX/WebService-Amazon-Support-v0.0.4.tar.gz, MCOX, 2015; MetaCPAN )
WebService-Amazon-Support/lib/WebService/Amazon/Support.pm ( view source; MetaCPAN )
e 5.006;
use strict;
use warnings;

use AWS::Signature4;
use Carp;
use HTTP::Request::Common;
use JSON;
use LWP;
use Params::Validate qw( :all );
use Readonly;
#use Smart::Comments '###';
#use Smart::
I version
  $self->{api_version} = $API_VERSION;
  
  # for parsing the responses
  $self->{js} = JSON->new->allow_nonref;
  
  # store a request signer for later
  $self->{signer} = AWS::Signature4->
" );
    return undef;
  }
  else {
    $args{params}{Version} = $self->{api_version};
  }
  
  # JSON encode the params
  my( $js ) = $self->{js}->encode( $args{params} );
  ### $js
  
  # set custom
WWW-GoDaddy-REST ( D/DB/DBARTLE/WWW-GoDaddy-REST-1.00.tar.gz, DBARTLE, 2015; MetaCPAN )
WWW-GoDaddy-REST/lib/WWW/GoDaddy/REST/Util.pm ( view source; MetaCPAN )
ngs;

use JSON qw();
use Sub::Exporter -setup => {
    exports => [
        qw( abs_url
            add_filters_to_url
            build_complex_query_url
            is_json
            json_decode
 
   json_encode
            json_instance
            )
    ]
};
use URI;
use URI::QueryParam;

sub is_json {
    my $json    = shift;
    my $handler = json_instance(@_);

    eval { my $perl = json_d
ecode($json); };
    if ($@) {
        return 0;
    }
    else {
        return 1;
    }
}

sub json_encode {
    my $perl    = shift;
    my $handler = json_instance(@_);
    return $handler->encode
YARN ( A/AO/AOSSAMA/YARN.tar.gz, AOSSAMA, 2015; MetaCPAN )
YARN/lib/YARN.pm ( view source; MetaCPAN )
# TODO: Write better/more test cases

use 5.006;
use strict;
use warnings;

use REST::Client;
use JSON;

use Data::Dumper;

use YARN::YarnClient;

BEGIN {
	$YARN::VERSION = '0.1';
}

our $client = '';
path( $self, $api ) )->responseContent();
	
	if (defined $element) {
		return $self->findElementInJSON( $rest, $apis{$api}, $element );
	} else {
		return $rest;
	}
}

sub info		{ shift->__req_api( 'i
f = shift;
	
	my $req = $self->scheduler();
}

sub findElementInJSON {
	my ($self, $rest, $root, $element) = @_;
	
	my $res = decode_json $rest;
	
	return $res->{$root}->{$element};
}

=head1 NAME

YA
Mojolicious-Plugin-ChromeLogger ( K/KO/KOORCHIK/Mojolicious-Plugin-ChromeLogger-0.06.tar.gz, KOORCHIK, 2015; MetaCPAN )
Mojolicious-Plugin-ChromeLogger/README.pod ( view source; MetaCPAN )
, stash, session and config to Google Chrome console. Works with all types of responses(including JSON).
To view logs in Google Chrome you should install ChromeLogger extenstion. Logging works only in
WebService-Amazon-DynamoDB ( T/TE/TEAM/WebService-Amazon-DynamoDB-0.005.tar.gz, TEAM, 2015; MetaCPAN )
WebService-Amazon-DynamoDB/scripts/latest-errors.pl ( view source; MetaCPAN )
 strict;
use warnings;

use IO::Async;
use Net::Async::HTTP;
use HTML::TreeBuilder qw(-weak);
use JSON::MaybeXS;

my $loop = IO::Async::Loop->new;
$loop->add(
	my $ua = Net::Async::HTTP->new(
		fail_o
> 'tbody'), $ddb;

	binmode STDOUT, ':encoding(UTF-8)';
	my $json = JSON::MaybeXS->new(
		pretty    => 1,
		canonical => 1,
	);
	print $json->encode({
		errors => [
			map {;
				my @cols = map $_->as
],
					exception => $cols[1],
					message   => $cols[2],
					cause     => $cols[3],
					retry     => $cols[4] eq 'Y' ? JSON->true : JSON->false,
				}
			} @rows
		]
	});
	Future->wrap;
})->get;

Mojolicious-Plugin-ChromeLogger ( K/KO/KOORCHIK/Mojolicious-Plugin-ChromeLogger-0.06.tar.gz, KOORCHIK, 2015; MetaCPAN )
Mojolicious-Plugin-ChromeLogger/lib/Mojolicious/Plugin/ChromeLogger.pm ( view source; MetaCPAN )
ChromeLogger;

use Mojo::Base 'Mojolicious::Plugin';
use Mojo::ByteStream qw/b/;
use Mojo::JSON qw/encode_json/;

our $VERSION = 0.06;

has logs => sub { return [] };

my %types_map = (
    'debug' =>
h @$rows, [[ $main_group ], undef,  'groupEnd'];

            my $json       = encode_json($data);
            my $final_data = b($json)->b64_encode('');
            $c->res->headers->add( 'X-ChromeLo
, stash, session and config to Google Chrome console. Works with all types of responses(including JSON).
To view logs in Google Chrome you should install ChromeLogger extenstion. Logging works only in
Mojo-Email-Checker-SMTP ( S/SN/SNELIUS/Mojo-Email-Checker-SMTP-0.04.tgz, SNELIUS, 2015; MetaCPAN )
Mojo-Email-Checker-SMTP/lib/Mojo/Email/Checker/SMTP.pm ( view source; MetaCPAN )
elf    = shift;
		my $request = $self->req->json;

		my @emails;
		my $delay = Mojo::IOLoop::Delay->new;
		$delay->on(finish => sub {
				$self->render(json => \@emails);
		});

		my $cb = $delay->beg
JSYNC ( I/IN/INGY/JSYNC-0.25.tar.gz, INGY, 2015; MetaCPAN )
JSYNC/lib/JSYNC.pod ( view source; MetaCPAN )
im v0.1.38.
See http://github.com/ingydotnet/swim-pm#readme

=encoding utf8

=head1 NAME

JSYNC - JSon Yaml eNCoding

=head1 VERSION

This document describes L<JSYNC> version B<0.25>.
";

=head1 SYNOP
 {pretty => 1});
    $object = JSYNC::load($jsync);

=head1 DESCRIPTION

JSYNC is an extension of JSON that can serialize any data objects.

See: L<http://jsync.org>

=head1 AUTHOR

Ingy döt Net <ing
JSYNC ( I/IN/INGY/JSYNC-0.25.tar.gz, INGY, 2015; MetaCPAN )
JSYNC/lib/JSYNC.pm ( view source; MetaCPAN )
use strict; use warnings;
package JSYNC;
our $VERSION = '0.25';

use JSON;

{
    package JSYNC;

    sub dump {
        my ($object, $config) = @_;
        $config ||= {};
        return JSYNC::Dumpe
my $graph = $self->represent($object);
        my $json = 'JSON'->new()->canonical();
        $json->pretty() if $self->{pretty};
        return $json->encode($graph);
    }

    sub represent {
     

    sub load {
        my ($self, $jsync) = @_;
        $self->{seen} = {};
        my $graph = 'JSON'->new()->decode($jsync);
        return $self->construct($graph);
    }


    sub construct {
   
App-mirai ( T/TE/TEAM/App-mirai-0.003.tar.gz, TEAM, 2015; MetaCPAN )
App-mirai/lib/App/mirai/Tickit.pm ( view source; MetaCPAN )
Tickit::TabRibbon;
use App::mirai::Tickit::Widget::Logo;
use Future;
use POSIX qw(strftime);

use JSON::MaybeXS;
use File::Spec;

my %widget;

sub user_path { File::Spec->catpath($_[0]->{user_path}, $
left lines cols)
						]
					};
				}
				open my $fh, '>', $sp or die $!;
				$fh->print(encode_json($session));
			};
			menuitem 'Save session as...' => sub { warn 'save as' };
			menuspacer;
			m
		open my $fh, '<', $path or die "Unable to open last session $path - $!";
		my $session = decode_json(do { local $/; <$fh> });
		tickit->later(sub {
			my @win = @{$widget{desktop}->{widgets}};
			fo
App-mirai ( T/TE/TEAM/App-mirai-0.003.tar.gz, TEAM, 2015; MetaCPAN )
App-mirai/lib/App/mirai.pm ( view source; MetaCPAN )
eal> if available, will fall back to JSON via L<JSON::MaybeXS>. Set
C< MIRAI_SERIALISATION > in the environment to override:

=over 4

=item * Sereal

=item * JSON

=back

=cut

use constant SERIALISA
TION => $ENV{MIRAI_SERIALISATION} || (eval { require Sereal } ? 'Sereal' : 'JSON');

use Socket qw(AF_UNIX SOCK_STREAM PF_UNSPEC);
use IO::Handle;

# Everything after this point should happen at
# run
y $line = <$child_read>;
		# $child_read->close or die $!;

		my $encoder = SERIALISATION eq 'JSON' ? JSON::MaybeXS->new(utf8 => 1) : Sereal::Encoder->new;
		App::mirai::Subprocess->setup(sub {
			eva

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