Group
Extension

Matches 35358

File-LsColor ( W/WO/WOLDRICH/File-LsColor-0.544.tar.gz, WOLDRICH, 2023; MetaCPAN )
File-LsColor/lib/File/LsColor.pm ( view source; MetaCPAN )
:*.md=38;5;184:
*.mkd=38;5;184:*.nfo=38;5;184:*.pod=38;5;184:*.tex=38;5;184:*.textile=38;5;184:
*.json=38;5;178:*.msg=38;5;178:*.pgn=38;5;178:*.rss=38;5;178:*.xml=38;5;178:
*.yml=38;5;178:*.RData=38;5
CPAN-Perl-Releases-MetaCPAN ( S/SK/SKAJI/CPAN-Perl-Releases-MetaCPAN-0.009.tar.gz, SKAJI, 2024; MetaCPAN )
CPAN-Perl-Releases-MetaCPAN/lib/CPAN/Perl/Releases/MetaCPAN.pm ( view source; MetaCPAN )
package CPAN::Perl::Releases::MetaCPAN;
use strict;
use warnings;

our $VERSION = '0.009';
use JSON::PP ();
use HTTP::Tinyish;

use Exporter 'import';
our @EXPORT_OK = qw(perl_tarballs perl_versions p
, agent => __PACKAGE__ . "/$VERSION");
    my $json = JSON::PP->new->canonical(1);
    bless { uri => $uri, http => $http, cache => $cache, json => $json }, $class;
}

sub get {
    my $self = shift;
        { term => { distribution => "perl" } },
                        { term => { authorized => JSON::PP::true } },
                    ],
                },
            },
            size => 1000,
Perl-LanguageServer ( G/GR/GRICHTER/Perl-LanguageServer-2.6.2.tar.gz, GRICHTER, 2023; MetaCPAN )
Perl-LanguageServer/lib/Perl/LanguageServer/DebuggerInterface.pm ( view source; MetaCPAN )
uageServer::DebuggerInterface ;

#use DB;

our @ISA = qw(DB);

use strict ;

use IO::Socket ;
use JSON ;
use PadWalker ;
use Scalar::Util qw{blessed reftype looks_like_number};
use Hash::SafeKeys;
#us
ax_display = 5 ;
our $debug = 0 ;
our $session = $ENV{PLSDI_SESSION} || 1 ;
our $socket ;
our $json = JSON -> new -> utf8(1) -> ascii(1) ;
our @evalresult ;
our %postponed_breakpoints ;
our $breakpoin
;

    my $outdata = $json -> encode ($result) ;
    use bytes ;
    my $len  = length($outdata) ;
    my $wrdata = "Content-Length: $len\r\nContent-Type: application/vscode-jsonrpc; charset=utf-8\r\n
CrowdSec-Client ( G/GU/GUIMARD/CrowdSec-Client-0.04.tar.gz, GUIMARD, 2023; MetaCPAN )
CrowdSec-Client/lib/CrowdSec/Client.pm ( view source; MetaCPAN )
package CrowdSec::Client;

use strict;
use Date::Parse;
use HTTP::Request::Common;
use JSON;
use LWP::UserAgent;
use Moo;
use POSIX "strftime";

our $VERSION = '0.04';

# Default alert template
our %D
 => 'Banned by CrowdSec::Client',
    scenario  => 'Banned by CrowdSec::Client',
    simulated => JSON::false,
    type      => 'ban',
);

