Group
Extension

Matches 35358

Chart-Plotly ( P/PA/PABLROD/Chart-Plotly-0.042.tar.gz, PABLROD, 2022; MetaCPAN )
Chart-Plotly/lib/Chart/Plotly/Trace/Scatter/Hoverlabel/Font.pm ( view source; MetaCPAN )
VERSION

# ABSTRACT: This attribute is one of the possible options for the trace scatter.

sub TO_JSON {
    my $self       = shift;
    my $extra_args = $self->extra_args // {};
    my $meta       = 
y and I want to use it with perl.

=head1 METHODS

=head2 TO_JSON

Serialize the trace to JSON. This method should be called only by L<JSON> serializer.

=head1 ATTRIBUTES

=over

=item * color

=item
Net-IPAM-Block ( G/GA/GAISSMAI/Net-IPAM-Block-6.01.tar.gz, GAISSMAI, 2022; MetaCPAN )
Net-IPAM-Block/lib/Net/IPAM/Block.pm ( view source; MetaCPAN )
f->{last}->to_string;
}

=head2 TO_JSON

helper method for JSON serialization, just calls $block->to_string.
See also L<JSON/OBJECT SERIALISATION>.

=cut

sub TO_JSON {
  $_[0]->to_string;
}

=head2 i
X-Tiny ( F/FE/FELIPE/X-Tiny-0.22.tar.gz, FELIPE, 2022; MetaCPAN )
X-Tiny/lib/X/Tiny/Base.pm ( view source; MetaCPAN )
n attribute.

=cut

sub get {
    my ( $self, $attr ) = @_;

    #Do we need to clone this? Could JSON suffice, or do we need Clone?
    return $self->[1]{$attr};
}

=head2 I<OBJ>->to_string()

Create
Net-IPAM-IP ( G/GA/GAISSMAI/Net-IPAM-IP-4.01.tar.gz, GAISSMAI, 2022; MetaCPAN )
Net-IPAM-IP/lib/Net/IPAM/IP.pm ( view source; MetaCPAN )
ocket::AF_INET6, $n );
}

=head2 TO_JSON

helper method for JSON serialization, just calls $ip->to_string.
See also L<JSON/OBJECT SERIALISATION>.

=cut

sub TO_JSON {
  $_[0]->to_string;
}

=head2 inc
Search-Elasticsearch-Client-6_0 ( E/EZ/EZIMUEL/Search-Elasticsearch-Client-6_0-7.717.tar.gz, EZIMUEL, 2022; MetaCPAN )
Search-Elasticsearch-Client-6_0/lib/Search/Elasticsearch/Client/6_0/Direct/XPack/License.pm ( view source; MetaCPAN )
;

The C<post()> method adds or updates the license for the cluster. The C<body>
can be passed as JSON or as a string.

See the L<license.put docs|https://www.elastic.co/guide/en/x-pack/current/instal
FlatFile ( A/AR/ARISTOTLE/FlatFile-0.12.tar.gz, ARISTOTLE, 2022; MetaCPAN )
FlatFile/boilerplate.pl ( view source; MetaCPAN )
V[0] or die "Cannot chdir to $ARGV[0]: $!\n";

my %file;

my $meta = CPAN::Meta->load_file( 'META.json' );

my $license = do {
	my @key = ( $meta->license, $meta->meta_spec_version );
	my ( $class, @a
Mojolicious-Plugin-Webpack ( J/JH/JHTHORSEN/Mojolicious-Plugin-Webpack-1.02.tar.gz, JHTHORSEN, 2022; MetaCPAN )
Mojolicious-Plugin-Webpack/lib/Mojo/Alien/webpack.pm ( view source; MetaCPAN )
ub {
  my $self = shift;
  Mojo::Alien::npm->new(config => $self->config->dirname->child('package.json'), mode => $self->mode);
};

has out_dir => sub { shift->config->dirname->child('dist') };

sub a
 'vue-loader'});
};
@@ webpack.config.js
const fs = require('fs');
const pkg = require('./package.json');
const path = require('path');

const assetsDir = process.env.WEBPACK_ASSETS_DIR || path.resolv
App-Git-Workflow ( I/IV/IVANWILLS/App-Git-Workflow-v1.1.20.tar.gz, IVANWILLS, 2022; MetaCPAN )
App-Git-Workflow/lib/App/Git/Workflow/Pom.pm ( view source; MetaCPAN )
&& $pom =~ /[.]json$/ ) {
        require JSON;
        my $json = eval { JSON::decode_json($xml) }
            or do { warn "Could not read $xml as json : $@\n"; };
        return $json->{version};
 
 }
    if ( $pom && $pom =~ /[.]ya?ml$/ ) {
        require YAML;
        my $json = YAML::Load($xml);
        return $json->{version};
    }

    my $doc = XML::Tiny::parsefile( $xml !~ /\n/ && -f $x
Mojolicious-Plugin-Webpack ( J/JH/JHTHORSEN/Mojolicious-Plugin-Webpack-1.02.tar.gz, JHTHORSEN, 2022; MetaCPAN )
Mojolicious-Plugin-Webpack/lib/Mojo/Alien/rollup.pm ( view source; MetaCPAN )
push(svelte({}));
};
@@ rollup.config.js
const fs = require('fs');
const pkg = require('./package.json');
const path = require('path');

