Group
Extension

Matches 35359

StreamFinder ( T/TU/TURNERJW/StreamFinder-2.46.tar.gz, TURNERJW, 2025; MetaCPAN )
StreamFinder/lib/StreamFinder/_Class.pm ( view source; MetaCPAN )
#/o);
				($atr, $val) = split(/\s*\=\>\s*/o, $_, 2);
				eval "\$self->{'$atr'} = $val";  #CATCH JSON-LIKE ARGS, IE. "arg => {key => value, ...}"
				eval "\$self->{'$atr'} = \"\Q$val\E\""  if ($@); 
StreamFinder ( T/TU/TURNERJW/StreamFinder-2.46.tar.gz, TURNERJW, 2025; MetaCPAN )
StreamFinder/lib/StreamFinder/Youtube.pm ( view source; MetaCPAN )
ined($embedded_video) && $embedded_video->count() > 0);
			##NEXT, TRY FOR YOUTUBE URLs HIDDEN IN JSON:
			while ($html && $html =~ s#\"url\"\:\"([^\"]+)\"\,##so) {
				my $one = $1;
				my $embeddedU
  unless ($self->{'notrim'});
				$url2fetch = $embeddedURL;
				print STDERR "--embedded YOUTUBE JSON url=$url2fetch=\n"  if ($DEBUG);
				$self->{'_isaYtPage'} = 1;
				$self->{'id'} = $1  if ($url2
Cucumber-Messages ( C/CU/CUKEBOT/Cucumber-Messages-31.0.0.tar.gz, CUKEBOT, 2025; MetaCPAN )
Cucumber-Messages/lib/Cucumber/Messages.pm ( view source; MetaCPAN )
:Location->new(
     line => 12, column => 26
  );
  my $loc_json = $loc->to_json;

  my $envelope = Cucumber::Messages::Envelope->from_json($serialized_envelope);

=head1 DESCRIPTION

L<Cucumber mess
various
components communicate. Messages are serialized to NDJSON.

This library provides both serialization/deserialization to/from NDJSON as
well as the in-memory representation of the messages for 
rapped in a C<Cucumber::Messages::Envelope>
and can thereby be deserialized by calling the C<from_json> class message
with the serialized representation as its argument, like shown in the SYNOPSIS.

=
App-Netdisco ( O/OL/OLIVER/App-Netdisco-2.095004.tar.gz, OLIVER, 2025; MetaCPAN )
App-Netdisco/lib/App/Netdisco/Configuration.pm ( view source; MetaCPAN )
       push @new_dcf, $field;
        next;
    }

    # snmp_object implies JSON content in the field
    $field->{'json_list'} = true;
    # snmp_object implies user should not edit in the web
   
type => 'exec',
        event => 'discover',
        with => {
                            # get JSON format of the snmp_object
            cmd => (sprintf q![%% ndo %%] show -d '[%% ip %%]' -e %s --
 if type=="string" then [.] else . end | [ .[] ] | sort'!
                            # send the JSON output into device custom_field (action inline)
                            .q! | [%% ndo %%] %s 
CPANSA-DB ( B/BR/BRIANDFOY/CPANSA-DB-20251123.001.tar.gz, BRIANDFOY, 2025; MetaCPAN )
CPANSA-DB/lib/CPAN/Audit/DB.pod ( view source; MetaCPAN )
pan-security-advisory/releases>.
Each release on GitHub includes an attestation.

There is also a JSON file that provides the same datastructure.

=head2 Subroutines

There is exactly one subroutine:
Cron-Toolkit ( N/NG/NGRAHAM/Cron-Toolkit-0.08.tar.gz, NGRAHAM, 2025; MetaCPAN )
Cron-Toolkit/lib/Cron/Toolkit.pm ( view source; MetaCPAN )
mp_tree >>

Pretty-printed abstract syntax tree (invaluable for debugging).

=item C<< $c->to_json >>

JSON representation of the object (expression, description, bounds, etc.).

=item Accessors

    
map { $self->_rebuild_from_node($_) } @{ $self->{nodes} } );
}

sub to_json {
   my $self = shift;
   return JSON::PP::encode_json(
      {
         expression  => $self->_as_string,
         descript
Schedule-Activity ( B/BB/BBLACKM/Schedule-Activity-0.2.2.tar.gz, BBLACKM, 2025; MetaCPAN )
Schedule-Activity/script/schedule-activity.pl ( view source; MetaCPAN )
#!/usr/bin/perl

use strict;
use warnings;
use Data::Dumper;
use Getopt::Long;
use JSON::XS qw/decode_json/;
use Pod::Usage;
use Schedule::Activity;

sub load {
	my ($fn)=@_;
	my $t;
	if(!-e $fn) { di
['previous'])->Indent(0)->Purity(1)->Dump();
	close($fh);
}

sub loadjson {
	my ($fn)=@_;
	my $t=load($fn);
	my %res=%{ decode_json($t) };
	return %res;
}

sub materialize {
	my (%schedule)=@_;
	my @m
f('%0.4g',$schedule{attributes}{$name}{avg}//0),"\t$name\n";
	}
}

my %opt=(
	schedule  =>undef,
	json      =>undef,
	unsafe    =>undef,
	check     =>undef,
	help      =>0,
	manpage   =>0,
	activity  
perl ( C/CO/CONTRA/perl-5.43.5.tar.gz, DROLSKY, 2025; MetaCPAN )
perl/pod/perl5140delta.pod ( view source; MetaCPAN )
des a standard library to read, interpret and write CPAN distribution
metadata files (like F<META.json> and F<META.yml>) that describe a
distribution, its contents, and the requirements for building i
binaries like L<curl(1)> or L<wget(1)>.

=item *

L<JSON::PP> 2.27105 has been added as a dual-life module to allow CPAN
clients to read F<META.json> files in CPAN distributions.

=item *

L<Module::M
ights:

=over 4

=item * much less configuration dialog hassle

=item * support for F<META/MYMETA.json>

=item * support for L<local::lib>

=item * support for L<HTTP::Tiny> to reduce the dependency o
perl ( C/CO/CONTRA/perl-5.43.5.tar.gz, DROLSKY, 2025; MetaCPAN )
perl/dist/Storable/Storable.pm ( view source; MetaCPAN )
and more-likely safe serialization format
and implementation. If your data is sufficently simple, JSON is a good
choice and offers maximum interoperability.

=head1 WARNING

If you're using references
perl ( C/CO/CONTRA/perl-5.43.5.tar.gz, DROLSKY, 2025; MetaCPAN )
perl/Porting/Maintainers.pl ( view source; MetaCPAN )
NSTALL INSTALL.SKIP LICENSE Makefile.PL
    MANIFEST MANIFEST.SKIP META.yml MYMETA.yml META.json MYMETA.json
    NEW NOTES perlcritic.rc ppport.h README README.PATCHING SIGNATURE
    THANKS TODO Todo 
 t/data/META-dynamic.json
                t/data/META-dynamic.yml
                t/data/META-static.json
                t/data/META-static.yml
                t/data/MYMETA.json
                t/da
 => 'cpan',
    },

    'JSON::PP' => {
        'MAINTAINER'   => 'makamaka',
        'DISTRIBUTION' => 'MAKAMAKA/JSON-PP-2.27200.tar.gz',
        'FILES'        => q[cpan/JSON-PP],
        'EXCLUDED'
Data-Identifier ( L/LI/LION/Data-Identifier-v0.25.tar.gz, LION, 2025; MetaCPAN )
Data-Identifier/lib/Data/Identifier/Wellknown.pm ( view source; MetaCPAN )
f-syntax-ns#HTML                   HTML
.   http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON                   JSON
.   http://www.w3.org/1999/02/22-rdf-syntax-ns#List                   List
.   http:/
          .   sid=233
.   application/http
.   application/json                                            .   sid=239
.   application/ld+json                                         .   sid=238
.   a
perl ( C/CO/CONTRA/perl-5.43.5.tar.gz, DROLSKY, 2025; MetaCPAN )
perl/Porting/checkURL.pl ( view source; MetaCPAN )

http://example.com:9000/index.html
http://proxy.example.com:8080/
http:///index.html
http://[www.json::pp.org]/
http://localhost/
http://foo.example.com/
http://abc.com/a.js
http://whatever/man/1/cro
emaker
https://github.com/dagolden/cpanpm/compare/master...private%2Fuse-http-lite
http://www.json.org/JSON::PP_checker/
ftp://ftp.kiae.su/pub/unix/fido/
http://www.gallistel.net/nparker/weather/code/
perl ( C/CO/CONTRA/perl-5.43.5.tar.gz, DROLSKY, 2025; MetaCPAN )
perl/Porting/corelist.pl ( view source; MetaCPAN )
<$fh> };
}

sub parse_cpan_meta($) {
    return Parse::CPAN::Meta->${
	$_[0] =~ /\A\x7b/ ? \"load_json_string" : \"load_yaml_string"
    }($_[0]);
}

my %module_to_upstream;
my %module_to_dist;
my %di
App-SpreadRevolutionaryDate ( G/GI/GIBUS/App-SpreadRevolutionaryDate-0.52.tar.gz, GIBUS, 2025; MetaCPAN )
App-SpreadRevolutionaryDate/lib/App/SpreadRevolutionaryDate/BlueskyLite.pm ( view source; MetaCPAN )
RACT: Simple Class to post status to BlueSky.

use LWP::UserAgent;
use DateTime;
use JSON qw(encode_json decode_json);
use URI;
use Encode qw(decode_utf8);
use File::Type;
use File::Basename;

use nam
>request($blob_req);
    return unless $blob_response->is_success;

    my $blob_content = decode_json($blob_response->decoded_content);
    ($card->{thumb}) = $blob_content->{blob};
  }

  return $ca
y $response = $self->{ua}->get($uri);
  return if !$response->is_success;

  my $content = decode_json($response->decoded_content);
  return $content->{did};
}

sub _generate_facets {
  my $self = shi
OpenTelemetry ( J/JJ/JJATRIA/OpenTelemetry-0.033.tar.gz, JJATRIA, 2025; MetaCPAN )
OpenTelemetry/lib/OpenTelemetry/Guides/Quickstart.pod ( view source; MetaCPAN )
/env perl
    use Mojolicious::Lite -signatures;

    get '/roll' => sub ($c) {
      $c->render( json => int 1 + rand 6 );
    };

    app->start;

Run the application with the following command and 
 OpenTelemetry::SDK;
    plugin 'OpenTelemetry';

    get '/roll' => sub ($c) {
      $c->render( json => int 1 + rand 6 );
    };

    app->start;

=head2 Run the instrumented app

You can now run yo
WebDyne ( A/AS/ASPEER/WebDyne-2.034.tar.gz, ASPEER, 2025; MetaCPAN )
WebDyne/lib/WebDyne/Constant.pm ( view source; MetaCPAN )
 As above
    #
    WEBDYNE_CONTENT_TYPE_TEXT => 'text/plain',
    WEBDYNE_CONTENT_TYPE_JSON => 'application/json',
    
    
    #  Script types which are executable so we won't subst strings in them
t mode - recompile loaded modules
    #
    WEBDYNE_RELOAD => 0,


    #  Use JSON canonical mode ?
    #
    WEBDYNE_JSON_CANONICAL => 1,
    
    
    #  Enable the API mode ?
    #
    WEBDYNE_API_
f',
        'css'  => 'text/css',
        'js'   => 'application/javascript',
        'json' => 'application/json',
        'pdf'  => 'application/pdf',
        'svg'  => 'image/svg+xml'
    },
    
 
WebDyne ( A/AS/ASPEER/WebDyne-2.034.tar.gz, ASPEER, 2025; MetaCPAN )
WebDyne/lib/WebDyne/HTML/TreeBuilder.pm ( view source; MetaCPAN )
rt_multipart_form
        end_multipart_form
        isindex
        dump
        include
        json

));


