cwd> )
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Test::File::ShareDir::Object::Dist",
"interface":"class",
"inherits":"Class::Tiny::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent F
(bpf => @_) }
###
sub is_file { (shift->_xs || return)->is_file }
sub is_json { (shift->_xs || return)->is_json }
sub is_sock { (shift->_xs || return)->is_sock }
sub is_pres { (shift->_xs
ror($@) && ($fatal ? croak $@ : return);
$self->_init_input($spec, $io, $xs, %opt);
}
sub open_json {
my($self, $spec, $fatal, %opt) = shift->_open_init(@_);
my $io;
eval { $io = $self->HANDL
$self->error($@) && ($fatal ? croak $@ : return);
my $xs;
eval { $xs = $self->INPUT_XS->open_json($io) };
$@ && $self->error($@) && ($fatal ? croak $@ : return);
$self->_init_input($spec, $io
arn "Expected: delta_deps OLD.JSON NEW.JSON";
}
use JSON;
use Data::Dump qw( pp );
use Path::Tiny qw( path );
use Data::Difference qw( data_diff );
my $transcoder = JSON->new();
my $left = $tr
ir>.
=back
I<Since 1.001000>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Test::File::ShareDir",
"interface":"exporter"
}
=end MetaPOD::JSON
=head1 THANKS
Thanks to the C<#distzilla> cre
make it the non-first key.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Test::File::ShareDir::Module",
"interface":"exporter"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.o
instance of this object.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Test::File::ShareDir::TempDirObject",
"interface":"class"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan
make it the non-first key.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Test::File::ShareDir::Dist",
"interface":"exporter"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.or
t($rate, $freq)])
}
###
sub is_file { (shift->_xs || return)->is_file }
sub is_json { (shift->_xs || return)->is_json }
sub is_sock { (shift->_xs || return)->is_sock }
sub is_pres { (shift->_xs || r
($fatal ? croak $self->error : return);
$self->_init_output($spec, $io, $xs, %opt);
}
sub open_json {
my($self, $spec, $fatal, %opt) = shift->_open_init(@_);
my $io;
eval { $io = $self->HANDL
or($@) && ($fatal ? croak $self->error : return);
my $xs;
eval { $xs = $self->OUTPUT_XS->open_json($io) };
$@ && $self->error($@) && ($fatal ? croak $self->error : return);
$self->_init_output
f nmsg_input_t Net__Nmsg__XS__input_file;
typedef nmsg_input_t Net__Nmsg__XS__input_json;
typedef nmsg_input_t Net__Nmsg__XS__input_sock;
typedef nmsg_input_t Net__Nmsg__XS
nmsg_output_t Net__Nmsg__XS__output_file;
typedef nmsg_output_t Net__Nmsg__XS__output_json;
typedef nmsg_output_t Net__Nmsg__XS__output_sock;
typedef nmsg_output_t Net__Nmsg__X
TVAL
Net::Nmsg::XS::input_json
nmsg_input_open_json(CLASS, fh)
const char *CLASS
PerlIO *fh
CODE:
PERL_UNUSED_VAR(CLASS);
RETVAL = nmsg_input_open_json(PerlIO_fileno(fh));
i
ersion::Next qw(next_version);
use Path::Tiny qw(path);
use Capture::Tiny qw(capture_stdout);
use JSON;
use CPAN::Changes;
use CPAN::Changes::Group::Dependencies::Stats;
use CPAN::Changes::Dependencie
r get_sha $sha\n");
return join qq[\n], $git->cat_file( '-p', $sha );
}
);
}
sub get_json_prereqs {
my ($commitish) = @_;
if ( $commitish !~ /\d\.\d/ ) {
$commitish = rev_sha($com
data\n");
my $sha1 = file_sha( $commitish, 'META.json' );
if ( defined $sha1 and length $sha1 ) {
return CPAN::Meta->load_json_string( get_sha($sha1) );
}
$sha1 = file_
arn "Expected: delta_deps OLD.JSON NEW.JSON";
}
use JSON;
use Data::Dump qw( pp );
use Path::Tiny qw( path );
use Data::Difference qw( data_diff );
my $transcoder = JSON->new();
my $left = $tr
eference.
=head1 METHODS
=head2 C<gather_files>
generates a C<dist.ini> file.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Dist::Zilla::Plugin::Author::KENTNL::DistINI",
"interface":"class"
rule_VersionsToCode>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"CPAN::Changes::Markdown::Filter::RuleUtil",
"interface":"exporter"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl
s part of their token to code spans.
=head1 METHODS
=head2 C<filter_plaintext>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"CPAN::Changes::Markdown::Filter::Rule::UnderscoredToCode",
"interf
o::Object",
"does":"CPAN::Changes::Markdown::Role::Filter::Rule::PlainText"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
$self->process( $text );
=begin MetaPOD::JSON v1.1.0
{
"namespace":"CPAN::Changes::Markdown::Role::Filter",
"interface":"role"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpa
{'pid'});
=cut
our $VERSION = '0.23'; # VERSION
use Carp;
use Try::Tiny;
use URI::Escape;
use JSON;
use LWP::UserAgent;
use Moose;
has 'baseURL' => (
is => 'ro',
isa => 'Str',
defa
of domains/PADs
=cut
sub listPADs {
my ($self) = @_;
my $requestPayload = {
'output' => 'json',
'user' => $self -> username,
'pass' => $self -> password,
};
my $url = $self -> base
_line;
}
my $json = decode_json($response -> decoded_content);
unless ($json -> {'resultCode'} && $json -> {'resultCode'} == 200) {
die 'Invalid $json -> {resultCode}: ' . ($json -> {'resultCod
RES
=head2 C<filter>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"CPAN::Changes::Markdown::Role::Filter::Rule",
"interface":"role"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@
gs;
use AnyEvent;
use AnyEvent::Socket 'tcp_connect';
use AnyEvent::HTTP;
use LWP::UserAgent;
use JSON;
use LWP::Protocol::http::SocketUnixAlt;
=head2 new
Constructor
=cut
sub new {
my $class
;
}
=head2 json
Getter/Setter for internal hash key json.
=cut
sub json {
return $_[0]->{json} || JSON->new->utf8() unless $_[1];
$_[0]->{json} = $_[1];
return $_[0]->{json};
}
=head2
ttp_request( $path, $query ), $callback ) unless $body;
return $self->request( $self->_handle_json( $path, $query, $body ), $callback )
unless ($options);
return $self->request( $self->_
r->process( $input );
# $output == $input
=head1 METHODS
=head2 C<process>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"CPAN::Changes::Markdown::Filter::Passthrough",
"interface":"class"
"does":"CPAN::Changes::Markdown::Role::Filter",
"inherits":"Moo::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
ife::Cmd::Search;
use Chef::Knife::Cmd::DataBag;
use Shell::Carapace;
use String::ShellQuote;
use JSON::MaybeXS;
our $VERSION = "0.15";
=head1 NAME
Chef::Knife::Cmd - A small wrapper around the Che
hods return the output of the cmd as a hashref when '--format json' is used
my $hashref = $knife->node->show('mynode', format => 'json');
# =>
# {
# name => "mynode",
w', default => sub { 0 });
has shell => (is => 'lazy');
has format => (is => 'rw');
has _json_flag => (is => 'rw');
has callback => (is => 'rw');
has output => (is => 'rw');
has clien