const assetsDir = process.env.ROLLUP_ASSETS_DIR || path.resolve
App-Git-Workflow ( I/IV/IVANWILLS/App-Git-Workflow-v1.1.20.tar.gz, IVANWILLS, 2022; MetaCPAN )
App-Git-Workflow/lib/App/Git/Workflow/Command/Committers.pm ( view source; MetaCPAN )
totals{commit_count}\n";
    }

    return;
}

sub fmt_json {
    my ($self, $users, $total) = @_;
    require JSON;

    print JSON::encode_json({ total => $total, users => $users });
}

sub fmt_perl
h --format json)
  -s --since[=]YYYY-MM-DD
                Only commits since this date
  -u --until[=]YYYY-MM-DD
                Only commits up until this date
  -f --format[=](table|json|csv)
     
                 - table : shows the data in a simple table
                   - json  : returns the raw data as a json object
                   - perl  : Dump the data structure
  -p --period=[day|w
Mojolicious-Plugin-Webpack ( J/JH/JHTHORSEN/Mojolicious-Plugin-Webpack-1.02.tar.gz, JHTHORSEN, 2022; MetaCPAN )
Mojolicious-Plugin-Webpack/lib/Mojo/Alien/npm.pm ( view source; MetaCPAN )
Mojo::Base -base;

use Carp qw(croak);
use File::chdir;
use Mojo::File qw(path);
use Mojo::JSON qw(decode_json false);

use constant DEBUG => ($ENV{MOJO_NPM_DEBUG} || $ENV{MOJO_WEBPACK_DEBUG}) && 1;

abs->child('package.json') };
has mode   => sub { $ENV{NODE_ENV} || 'development' };

