Group
Extension

Matches 35358

Pithub ( P/PL/PLU/Pithub-0.01011.tar.gz, OALDERS, 2011; MetaCPAN )
Pithub/lib/Pithub/Repos/Releases.pm ( view source; MetaCPAN )
   => JSON::MaybeXS::false(),           # or alternative below
            prerelease       => JSON::MaybeXS::false(),           # or alternative below
            generate_release_notes => JSON::Mayb
and will not be encoded correctly
in the JSON encoded request.

There are numerous options for your call to Pithub::Repos::Releases->create.

=over

=item JSON::MaybeXS

Add the following to your code
:Releases->create.

    require JSON::MaybeXS;

Then use the following values for the booleans:

    JSON::MaybeXS::true()
    JSON::MaybeXS::false()

=item Cpanel::JSON::XS

Add the following to your
Pithub ( P/PL/PLU/Pithub-0.01011.tar.gz, PLU, 2011; MetaCPAN )
Pithub/lib/Pithub/Base.pm ( view source; MetaCPAN )
ss for all Pithub modules

use Moo;
use Carp qw(croak);
use HTTP::Headers;
use HTTP::Request;
use JSON::Any;
use LWP::UserAgent;
use Pithub::Result;
use URI;


has 'auto_pagination' => (
    default =
pi_uri} = URI->new("$uri");
    },
);


has 'jsonp_callback' => (
    clearer   => 'clear_jsonp_callback',
    is        => 'rw',
    predicate => 'has_jsonp_callback',
    required  => 0,
);


has 'p
   is        => 'rw',
    predicate => 'has_user',
    required  => 0,
);

has '_json' => (
    builder => '_build__json',
    is      => 'ro',
    lazy    => 1,
);

my @TOKEN_REQUIRED = (
    'DELETE
Net-OAuth2-Moosey-Client ( R/RC/RCL/Net-OAuth2-Moosey-Client-0.02.tar.gz, RCL, 2011; MetaCPAN )
Net-OAuth2-Moosey-Client/lib/Net/OAuth2/Moosey/Client.pm ( view source; MetaCPAN )
onse = $self->auth_client->post( @post_args );


=cut

use Carp;
use LWP::UserAgent;
use URI;
use JSON;
use HTTP::Request;
use HTTP::Request::Common;
use Net::OAuth2::Moosey::AccessToken;
use MooseX::
us_line . ": " . $response->decoded_content );
        }
        
        my $res_params = _parse_json($response->decoded_content);
        $res_params = _parse_query_string($response->decoded_content
tr);
    return {$uri->query_form};
}

# Parse json non-fataly
sub _parse_json {
    my $str = shift;
    my $obj = eval{local $SIG{__DIE__}; decode_json($str)};
    return $obj;
}

1;
=head1 LICENSE 
Geo-Coder-Ovi ( G/GR/GRAY/Geo-Coder-Ovi-0.03.tar.gz, GRAY, 2011; MetaCPAN )
Geo-Coder-Ovi/lib/Geo/Coder/Ovi.pm ( view source; MetaCPAN )
package Geo::Coder::Ovi;

use strict;
use warnings;

use Carp qw(croak);
use Encode ();
use JSON;
use LWP::UserAgent;
use URI;

our $VERSION = '0.03';
$VERSION = eval $VERSION;