# Watcher accessors
has machineId => ( is => 'ro' );
has pass
1/watchers/login',
        Accept       => 'application/json',
        Content_Type => 'application/json',
        Content      => JSON::to_json(
            {
                machine_id => $self->mac
Perl-LanguageServer ( G/GR/GRICHTER/Perl-LanguageServer-2.6.2.tar.gz, GRICHTER, 2023; MetaCPAN )
Perl-LanguageServer/lib/Perl/LanguageServer/Methods/DebugAdapterInterface.pm ( view source; MetaCPAN )
-> {thread_ref}) || 1,
                        preserveFocusHint => JSON::false (),
                        allThreadsStopped => JSON::true (),
                        }) ;
        }

    if (!$initia
kpoint =>
                            {
                            verified => $bp -> [2]?JSON::true ():JSON::false (),
                            message  => $bp -> [3],
                           
YAMLScript-FFI ( I/IN/INGY/YAMLScript-FFI-0.1.3.tar.gz, INGY, 2023; MetaCPAN )
YAMLScript-FFI/lib/YAMLScript/FFI.pm ( view source; MetaCPAN )
mlscript_version = '0.1.34';

use Alien::YAMLScript;
use FFI::Platypus;
use FFI::CheckLib ();
use JSON ();

sub new {
    bless {}, shift;
}

unless ( Alien::YAMLScript->exact_version($libyamlscript_v
$ffi->attach(
    [ load_ys_to_json => 'load' ] => [qw( sint64 string )] => 'string' => sub {
        my ( $xsub, $self, $ys ) = @_;
        my $resp = JSON::decode_json( $xsub->( $thread, $ys ) );

 
Dist-Zilla-PluginBundle-MIKKOI ( M/MI/MIKKOI/Dist-Zilla-PluginBundle-MIKKOI-0.001.tar.gz, MIKKOI, 2024; MetaCPAN )
Dist-Zilla-PluginBundle-MIKKOI/lib/Dist/Zilla/PluginBundle/MIKKOI.pm ( view source; MetaCPAN )
ins([ 'NextRelease', ]);
    $self->add_bundle('@Git');

    $self->add_plugins(
            'MetaJSON',
            'PodWeaver',
            'PerlTidy',
            'PruneFiles',
            'Minimum
,
            'Test::Pod::LinkCheck',
            'RunExtraTests',
            'Test::CPAN::Meta::JSON',
            ['Test::MinimumVersion' => {
                    'max_target_perl' => $target_perl,
Process-SubProcess ( B/BO/BODOLFO/Process-SubProcess-2.1.12.tar.gz, BODOLFO, 2023; MetaCPAN )
Process-SubProcess/bin/run_subprocess.pl ( view source; MetaCPAN )

#

use strict;
use warnings;

use Getopt::Long::Descriptive;
use Path::Tiny qw(path);
use JSON qw(encode_json);
use YAML qw(Dump);
use Data::Dump qw(dump);

BEGIN {
    use lib "lib";
    use lib "..
.pl> captures the  C<STDOUT>, C<STDERR>, the C<EXIT CODE> from a
sub process and parses it into I<JSON>, I<YAML> or I<Plain Text> formats.

=head1 OVERVIEW

    run_subprocess.pl [-bcdfhnrtx] [long op
ils': Process terminating ...
    :====END:====

=item JSON Format

    $ bin/run_subprocess.pl -n "test-script" -c "t/test_script.pl 2 0" -f json | jq '.'

    {
      "exit_code": 0,
      "error_co
YAML ( I/IN/INGY/YAML-1.31.tar.gz, INGY, 2023; MetaCPAN )
YAML/lib/YAML/Dumper.pm ( view source; MetaCPAN )
$self->{level}--;

    return;
}

sub is_literal_number {
    my $self = shift;
    # Stolen from JSON::Tiny
    return B::svref_2object(\$_[0])->FLAGS & (B::SVp_IOK | B::SVp_NOK)
            && 0 + $
Perl-LanguageServer ( G/GR/GRICHTER/Perl-LanguageServer-2.6.2.tar.gz, GRICHTER, 2023; MetaCPAN )
Perl-LanguageServer/lib/Perl/LanguageServer/Methods/DebugAdapter.pm ( view source; MetaCPAN )
nt++ ;
    return $self -> refcnt ($refcnt) - 1 ; # make sure there is no string value, so encode json encodes it as number
    }

# -------------------------------------------------------------------
      supportsConfigurationDoneRequest => JSON::true(),

        # The debug adapter supports function breakpoints.
        supportsFunctionBreakpoints => JSON::false(),

        # The debug adapter s
lBreakpoints => JSON::true(),

        # The debug adapter supports breakpoints that break execution after a specified number of hits.
        supportsHitConditionalBreakpoints => JSON::false(),

    
Mojo-WebSocketProxy ( D/DE/DERIV/Mojo-WebSocketProxy-0.16.tar.gz, DERIV, 2023; MetaCPAN )
Mojo-WebSocketProxy/lib/Mojo/WebSocketProxy/RequestLogger.pm ( view source; MetaCPAN )
'0.16';    ## VERSION

=head1 NAME

Log::Any::Adapter::DERIV - standardised logging to STDERR and JSON file

=head1 SYNOPSIS

use Mojo::WebSocketProxy::RequestLogger;

my $logger = Mojo::WebSocketProx
Mojo-WebSocketProxy ( D/DE/DERIV/Mojo-WebSocketProxy-0.16.tar.gz, DERIV, 2023; MetaCPAN )
Mojo-WebSocketProxy/lib/Mojo/WebSocketProxy/Parser.pm ( view source; MetaCPAN )
 $args = $req_storage->{args};
    if (ref $args ne 'HASH') {
        # for invalid call, eg: not json
        $req_storage->{args} = {};
        $result = $c->wsp_error('error', 'BadRequest', 'The ap
END__

=head1 NAME

Mojo::WebSocketProxy::Parser

=head1 DESCRIPTION

This module using for parse JSON websocket messages.

=head1 METHODS

=head2 parse_req

=head1 SEE ALSO

L<Mojolicious::Plugin::We
Mojo-WebSocketProxy ( D/DE/DERIV/Mojo-WebSocketProxy-0.16.tar.gz, DERIV, 2023; MetaCPAN )
Mojo-WebSocketProxy/lib/Mojolicious/Plugin/WebSocketProxy.pm ( view source; MetaCPAN )
 qw($log);

# Other backend types may be available; we default to 'jsonrpc' in the code below
use Mojo::WebSocketProxy::Backend::JSONRPC;

our $VERSION = '0.16';    ## VERSION

sub register {
    my (
          my %args = %{$backend_configs->{$name}};
            my $type = delete($args{type}) // 'jsonrpc';
            my $key  = $default_backend eq $name ? 'default' : $name;
            $dispatche
 to add a plain JSON::RPC backend
    my $jsonrpc_backend_key = exists $dispatcher_config->{backends}->{default} ? 'http' : 'default';
    $dispatcher_config->add_backend(
        $jsonrpc_backend_key
Kephra ( L/LI/LICHTKIND/Kephra-0.406.tar.gz, LICHTKIND, 2023; MetaCPAN )
Kephra/lib/Kephra/App/Editor/SyntaxMode/JSON.pm ( view source; MetaCPAN )
e Wx;

package Kephra::App::Editor::SyntaxMode::JSON;


sub set {
    my ($self) = @_;
    $self->StyleClearAll;
    $self->SetLexer( 120 ); # &Wx::wxSTC_LEX_JSON
    $self->SetKeyWords(0, '');
}

1;
Mojo-WebSocketProxy ( D/DE/DERIV/Mojo-WebSocketProxy-0.16.tar.gz, DERIV, 2023; MetaCPAN )
Mojo-WebSocketProxy/lib/Mojo/WebSocketProxy/Dispatcher.pm ( view source; MetaCPAN )
jo::WebSocketProxy::Parser;
use Mojo::WebSocketProxy::Config;

use Class::Method::Modifiers;

use JSON::MaybeUTF8    qw(:v1);
use Log::Any           qw($log);
use Unicode::Normalize ();
use Future::Mo
_response_size};
    if ($max_response_size && length(encode_json_utf8($api_response)) > $max_response_size) {
        $api_response->{json} = $c->wsp_error('error', 'ResponseTooLarge', 'Response too 
nd_api_response = $config->{before_send_api_response};
    $_->($c, $req_storage, $api_response->{json})
        for grep { $_ } (ref $before_send_api_response eq 'ARRAY' ? @{$before_send_api_response
Mojo-WebSocketProxy ( D/DE/DERIV/Mojo-WebSocketProxy-0.16.tar.gz, DERIV, 2023; MetaCPAN )
Mojo-WebSocketProxy/lib/Mojo/WebSocketProxy/Backend/JSONRPC.pm ( view source; MetaCPAN )
:WebSocketProxy::Backend::JSONRPC;

use strict;
use warnings;

use parent qw(Mojo::WebSocketProxy::Backend);

use feature qw(state);

no indirect;

use curry;

use MojoX::JSON::RPC::Client;

our $VERS
ister_type('jsonrpc');

sub url { return shift->{url} }

my $request_number = 0;

=head2 call_rpc

Description: Makes a remote call to a  process  returning the result to the client in JSON format. 
B
s undef. 

=cut

sub call_rpc {
    my ($self, $c, $req_storage) = @_;
    state $client = MojoX::JSON::RPC::Client->new;

    my $url = $req_storage->{url} // $self->url;
    die 'No url found' unles
Mojo-WebSocketProxy ( D/DE/DERIV/Mojo-WebSocketProxy-0.16.tar.gz, DERIV, 2023; MetaCPAN )
Mojo-WebSocketProxy/lib/Mojo/WebSocketProxy/Backend.pm ( view source; MetaCPAN )

Abstract base class for RPC dispatch backends. See
L<Mojo::WebSocketProxy::Backend::JSONRPC> for the original JSON::RPC backend.

=cut

=head1 CLASS METHODS

=cut

=head2 register_type

    $class->r
Mojo-WebSocketProxy ( D/DE/DERIV/Mojo-WebSocketProxy-0.16.tar.gz, DERIV, 2023; MetaCPAN )
Mojo-WebSocketProxy/lib/Mojo/WebSocketProxy.pm ( view source; MetaCPAN )
gs;

our $VERSION = '0.16';

1;

__END__

=head1 NAME

Mojo::WebSocketProxy - WebSocket proxy for JSON-RPC 2.0 server

=head1 SYNOPSIS

    # lib/your-application.pm

    use parent 'Mojolicious';

  
f->plugin(
            'web_socket_proxy' => {
                actions => [
                    ['json_key', {some_param => 'some_value'}]
                ],
                base_path => '/api',
     
eb_socket_proxy' => {
                actions => [
                    [
                        'json_key',
                        {
                            instead_of_forward => sub {
         
Kephra ( L/LI/LICHTKIND/Kephra-0.406.tar.gz, LICHTKIND, 2023; MetaCPAN )
Kephra/lib/Kephra/App/Window/Menu.pm ( view source; MetaCPAN )
Wx::Menu->new();
    #my @mode_label = (qw/no Bash C\/++ JSON Markdown Perl Python Ruby Rust YAML/);
    #my @modes      = (qw/no bash cpp json markdown perl python ruby rust yaml/);
    #$doc_mode_me
WWW-Splunk ( S/SK/SKIM/WWW-Splunk-2.09.tar.gz, SKIM, 2023; MetaCPAN )
WWW-Splunk/lib/WWW/Splunk/API.pm ( view source; MetaCPAN )
;
	} else {
		# TODO: We probably can't do much about RAW
		# format, yet we could parse at least JSON
		croak "Unknown content type: $content_type";
	}
}

=head1 SEE ALSO

L<WWW::Splunk>, L<sc>

=hea

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