sub dependencies {
  my $self = shift;
  croak "Can't get dependency info without package.json" unless -r $self->c
onfig;

  my @args = $self->binary eq 'pnpm' ? qw(ls --json --silent) : qw(ls --json --parseable --silent);
  my $dependencies;

  eval {
    my $NPM = $self->_run(@args);

    # "WARN" might come fro
Mojolicious-Plugin-Webpack ( J/JH/JHTHORSEN/Mojolicious-Plugin-Webpack-1.02.tar.gz, JHTHORSEN, 2022; MetaCPAN )
Mojolicious-Plugin-Webpack/lib/Mojolicious/Plugin/Webpack.pm ( view source; MetaCPAN )
or L<https://rollupjs.org/>. This plugin
will...

=over 2

=item 1.

Generate a minimal C<package.json> and a Webpack or Rollup config file. Doing
this manually is possible, but it can be quite time c
Search-Elasticsearch-Client-6_0 ( E/EZ/EZIMUEL/Search-Elasticsearch-Client-6_0-7.717.tar.gz, EZIMUEL, 2022; MetaCPAN )
Search-Elasticsearch-Client-6_0/lib/Search/Elasticsearch/Client/6_0/Direct.pm ( view source; MetaCPAN )
pt only a JSON C<true> or C<false>, or the string equivalents C<"true"> or C<"false">.

In the Perl client, you can use the following values:

=over

=item * True: C<true>, C<\1>, or a L<JSON::PP::Boo
lse>, C<\0>, or a L<JSON::PP::Boolean> object.

=back

=head2 Filter path parameter

Any API which returns a JSON body accepts a C<filter_path> parameter
which will filter the JSON down to only the sp
ional
    );

Renders the template, filling in the passed-in parameters and returns the resulting JSON, eg:

    $results = $e->render_search_template(
        body => {
            source => {
      
Search-Elasticsearch-Client-6_0-Async ( E/EZ/EZIMUEL/Search-Elasticsearch-Client-6_0-Async-7.717.tar.gz, EZIMUEL, 2022; MetaCPAN )
Search-Elasticsearch-Client-6_0-Async/lib/Search/Elasticsearch/Client/6_0/Async/Bulk.pm ( view source; MetaCPAN )
@actions  = @_;

    my $weak_add;
    my $add = sub {
        while (@actions) {
            my @json = try {
                $self->_encode_action( splice( @actions, 0, 2 ) );
            }
        
     };
            return unless @json;

            push @$buffer, @json;

            my $size = $self->_buffer_size;
            $size += length($_) + 1 for @json;
            $self->_buffer_size(
s a queue, buffering up actions
until it reaches a maximum count of actions, or a maximum size of JSON request
body, at which point it issues a C<bulk()> request.

Once you have finished adding action
Search-Elasticsearch-Client-6_0 ( E/EZ/EZIMUEL/Search-Elasticsearch-Client-6_0-7.717.tar.gz, EZIMUEL, 2022; MetaCPAN )
Search-Elasticsearch-Client-6_0/lib/Search/Elasticsearch/Client/6_0/Bulk.pm ( view source; MetaCPAN )
@_) {
        my @json = $self->_encode_action( splice( @_, 0, 2 ) );

        push @$buffer, @json;

        my $size = $self->_buffer_size;
        $size += length($_) + 1 for @json;
        $self->
s a queue, buffering up actions
until it reaches a maximum count of actions, or a maximum size of JSON request
body, at which point it issues a C<bulk()> request.

Once you have finished adding action
 by setting C<max_count> to C<0>. Defaults to
C<1,000>.

=item * C<max_size>

The maximum size of JSON request body to allow before triggering a
L</flush()>.  This can be disabled by setting C<max_siz
Monitoring-Sneck-Boop_Snoot ( V/VV/VVELOX/Monitoring-Sneck-Boop_Snoot-0.2.0.tar.gz, VVELOX, 2022; MetaCPAN )
Monitoring-Sneck-Boop_Snoot/lib/Monitoring/Sneck/Boop_Snoot.pm ( view source; MetaCPAN )
option is taken and that is the hostname to poll.

This will die on snmpget failure.

    my $raw_json=$$sneck_snoot_booper->boop_the_snoot($host);

=cut

sub boop_the_snoot {
	my $self = $_[0];
	my $
oid, $json ) = split( /\ +/, $returned, 2 );
	$json =~ s/^\"//;
	$json =~ s/\"$//;

	# check for base64 incasae the return has been gzipped
	if ($json =~ /^[A-Za-z0-9\/\+\n]+\=*\n*$/ ) {
		$json = gun
zip(decode_base64($json));
	}

	return $json;
}

=head1 AUTHOR

Zane C. Bowers-Hadley, C<< <vvelox at vvelox.net> >>

=head1 BUGS

Please report any bugs or feature requests to C<bug-monitoring-sneck-
App-Git-Workflow ( I/IV/IVANWILLS/App-Git-Workflow-v1.1.20.tar.gz, IVANWILLS, 2022; MetaCPAN )
App-Git-Workflow/lib/App/Git/Workflow/Command/Recent.pm ( view source; MetaCPAN )
t = 1;
    print Dumper $changed;

    return;
}

sub out_json {
    my ($self, $changed) = @_;

    require JSON;
    print JSON::encode_json($changed), "\n";

    return;
}

sub out_yaml {
    my ($
1.1.20

=head1 SYNOPSIS

   git-recent [-since=YYYY-MM-DD|--day|--week|--month] [(-o|--out) [text|json|perl]]
   git-recent --help
   git-recent --man
   git-recent --version

 OPTIONS:
  -s --since[=
-o --out[=](text|json|perl)
                Specify how to display the results
                    - text : Nice human readable format (Default)
                    - json : as a JSON object
         
App-Git-Workflow ( I/IV/IVANWILLS/App-Git-Workflow-v1.1.20.tar.gz, IVANWILLS, 2022; MetaCPAN )
App-Git-Workflow/lib/App/Git/Workflow/Command/Pom.pm ( view source; MetaCPAN )
;
        }
    }

    return;
}

1;

__DATA__

=head1 NAME

git-pom - Manage pom.xml (or package.json) file versions

=head1 VERSION

This documentation refers to git-pom version 1.1.20

=head1 SYNOP
Weather-PurpleAir-API ( T/TT/TTKCIAR/Weather-PurpleAir-API-0.09.tar.gz, TTKCIAR, 2022; MetaCPAN )
Weather-PurpleAir-API/lib/Weather/PurpleAir/API.pm ( view source; MetaCPAN )
air quality sensor API

use strict;
use warnings;
use v5.10.0;  # provides "say" and "state"

use JSON::MaybeXS;
use File::Valet;
use HTTP::Tiny;
use Time::HiRes;
use String::Similarity qw(similarity)
 exception is caught (for instance, when a JSON string does not decode).

=item C<js_or> (C<JSON::MaybeXS> object reference)

Contains a reference to the JSON decoder object used internally.  May be o
ried.  Useful for testing, or if you have your own server.

Default is "https://www.purpleair.com/json?show=", to which the sensor ID is appended by the C<sensor_url> method.

=item C<average> =E<gt> 
AnyEvent-SlackRTM ( H/HA/HANENKAMP/AnyEvent-SlackRTM-1.3.tar.gz, HANENKAMP, 2022; MetaCPAN )
AnyEvent-SlackRTM/lib/AnyEvent/SlackRTM.pm ( view source; MetaCPAN )
th the Slack RTM API

use AnyEvent;
use AnyEvent::WebSocket::Client 0.12;
use Carp;
use Furl;
use JSON;
use Try::Tiny;

our $START_URL = 'https://slack.com/api/rtm.connect';


sub new {
    my ($class
 $res = $furl->get($START_URL . '?token=' . $self->{token});
    my $start = try {
        decode_json($res->content);
    }
    catch {
        my $status = $res->status;
        my $message = $res->
ished"
    if $self->{finished};

    $msg->{id} = $self->{id}++;

    $self->{conn}->send(encode_json($msg));
}


sub ping {
    my ($self, $msg) = @_;

    $self->send({
        %{ $msg // {} },
   

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