#  Update - get from CGI module, add special dump tag
#
#%CGI_TAG_IMPLICIT=map {$_ => 1} (
++} qw(
    perl
    script
    style
    start_html
    end_html
    include
    div
    api
    json
    htmx
    table
);


#  Nullify Entities encode & decode
#
*HTML::Entities::encode=sub { };
*H
reate a .psp file with no leading start_html
#
map { $HTML::Tagset::isBodyElement{$_}++ } qw(htmx json dump);


#  And that we also block <p> tag closures
#
push @HTML::Tagset::p_closure_barriers, key
OpenAPI-Modern ( E/ET/ETHER/OpenAPI-Modern-0.107.tar.gz, ETHER, 2025; MetaCPAN )
OpenAPI-Modern/lib/OpenAPI/Modern/Utilities.pm ( view source; MetaCPAN )
uild time via 'update-schemas'

# the main OpenAPI document schema, with permissive (unvalidated) JSON Schemas
use constant DEFAULT_METASCHEMA => {
  3.1 => 'https://spec.openapis.org/oas/3.1/schema/2
ema/2025-09-17',
};

# metaschema for JSON Schemas contained within OpenAPI documents:
# standard JSON Schema (presently draft2020-12) + OpenAPI vocabulary
use constant DEFAULT_DIALECT => {
  3.1 => '
penapis.org/oas/3.2/dialect/2025-09-17',
};

