Group
Extension

Matches 35358

Mojolicious-Plugin-ReplyTable ( J/JB/JBERGER/Mojolicious-Plugin-ReplyTable-0.13.tar.gz, JBERGER, 2024; MetaCPAN )
Mojolicious-Plugin-ReplyTable/lib/Mojolicious/Plugin/ReplyTable.pm ( view source; MetaCPAN )
] ? undef : shift;
  my $data = shift || die 'table data is required';
  my %respond = (
    json => { json => $data },
    html => { template => 'reply_table', 'reply_table.table' => $data },
    csv

  use Mojolicious::Lite;
  plugin 'ReplyTable';

  my $format = [format => [qw(
    txt csv html json
    xls xlsx
  )]];
  any '/table' => $format => sub {
    my $c = shift;
    my $data = [
      
is available to the template via the stash key C<reply_table.table>.

=head3 json

Implemented via the standard L<Mojo::JSON> handling.

=head3 txt

A textual representation of the table.
This format 
Net-Async-Slack ( T/TE/TEAM/Net-Async-Slack-0.015.tar.gz, TEAM, 2024; MetaCPAN )
Net-Async-Slack/lib/Net/Async/Slack/Event/PinAdded.pod ( view source; MetaCPAN )
ead1 INHERITED METHODS

=over 4

=item L<Net::Async::Slack::EventType>

L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
Net-Async-Slack ( T/TE/TEAM/Net-Async-Slack-0.015.tar.gz, TEAM, 2024; MetaCPAN )
Net-Async-Slack/lib/Net/Async/Slack/Event/Shortcut.pod ( view source; MetaCPAN )
ead1 INHERITED METHODS

=over 4

=item L<Net::Async::Slack::EventType>

L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
Net-Async-Slack ( T/TE/TEAM/Net-Async-Slack-0.015.tar.gz, TEAM, 2024; MetaCPAN )
Net-Async-Slack/lib/Net/Async/Slack/Event/ScopeGranted.pod ( view source; MetaCPAN )
ead1 INHERITED METHODS

=over 4

=item L<Net::Async::Slack::EventType>

L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
Net-Async-Slack ( T/TE/TEAM/Net-Async-Slack-0.015.tar.gz, TEAM, 2024; MetaCPAN )
Net-Async-Slack/lib/Net/Async/Slack/Event/SlashCommands.pod ( view source; MetaCPAN )
ead1 INHERITED METHODS

=over 4

=item L<Net::Async::Slack::EventType>

L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
Net-Async-Slack ( T/TE/TEAM/Net-Async-Slack-0.015.tar.gz, TEAM, 2024; MetaCPAN )
Net-Async-Slack/lib/Net/Async/Slack/Event/MessageMpim.pod ( view source; MetaCPAN )
ead1 INHERITED METHODS

=over 4

=item L<Net::Async::Slack::EventType>

L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
Net-Async-Slack ( T/TE/TEAM/Net-Async-Slack-0.015.tar.gz, TEAM, 2024; MetaCPAN )
Net-Async-Slack/lib/Net/Async/Slack/Event/TeamRename.pod ( view source; MetaCPAN )
ead1 INHERITED METHODS

=over 4

=item L<Net::Async::Slack::EventType>

L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
Net-Async-Slack ( T/TE/TEAM/Net-Async-Slack-0.015.tar.gz, TEAM, 2024; MetaCPAN )
Net-Async-Slack/lib/Net/Async/Slack/Event/ReactionRemoved.pod ( view source; MetaCPAN )
ead1 INHERITED METHODS

=over 4

=item L<Net::Async::Slack::EventType>

L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
Net-Async-Slack ( T/TE/TEAM/Net-Async-Slack-0.015.tar.gz, TEAM, 2024; MetaCPAN )
Net-Async-Slack/lib/Net/Async/Slack/Event/FileUnshared.pod ( view source; MetaCPAN )
ead1 INHERITED METHODS

=over 4

=item L<Net::Async::Slack::EventType>

L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
Net-Async-Slack ( T/TE/TEAM/Net-Async-Slack-0.015.tar.gz, TEAM, 2024; MetaCPAN )
Net-Async-Slack/lib/Net/Async/Slack/Event/GroupArchive.pod ( view source; MetaCPAN )
ead1 INHERITED METHODS

=over 4

=item L<Net::Async::Slack::EventType>

L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
Net-Async-Slack ( T/TE/TEAM/Net-Async-Slack-0.015.tar.gz, TEAM, 2024; MetaCPAN )
Net-Async-Slack/lib/Net/Async/Slack/Event/PinRemoved.pod ( view source; MetaCPAN )
ead1 INHERITED METHODS

=over 4

=item L<Net::Async::Slack::EventType>

L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
App-ArduinoBuilder ( M/MA/MATHIAS/Dist-Setup/App-ArduinoBuilder-0.08.tar.gz, MATHIAS, 2024; MetaCPAN )
App-ArduinoBuilder/lib/App/ArduinoBuilder/JsonTool.pm ( view source; MetaCPAN )
package App::ArduinoBuilder::JsonTool;

# Package that implement bi-directionnal communication with a tool talking
# JSON (like the Arduino pluggable discovery and monitor tools).

use strict;
use war
nings;
use utf8;

use App::ArduinoBuilder::System 'split_cmd';
use JSON::PP;
use IPC::Run  qw(start pump finish timeout);
use Log::Any::Simple ':default';

# TODO: look into what should be done with U
ut_exn;

sub new {
  my ($class, $cmd) = @_;

  my $this = bless {
    out => '',  # Out from the JsonTool class point of view, this will be the tool STDIN
    in => '',  # This will be the tool STDOU
Perinci-Examples ( P/PE/PERLANCAR/Perinci-Examples-0.825.tar.gz, PERLANCAR, 2024; MetaCPAN )
Perinci-Examples/lib/Perinci/Examples/Tiny/Result.pm ( view source; MetaCPAN )
    description => <<'_',

This is an example of result that needs cleaning if to be displayed as JSON.

_
    args => {
    },
};
sub returns_circular {
    my $circ = [1, 2, 3];
    push @$circ, $ci
    description => <<'_',

This is an example of result that needs cleaning if to be displayed as JSON.

_
    args => {
    },
};
sub returns_scalar_ref {
    [200, "OK", \10];
}

1;
# ABSTRACT: Test
turns circular structure.

This is an example of result that needs cleaning if to be displayed as JSON.

This function is not exported.

No arguments.

Returns an enveloped result (an array).

First e
Perinci-Examples ( P/PE/PERLANCAR/Perinci-Examples-0.825.tar.gz, PERLANCAR, 2024; MetaCPAN )
Perinci-Examples/lib/Perinci/Examples.pm ( view source; MetaCPAN )
tr'  },
        action  => { schema => 'str'  },
        version => { schema => 'str'  },
        json    => { schema => 'bool' },
        yaml    => { schema => 'bool' },
        perl    => { schema 
 the `default` property
of the argument specification, the metadata is also not JSON-safe.

To pass binary data over JSON/Riap, you can use Riap version 1.2 and encode the
argument with ":base64" suff
.

To receive binary result over JSON/Riap, you can use Riap version 1.2 which will
automatically encode binary data with base64 so it is safe when transformed as
JSON. The client library will also de
Perinci-Examples ( P/PE/PERLANCAR/Perinci-Examples-0.825.tar.gz, PERLANCAR, 2024; MetaCPAN )
Perinci-Examples/lib/Perinci/Examples/CmdLineResMeta.pm ( view source; MetaCPAN )
mmary => 'Set cmdline.default_format json',
    args => {
    },
};
sub default_format {
    my %args = @_;
    [200, "OK", undef, {'cmdline.default_format'=>'json'}];
}

$SPEC{skip_format} = {
    v 
 default_format() -> [$status_code, $reason, $payload, \%result_meta]

Set cmdline.default_format json.

This function is not exported.

No arguments.

Returns an enveloped result (an array).

First e
App-ArduinoBuilder ( M/MA/MATHIAS/Dist-Setup/App-ArduinoBuilder-0.08.tar.gz, MATHIAS, 2024; MetaCPAN )
App-ArduinoBuilder/lib/App/ArduinoBuilder.pm ( view source; MetaCPAN )
s that we are not handling yet from:
  # https://arduino.github.io/arduino-cli/0.32/package_index_json-specification/#how-a-tools-path-is-determined-in-platformtxt

  trace "Complete configuration: \n
Geo-Coder-Mapbox ( N/NH/NHORNE/Geo-Coder-Mapbox-0.02.tar.gz, NHORNE, 2024; MetaCPAN )
Geo-Coder-Mapbox/lib/Geo/Coder/Mapbox.pm ( view source; MetaCPAN )
package Geo::Coder::Mapbox;

use strict;
use warnings;

use Carp;
use Encode;
use JSON::MaybeXS;
use HTTP::Request;
use LWP::UserAgent;
use LWP::Protocol::https;
use URI;

=head1 NAME

Geo::Coder::Map
8($location);
	}

	my $uri = URI->new("https://$self->{host}/geocoding/v5/mapbox.places/$location.json");
	$location =~ s/\s/+/g;
	my %query_parameters = ('access_token' => $self->{'access_token'});
	
ned error: on $url ", $res->status_line());
		return { };
	}

	my $json = JSON::MaybeXS->new()->utf8();
	my $rc;
	eval {
		$rc = $json->decode($res->content());
	};
	if(!defined($rc)) {
		if($@) {
			
Perinci-Examples ( P/PE/PERLANCAR/Perinci-Examples-0.825.tar.gz, PERLANCAR, 2024; MetaCPAN )
Perinci-Examples/lib/Perinci/Examples/CLI.pm ( view source; MetaCPAN )
_',

Argument with non-scalar types (like array or hash) can be specified in the CLI
using `--ARG-json` or `--ARG-yaml`. Arguments with type of array of string can
also be specified using multiple `--
    test => 0,
        },
        {
            argv => ['--int1', '20', '--str1', 'x', '--array1-json', '[1,2]'],
            summary => 'A second example',
            test => 0,
        },
    ],
}
l.

Argument with non-scalar types (like array or hash) can be specified in the CLI
using C<--ARG-json> or C<--ARG-yaml>. Arguments with type of array of string can
also be specified using multiple C<
Kwalify ( S/SR/SREZIC/Kwalify-1.24.tar.gz, SREZIC, 2024; MetaCPAN )
Kwalify/lib/Kwalify.pm ( view source; MetaCPAN )
ed together with YAML or JSON:

  use YAML;
  validate(YAML::LoadFile($schema_file), YAML::LoadFile($data_file));

  use JSON;
  validate(decode_json($schema_data), decode_json($data));

=head1 DESCRI
Perinci-Examples ( P/PE/PERLANCAR/Perinci-Examples-0.825.tar.gz, PERLANCAR, 2024; MetaCPAN )
Perinci-Examples/lib/Perinci/Examples/Stream.pm ( view source; MetaCPAN )
demonstration of accepting a stream of hashes. In command-line
application this will translate to JSON stream.

_
    args => {
        input => {
            req => 1,
            stream => 1,
      
demonstration of accepting a stream of hashes. In command-line
application this will translate to JSON stream.

This function is not exported.

Arguments ('*' denotes required arguments):

=over 4

=i

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