Group
Extension

Matches 35358

Text-Amuse-Compile ( M/ME/MELMOTHX/Text-Amuse-Compile-1.90.tar.gz, MELMOTHX, 2024; MetaCPAN )
Text-Amuse-Compile/bin/muse-compile.pl ( view source; MetaCPAN )
ry

Repeatable. Directory where to look for included files.

=item --fontspec fontspec.json

A specification JSON file with the list of fonts. This permits you to
use arbitrary fonts. To create one wi
Sah-PSchemaBundle-Perl ( P/PE/PERLANCAR/Sah-PSchemaBundle-Perl-0.011.tar.gz, PERLANCAR, 2024; MetaCPAN )
Sah-PSchemaBundle-Perl/lib/Sah/PSchema/perl/modname_with_optional_args.pm ( view source; MetaCPAN )
           recurse_matching=>'all-at-once',
        }],
    }];

    my $schema_ary = [array_from_json => {
        min_len => 1,
        max_len => 2,
        elems => [
            $schema_str,
    
Test2-Suite ( E/EX/EXODIST/Test2-Suite-0.000163.tar.gz, EXODIST, 2024; MetaCPAN )
Test2-Suite/lib/Test2/Manual/Tooling/Formatter.pm ( view source; MetaCPAN )
to write a custom formatter, in our
case a JSONL formatter.

=head1 DESCRIPTION

This tutorial explains a minimal formatter that outputs each event as a json
string on its own line. A true formatter w
    package Test2::Formatter::MyFormatter;
    use strict;
    use warnings;

    use JSON::MaybeXS qw/encode_json/;

    use base qw/Test2::Formatter/;

    sub new { bless {}, shift }

    sub encod
ite {
        my ($self, $e, $num, $f) = @_;
        $f ||= $e->facet_data;

        print encode_json($f), "\n";
    }

    1;

=head1 LINE BY LINE

=over 4

=item use base qw/Test2::Formatter/;

All
Bio-SeqAlignment-Applications-SequencingSimulators-RNASeq-Polyester ( C/CH/CHRISARG/Bio-SeqAlignment-Applications-SequencingSimulators-RNASeq-Polyester-0.02.tar.gz, CHRISARG, 2024; MetaCPAN )
Bio-SeqAlignment-Applications-SequencingSimulators-RNASeq-Polyester/lib/Bio/SeqAlignment/Applications/SequencingSimulators/RNASeq/Polyester.pm ( view source; MetaCPAN )
 --modformat option, which is optional and specifies
the format for storing modifications (one of JSON, YAML, or MessagePack).
* BONUS: provide a R script that can be used to control the polyester
  s
.

=item B<--modformat, -m> [INTEGER]

Case insensitive format for storing modifications 
(one of JSON, YAML, or MessagePack) (optional).

=item B<--maxseqs, -m> [INTEGER]

Maximum sequences per file 
Text-Amuse-Compile ( M/ME/MELMOTHX/Text-Amuse-Compile-1.90.tar.gz, MELMOTHX, 2024; MetaCPAN )
Text-Amuse-Compile/lib/Text/Amuse/Compile/Fonts.pm ( view source; MetaCPAN )

use utf8;
use strict;
use warnings;
use Types::Standard qw/ArrayRef InstanceOf/;
use JSON::MaybeXS qw/decode_json/;
use Text::Amuse::Compile::Fonts::Family;
use Text::Amuse::Compile::Fonts::File;
use
n pass the same structure if you got it serialized to
    # json and saved to a file.
    my $fonts = Text::Amuse::Compile::Fonts->new($json_file);
    my @fonts = $fonts->all_fonts;


=head1 DESCRIPT
s, which
has to be provided to the constructor via a json file or as an
arrayref of L<Text::Amuse::Compile::Fonts::Family> objects.

To build a json file with some default fonts, you may want to try
L
Bio-SeqAlignment-Applications-SequencingSimulators-RNASeq-Polyester ( C/CH/CHRISARG/Bio-SeqAlignment-Applications-SequencingSimulators-RNASeq-Polyester-0.02.tar.gz, CHRISARG, 2024; MetaCPAN )
Bio-SeqAlignment-Applications-SequencingSimulators-RNASeq-Polyester/bin/polyester_polyA.pl ( view source; MetaCPAN )
:Basename;
use File::Spec;
use FindBin qw($Bin);
use Getopt::Long qw(:config no_ignore_case);
use JSON;
use YAML::Tiny;

###############################################################################
'modformat|M:s'  => \$modformat
    , # case insensitive format for storing modifications (one of JSON, YAML, or MessagePack)
    'numreps|n:i{,}' =>
      \@numreps,    # num of replicates in each gr
Text-Amuse-Compile ( M/ME/MELMOTHX/Text-Amuse-Compile-1.90.tar.gz, MELMOTHX, 2024; MetaCPAN )
Text-Amuse-Compile/lib/Text/Amuse/Compile/Fonts/Import.pm ( view source; MetaCPAN )
ext::Amuse::Compile::Fonts::Import;
use utf8;
use strict;
use warnings;
use IPC::Run qw/run/;
use JSON::MaybeXS ();
use Text::Amuse::Compile::Fonts;
use Moo;
use Data::Dumper;


=head1 NAME

Text::Amu
indows if imagemagick is installed.

=head1 ACCESSOR

=head2 output

The output file to write the json to. If not provided, it will print on the STDOUT.

=head1 PUBLIC METHODS

=head2 import_and_save
arse the font list and output it to the file, if provided to the
constructor, otherwise print the JSON on the standard output.

=head1 INTERNAL METHODS

=over 4

=item use_fclist

=item use_imagemagic
Bencher-ScenarioBundle-Log-ger ( P/PE/PERLANCAR/Bencher-ScenarioBundle-Log-ger-0.020.tar.gz, PERLANCAR, 2024; MetaCPAN )
Bencher-ScenarioBundle-Log-ger/lib/Bencher/Scenario/Log/ger/LayoutStartup.pm ( view source; MetaCPAN )
.020'; # VERSION

our %layout_modules = (
    Pattern => {format=>'[%d] %m'},
    LTSV => {},
    JSON => {},
    YAML => {},
);

our $scenario = {
    modules => {
    },
    participants => [
      
JSON> 0.002

L<Log::ger::Layout::LTSV> 0.006

L<Log::ger::Layout::Pattern> 0.009

L<Log::ger::Layout::YAML> 0.001

=head1 BENCHMARK PARTICIPANTS

=over

=item * baseline (command)



=item * load-JSON
 (command)

L<Log::ger::Layout::JSON>



=item * load-LTSV (command)

L<Log::ger::Layout::LTSV>



=item * load-Pattern (command)

L<Log::ger::Layout::Pattern>



=item * load-YAML (command)

L<Log::g
Mojo-WebSocketProxy-Backend-ConsumerGroups ( D/DE/DERIV/Mojo-WebSocketProxy-Backend-ConsumerGroups-0.07.tar.gz, DERIV, 2024; MetaCPAN )
Mojo-WebSocketProxy-Backend-ConsumerGroups/lib/Mojo/WebSocketProxy/Backend/ConsumerGroups.pm ( view source; MetaCPAN )
 IO::Async::Loop::Mojo;
use Data::UUID;
use JSON::MaybeUTF8 qw(encode_json_utf8 decode_json_utf8);
use Syntax::Keyword::Try;
use curry::weak;
use MojoX::JSON::RPC::Client;

use parent qw(Mojo::WebSock
storage) }

            return Future->done unless $c && $c->tx;

            my $result = MojoX::JSON::RPC::Client::ReturnObject->new(rpc_response => $message->{response});

            foreach my $h
Error', 'Sorry, an error occurred while processing your request.');
                $send_func->({json => $api_response}, $req_storage);
                return Future->done;
            }

           
Test2-Tools-HTTP ( P/PL/PLICEASE/Test2-Tools-HTTP-0.12.tar.gz, PLICEASE, 2024; MetaCPAN )
Test2-Tools-HTTP/lib/Test2/Tools/HTTP.pm ( view source; MetaCPAN )
ls::JSON::Pointer;
 
 # test an external website
 http_request(
   # you can also test against a real HTTP server
   GET('http://example.test'),
   http_response {
     http_is_success;
     # JSON po
inter { "key":"val" }
     http_content json '/key' => 'val';
   }
 );
 
 done_testing;

with short names:

 use Test2::Tools::HTTP ':short';
 use HTTP::Request::Common;
 
 app_add { [ 200, [ 'Content
Object-Remote ( H/HA/HAARG/Object-Remote-0.004004.tar.gz, HAARG, 2024; MetaCPAN )
Object-Remote/lib/Object/Remote/Connection.pm ( view source; MetaCPAN )
ule::Runtime qw(use_module);
use Scalar::Util qw(weaken blessed refaddr openhandle);
use JSON::PP qw(encode_json);
use Future;
use Carp qw(croak);
use Moo;

BEGIN { router()->exclude_forwarding }

END
low clone on the way in
);

has outstanding_futures => (is => 'ro', default => sub { {} });

has _json => (
  is => 'lazy',
  handles => {
    _deserialize => 'decode',
    _encode => 'encode',
  },
)

sub _build__json {
  weaken(my $self = shift);
  JSON::PP->new->filter_json_single_key_object(
    __remote_object__ => sub {
      $self->_id_to_remote_object(@_);
    }
  )->filter_json_single_key_
Mojolicious-Plugin-Authorization-AccessControl ( T/TY/TYRRMINAL/Mojolicious-Plugin-Authorization-AccessControl-0.02.tar.gz, TYRRMINAL, 2024; MetaCPAN )
Mojolicious-Plugin-Authorization-AccessControl/lib/Mojolicious/Plugin/Authorization/AccessControl.pm ( view source; MetaCPAN )
$self->model("book")->all_except_deleted]
    })
    ->granted(sub ($books) {
      $self->render(json => $books)
    })
    ->denied(sub() {
      $self->render(status => 401, text => 'unauthorized')
f->model("book")->get($self->param('id')) 
    })
    ->granted(sub ($book) {
      $self->render(json => $book)
    })
    ->denied(sub () {
      $self->render(status => 401, text => 'unauthorized')
ram('id')) 
    })
    ->granted(sub ($book) {
      $book->update($self->req->body->json);
      $self->render(json => $book)
    })
    ->denied(sub () {
      $self->render(status => 401, text => '
Log-Contextual ( H/HA/HAARG/Log-Contextual-0.009001.tar.gz, HAARG, 2024; MetaCPAN )
Log-Contextual/lib/Log/Contextual.pm ( view source; MetaCPAN )
log_trace {
    'friends list being generated, data from first friend: ' .
      Dumper($_[0]->TO_JSON)
  } generate_friend_list();

If you want complete inspection of passthrough data, take a look at
rks exactly
same:

  my $friend = logS_trace {
    'I only have one friend: ' .  Dumper($_[0]->TO_JSON)
  } friend();

See also: L</DlogS_$level>.

=head2 slogS_$level

Mostly the same as L</logS_$lev
Object-Remote ( H/HA/HAARG/Object-Remote-0.004004.tar.gz, HAARG, 2024; MetaCPAN )
Object-Remote/lib/Object/Remote.pm ( view source; MetaCPAN )
N ISSUES

=over 4

=item Large data structures

Object::Remote communication is encapsalated with JSON and values passed to remote objects
will be serialized with it. When sending large data structure
Minion-Backend-mysql ( P/PR/PREACTION/Minion-Backend-mysql-1.006.tar.gz, PREACTION, 2024; MetaCPAN )
Minion-Backend-mysql/lib/Minion/Backend/mysql.pm ( view source; MetaCPAN )


use constant DEBUG => $ENV{MINION_BACKEND_DEBUG} || 0;
use Mojo::IOLoop;
use Mojo::JSON qw(encode_json decode_json);
use Mojo::mysql;
use Scalar::Util qw(blessed);
use Sys::Hostname 'hostname';
use 
# Pre-compute parameters to reduce time holding DB transaction
  my @insert_params = (
    encode_json( $args ),
    $options->{attempts} // 1,
    $options->{delay} // 0,
    ($options->{expire})x2,
_value`) VALUES '
      . join( ', ', map '( ?, ?, ? )', keys %notes );
    $notes{ $_ } = encode_json( $notes{ $_ } ) for keys %notes;
  }

  my $db = $self->mysql->db;
  # If we are adding data in r
Test2-Tools-HTTP ( P/PL/PLICEASE/Test2-Tools-HTTP-0.12.tar.gz, PLICEASE, 2024; MetaCPAN )
Test2-Tools-HTTP/lib/Test2/Tools/HTTP/Tx.pm ( view source; MetaCPAN )
e conversion of the response body:

 use JSON::PP qw( decode_json );
 Test2::Tools::HTTP::Tx->add_helper( 'res.json' => sub {
   my $res = shift;
   decode_json( $res->decoded_content );
 });

You can
Bencher-ScenarioBundle-Log-ger ( P/PE/PERLANCAR/Bencher-ScenarioBundle-Log-ger-0.020.tar.gz, PERLANCAR, 2024; MetaCPAN )
Bencher-ScenarioBundle-Log-ger/lib/Bencher/ScenarioR/Log/ger/LayoutStartup.pm ( view source; MetaCPAN )
# VERSION

our $results = [[200,"OK",[{_name=>"participant=load-JSON",_succinct_name=>"load-JSON",errors=>9.1e-06,participant=>"load-JSON",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>1.04081632653
,type=>"command"},{include_by_default=>1,module=>"Log::ger::Layout::JSON",name=>"load-JSON",perl_cmdline=>["-mLog::ger::Layout::JSON","-e1"],seq=>1,type=>"command"},{include_by_default=>1,module=>"Log
nc.module_versions"=>{"Benchmark::Dumb"=>0.503,"Devel::Platform::Info"=>"1.00","Log::ger::Layout::JSON"=>0.002,"Log::ger::Layout::LTSV"=>0.006,"Log::ger::Layout::Pattern"=>0.009,"Log::ger::Layout::YAM
App-Toolforge-MixNMatch ( S/SK/SKIM/App-Toolforge-MixNMatch-0.06.tar.gz, SKIM, 2024; MetaCPAN )
App-Toolforge-MixNMatch/MixNMatch.pm ( view source; MetaCPAN )


use strict;
use warnings;

use Error::Pure qw(err);
use Getopt::Std;
use IO::Barf qw(barf);
use JSON::XS;
use LWP::Simple qw(get);
use Perl6::Slurp qw(slurp);
use Readonly;
use Toolforge::MixNMatch:
s;

	# Object.
	return $self;
}

sub _catalog_json_file_to_obj {
	my $json_file = shift;

	my $json = slurp($json_file);
	my $struct_hr = decode_json($json);
	my $obj = Toolforge::MixNMatch::Struct::C
 ($json_file1, $json_file2, $print_options) = @_;

	if (! defined $json_file1 || ! -r $json_file1) {
		return (1, "Doesn't exist JSON file #1 for diff.");
	}
	if (! defined $json_file2 || ! -r $json_f
Module-Faker ( R/RJ/RJBS/Module-Faker-0.027.tar.gz, RJBS, 2024; MetaCPAN )
Module-Faker/lib/Module/Faker/Dist.pm ( view source; MetaCPAN )
ys to build
#pod dists from a definition in a file.
#pod
#pod     # Build from a META.yml or META.json file, or the delightful
#pod     # AUTHOR_Foo-Bar-1.234.tar.gz.dist file, which can be zero bytes
$_[0] ? $_[0] : $_[1] }

sub append_for {
  my ($self, $filename) = @_;
  return [
    # YAML and JSON should both be in utf8 (if not plain ascii)
    map  { encode_utf8($_->{content}) }
    grep { $f
etafile.  Normally, both
#pod version 1.4 and 2 are requested.  C<$format> is either C<yaml> or C<json>.
#pod
#pod If the munger returns a string instead of a structure, it will be used as the
#pod co
Ogma ( L/LN/LNATION/Ogma-0.03.tar.gz, LNATION, 2024; MetaCPAN )
Ogma/lib/Ogma.pm ( view source; MetaCPAN )
n 0.03

=cut

=head1 SYNOPSIS


	package Time::Tracker;

	use Coerce::Types::Standard qw/Int Bool JSON/;

	title '...';

	abstract '...'

	option time => (
		type => Int,
		option_alias => 'o',
		desc
		type => Bool,
		option_alias => 'e',
		description => '...'
	);

	option history => (
		type => JSON->by('decode'),
		type_coerce => 1,
		description => '...'
	);
	
	sub callback {
		my ($self) = @_

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