# OpenAPI document schema that forces the use of the JSON Schema dialect (no $schema overrides
# permitted)
use constant DEFAULT_BASE_METASCHEMA => {
  3.1
Geo-IPinfo ( I/IP/IPINFO/Geo-IPinfo-3.2.0.tar.gz, IPINFO, 2025; MetaCPAN )
Geo-IPinfo/lib/Geo/IPinfoPlus.pm ( view source; MetaCPAN )


use 5.006;
use strict;
use warnings;
use Cache::LRU;
use LWP::UserAgent;
use HTTP::Headers;
use JSON;
use Geo::DetailsPlus;
use Net::CIDR;
use Net::CIDR::Set;

our $VERSION = '3.2.0';
use constant D
/Perl/3.2.0' );
    $header->header( 'Accept'       => 'application/json' );
    $header->header( 'Content-Type' => 'application/json' );

    if ($token) {
        $header->header( 'Authorization' =>
_type =~ m{application/json}i ) {
            eval { $info = from_json( $response->decoded_content ); };
            if ($@) {
                return ( undef, 'Error parsing JSON response.' );
       
Type-Tiny ( T/TO/TOBYINK/Type-Tiny-2.008005.tar.gz, TOBYINK, 2025; MetaCPAN )
Type-Tiny/lib/Type/Utils.pm ( view source; MetaCPAN )
the type of the incoming value.
Example blatantly stolen from the Moose documentation:

   sub to_json
   {
      my $value = shift;
      
      return match_on_type $value => (
         HashRef() =>
 to_json( $hash->{$_} ) }
               sort keys %$hash
            ) . ' }';
         },
         ArrayRef() => sub {
            my $array = shift;
            '[ '.( join ", " => map { to_json($_
q { '"' . $_ . '"' },
         Undef() => q {'null'},
         => sub { die "$_ is not acceptable json type" },
      );
   }

Note that unlike Moose, code can be specified as a string instead of a
co

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