sub new {
    my ($cla
$params{la} = $language;
    }

    my $uri = URI->new('http://where.desktop.mos.svc.ovi.com/NOSe/json');
    $uri->query_form(
        app_id => $self->{appid},
        token  => $self->{token},
    
f the response from 'application/json' so
    # HTTP::Message will decode the character encoding.
    $res->content_type('text/plain');

    my $data = eval { from_json($res->decoded_content) };
    r
Bundle-Everything ( R/RS/RSPIER/Bundle-Everything-0.06.tar.gz, RSPIER, 2011; MetaCPAN )
Bundle-Everything/Everything.pm ( view source; MetaCPAN )
Filter::Minifier::CSS

Apache2::Filter::Minifier::JavaScript

Apache2::Filter::TagAware

Apache2::JSONRPC

Apache2::LogParser

Apache2::ModBT

Apache2::ModProxyPerlHtml

Apache2::PageKit

Apache2::Pod
mFactory

CGI::FormMagick

CGI::Formalware

CGI::Getopt

CGI::IDS

CGI::Imagemap

CGI::Info

CGI::JSONRPC

CGI::Lazy

CGI::Lazy::Auth

CGI::Lazy::ModPerl

CGI::Lingua

CGI::List

CGI::Lite

CGI::MiniS
gin::RequireSSL

Catalyst::Plugin::Scheduler

Catalyst::Plugin::Server

Catalyst::Plugin::Server::JSONRPC

Catalyst::Plugin::Session::PerUser

Catalyst::Plugin::Session::State::Cookie

Catalyst::Plugi
WebService-Yahoo-BOSS ( P/PH/PHRED/WebService-Yahoo-BOSS-0.07.tar.gz, PHRED, 2011; MetaCPAN )
WebService-Yahoo-BOSS/lib/WebService/Yahoo/BOSS/Response.pm ( view source; MetaCPAN )
se - Response class for Yahoo BOSS searches

=cut

use strict;
use warnings;

use Any::Moose;
use JSON::XS ();
use Data::Dumper;

use WebService::Yahoo::BOSS::Response::Web;

has 'count'        => ( i
ct]', required => 1 );

sub parse {
    my ( $class, $content ) = @_;

    my $response = JSON::XS::decode_json($content);

    my $rc = $response->{bossresponse}->{responsecode};

    die "Boss respo
Plack-Middleware-RDF-Flow ( V/VO/VOJ/Plack-Middleware-RDF-Flow-0.171.tar.gz, VOJ, 2011; MetaCPAN )
Plack-Middleware-RDF-Flow/lib/Plack/Middleware/RDF/Flow.pm ( view source; MetaCPAN )
=> 'ntriples',
    rdf    => 'rdfxml',
    xml    => 'rdfxml',
    rdfxml => 'rdfxml',
    json   => 'rdfjson',
    ttl    => 'turtle'
);

sub prepare_app {
    my $self = shift;

    $self->formats( 
 (for L<RDF::Trine::Serializer>),
ttl (for L<RDF::Trine::Serializer::Turtle>), json (for
L<RDF::Trine::Serializer::RDFJSON>), and nt (for
L<RDF::Trine::Serializer::NTriples>) are supported.

=item via
JavaScript-JSLint ( S/SP/SPJW/JavaScript-JSLint-0.07.tar.gz, SPJW, 2011; MetaCPAN )
JavaScript-JSLint/lib/JavaScript/JSLint.pm ( view source; MetaCPAN )
Id$

package JavaScript::JSLint;

use strict;
use warnings;

use Carp;
use JavaScript;
use JSON qw(encode_json);

use base qw( Exporter );

our @EXPORT = qw( jslint );
our @EXPORT_OK = qw( jslint jsli
json(
        [ split(/\n/, $js_source) ]
    );

    my $predef = $opt{predef} || {};
    if ( $predef && ref $predef eq 'HASH' ) {
        %{$predef} = map {
            $_ => ( $predef->{$_} ? JSON
::true : JSON::false )
        } keys %{$predef};
    }
    $opt{predef} = $predef;

    my $opt_str = encode_json( { 
        map {
            $_ => (
                ($JSLINT_OPTIONS{$_} && $JSLINT
Zenoss ( P/PA/PATBAKER/Zenoss-1.11.tar.gz, PATBAKER, 2011; MetaCPAN )
Zenoss/lib/Zenoss/Router/Mib.pm ( view source; MetaCPAN )
ition = {
        required    => ['uid'],
        defaults    => {
            useFieldSets    => JSON::true,
        }
    };

    # Check the args
    $self->_check_args($args, $definition);

    # 
************************************
no Moose;

1;

__END__

=head1 NAME

Zenoss::Router::Mib - A JSON/ExtDirect interface to operations on MIBs

=head1 SYNOPSIS

    use Zenoss;
    my $api = Zenoss-
 defaults and return content.

The documentation for this module was mostly taken from the Zenoss JSON API docs.  Keep in mind
that their (Zenoss Monitoring System) programming is based around python,
Text-TEI-Collate ( A/AU/AURUM/Text-TEI-Collate-2.1.tar.gz, AURUM, 2011; MetaCPAN )
Text-TEI-Collate/lib/Text/TEI/Collate/Manuscript.pm ( view source; MetaCPAN )
pe 'SourceType',
	as 'Str',
	where { $_ =~ /^(xmldesc|plaintext|json)$/ },
	message { 'Source type must be one of xmldes, plaintext, json' };
	
subtype 'Sigil',
	as 'Str',
	where { $_ =~ /\A$xml10_nam
=> 'ro',
    isa => 'Str',
    default => 'Default',
    );

has 'source' => (  # Can be XML obj, JSON data struct, or string.
	is => 'ro',
	required => 1,
);

has 'msdesc' => (  # if we started with 
( length( $w_obj->word ) == 0 );
		push( @words, $w_obj );
 	}
 	return @words;
}

sub _init_from_json {
	my( $self, $wit ) = @_;
	$self->sigil( $wit->{'id'} );
	$self->identifier( $wit->{'name'} );
	
Test-Legal ( I/IO/IOANNIS/Test-Legal-0.10.tar.gz, IOANNIS, 2011; MetaCPAN )
Test-Legal/lib/Test/Legal.pm ( view source; MetaCPAN )
) copyright notices in .pl and .pm distribution files; (b) for author entry 
 in META.yml or META.json, which ever peresent; and (c) for existence of LICENSE file, with the
 correct license text autog
Decl ( M/MI/MICHAEL/Decl-0.11.tar.gz, MICHAEL, 2011; MetaCPAN )
Decl/lib/Decl/Node.pm ( view source; MetaCPAN )
parsed for
font-size-type, because you'd need curly brackets or something anyway, and this ain't JSON, it's just simple CSS-like parameter addressing.

=cut

sub parm_css {
   my ($self, $parame
Zenoss ( P/PA/PATBAKER/Zenoss-1.11.tar.gz, PATBAKER, 2011; MetaCPAN )
Zenoss/lib/Zenoss/Router/Events.pm ( view source; MetaCPAN )
         sort        => 'lastTime',
            dir         => 'DESC',
            history     => JSON::false,
        },
    };

    # Check the args
    $self->_check_args($args, $definition);

    
         sort        => 'lastTime',
            dir         => 'DESC',
            params      => JSON::null,
        },
    };

    # Check the args
    $self->_check_args($args, $definition);

    #
nition = {
        defaults    => {
            direction   => 'DESC',
            history     => JSON::false,
        },
    };

    # Check the args
    $self->_check_args($args, $definition);

    
Test-Legal ( I/IO/IOANNIS/Test-Legal-0.10.tar.gz, IOANNIS, 2011; MetaCPAN )
Test-Legal/lib/Test/Legal/Util.pm ( view source; MetaCPAN )
d_meta
 Input: filename or dir or CPAN::Meta object
 Output: CPAN::Meta object
 Loads either META.json (preferred) or META.yml
=cut
sub load_meta {
	my $base = shift || return;
    return $base if UNI
} 
    map { -T and -r and CPAN::Meta->load_file($_)  }
    map { $base . "/$_"}
        qw/ META.json META.yml /;
}
=pod

=head2  license_types

=cut
sub license_types {
	qw/ 
		AGPL_3       BSD     
Zenoss ( P/PA/PATBAKER/Zenoss-1.11.tar.gz, PATBAKER, 2011; MetaCPAN )
Zenoss/lib/Zenoss/Router/Messaging.pm ( view source; MetaCPAN )
******************************
no Moose;

1;

__END__

=head1 NAME

Zenoss::Router::Messaging - A JSON/ExtDirect interface to operations on messages

=head1 SYNOPSIS

    use Zenoss;
    my $api = Zen
 defaults and return content.

The documentation for this module was mostly taken from the Zenoss JSON API docs.  Keep in mind
that their (Zenoss Monitoring System) programming is based around python,
Decl ( M/MI/MICHAEL/Decl-0.11.tar.gz, MICHAEL, 2011; MetaCPAN )
Decl/lib/Decl/Template.pm ( view source; MetaCPAN )
e of templates
is to express data in display text.

Decl templates are based pretty closely on JSON::Templates (a system used in Python and Javascript that I rather like).

This class, instead of
         $value = scalar @$value;
      }
      # If the value is a hashref, run it through our JSONifier for output as a debugging value.
      # If it's an object, do .... hell, I dunno.  If it c
AnyMQ-AMQP ( C/CL/CLKAO/AnyMQ-AMQP-0.30.tar.gz, CLKAO, 2011; MetaCPAN )
AnyMQ-AMQP/lib/AnyMQ/Topic/Trait/AMQP.pm ( view source; MetaCPAN )
=> $self->name,
        header      => { reply_to => $self->bus->_rf_queue },
        body => JSON::to_json($_)
    ) for @events;
};

sub DEMOLISH {}; after 'DEMOLISH' => sub {
    my $self = shift;
Zenoss ( P/PA/PATBAKER/Zenoss-1.11.tar.gz, PATBAKER, 2011; MetaCPAN )
Zenoss/lib/Zenoss/Response.pm ( view source; MetaCPAN )
package Zenoss::Response;
use strict;
use JSON qw{};

use Moose;
with 'Zenoss::Error';

#**************************************************************************
# Public Attributes
#***************
,
    is          => 'ro',
    handles     => {
        # Proxy methods to HTTP::Response
        json                    => 'decoded_content',
        raw_response            => 'as_string',
        
time            => 'current_age',
    },
    required    => 1,
);

# Perl reference format of the JSON return data
has decoded => (
    is          => 'ro',
    isa         => 'Ref',
    builder     =
Catalyst-Engine-Stomp ( P/PM/PMOONEY/Catalyst-Engine-Stomp-0.17.tar.gz, PMOONEY, 2011; MetaCPAN )
Catalyst-Engine-Stomp/lib/Catalyst/Engine/Stomp.pm ( view source; MetaCPAN )
    utf8             => 1,
       subscribe_headers => {
         transformation       => 'jms-to-json',
       }
    },
  );
  MyApp->run();

  # In a controller, or controller base class:
  use base
61613'
       },
       ],
       subscribe_headers => {
         transformation       => 'jms-to-json',
       },
       connect_headers => {
         login => 'myuser',
         passcode => 'mypassw
HTML-HTML5-Outline ( T/TO/TOBYINK/HTML-HTML5-Outline-0.006.tar.gz, TOBYINK, 2011; MetaCPAN )
HTML-HTML5-Outline/lib/HTML/HTML5/Outline.pm ( view source; MetaCPAN )
NAME

HTML::HTML5::Outline - implementation of the HTML5 Outline algorithm

=head1 SYNOPSIS

	use JSON;
	use HTML::HTML5::Outline;
	
	my $html = <<'HTML';
	<!doctype html>
	<h1>Hello</h1>
	<h2>World</
Morning</h1>
	<h2>Vietnam</h2>
	HTML
	
	my $outline = HTML::HTML5::Outline->new($html);
	print to_json($outline->to_hashref, {pretty=>1,canonical=>1});

=head1 DESCRIPTION

This is an implementation o
 algorithm, as per
L<http://www.w3.org/TR/html5/sections.html#outlines>.

The module can output a JSON-friendly hashref, or an RDF model.

=head2 Constructor

=over

=item * C<< HTML::HTML5::Outline->

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