Group
Extension

Matches 35358

Sereal-Encoder ( Y/YV/YVES/Sereal-Encoder-5.004.tar.gz, YVES, 2023; MetaCPAN )
Sereal-Encoder/lib/Sereal/Encoder.pm ( view source; MetaCPAN )
fh;
  }

  sub FREEZE {
    my ($self, $serializer) = @_;
    # Could switch on $serializer here: JSON, CBOR, Sereal, ...
    # But this case is so simple that it will work with ALL of them.
    # Do 
>ivan.kruglov@yahoo.comE<gt>

Some inspiration and code was taken from Marc Lehmann's
excellent L<JSON::XS> module due to obvious overlap in
problem domain. Thank you!

=head1 ACKNOWLEDGMENT

This mod
y
it under the same terms as Perl itself.

Except portions taken from Marc Lehmann's code for the JSON::XS
module, which is licensed under the same terms as this module.

Also except the code for Snap
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/ApiClient.pm ( view source; MetaCPAN )
se;
use HTTP::Request::Common qw(DELETE POST GET HEAD PUT);
use HTTP::Status;
use URI::Query;
use JSON;
use URI::Escape;
use Scalar::Util;
use Log::Any qw($log);
use Carp;
use Module::Runtime qw(use_m
ngify });
    }

    # body data
    $body_data = to_json($body_data->to_hash) if defined $body_data && $body_data->can('to_hash'); # model to json string
    my $_body_data = %$post_params ? $post_pa
      return $value->datetime();
    }
    else {
        return $value;
    }
}

# Deserialize a JSON string into an object
#
# @param string $class class name is passed as a string
# @param string $
Sereal-Encoder ( Y/YV/YVES/Sereal-Encoder-5.004.tar.gz, YVES, 2023; MetaCPAN )
Sereal-Encoder/author_tools/bench.pl ( view source; MetaCPAN )
 $jsonxs, $msgpack, $dd_noindent, $dd_indent, $cbor
);
my $storable_tag= "strbl";
my $sereal_tag= "srl";
my %meta= (
    jxs => {
        enc  => '$::jsonxs->encode($data);',
        dec  => '$::jsonx
);',
        name => 'JSON::XS OO',
        init => sub {
            $jsonxs= JSON::XS->new()->allow_nonref();
        },
        use => 'use JSON::XS qw(decode_json encode_json);',
    },
    ddl =>
 . " - " . $x;
                },
            } );
    }

    my %names= (
        "JSON::XS"                => 'json xs',
        "Data::Dumper::Limited"   => 'ddl',
        "Data::MessagePack"      
Dancer-Plugin-RPC-RESTISH ( A/AB/ABELTJE/Dancer-Plugin-RPC-RESTISH-1.01_01.tar.gz, ABELTJE, 2023; MetaCPAN )
Dancer-Plugin-RPC-RESTISH/lib/Dancer/Plugin/RPC/RESTISH.pm ( view source; MetaCPAN )
dle requests that have either a JSON body or no body
        my ($ct) = (split /;\s*/, request->content_type, 2);
        if (request->body && ($ct ne 'application/json')) {
            pass();
      
         return "";
        }

        content_type 'application/json';
        my $method_args = request->body
            ? from_json(request->body)
            : { };
        my $route_args = reque
 ", $response);
        }
        my $jsonise_options = {canonical => 1};
        if (config->{encoding} && config->{encoding} =~ m{^utf-?8$}i) {
            $jsonise_options->{utf8} = 1;
        }

 
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/CompoundsApi.pm ( view source; MetaCPAN )
tent-Type' header
    my $_header_accept = $self->{api_client}->select_header_accept('application/json');
    if ($_header_accept) {
        $header_params->{'Accept'} = $_header_accept;
    }
    $he
tent-Type' header
    my $_header_accept = $self->{api_client}->select_header_accept('application/json');
    if ($_header_accept) {
        $header_params->{'Accept'} = $_header_accept;
    }
    $he
tent-Type' header
    my $_header_accept = $self->{api_client}->select_header_accept('application/json');
    if ($_header_accept) {
        $header_params->{'Accept'} = $_header_accept;
    }
    $he
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/ChromatographyApi.pm ( view source; MetaCPAN )
tent-Type' header
    my $_header_accept = $self->{api_client}->select_header_accept('application/json');
    if ($_header_accept) {
        $header_params->{'Accept'} = $_header_accept;
    }
    $he
tent-Type' header
    my $_header_accept = $self->{api_client}->select_header_accept('application/json');
    if ($_header_accept) {
        $header_params->{'Accept'} = $_header_accept;
    }
    $he
tent-Type' header
    my $_header_accept = $self->{api_client}->select_header_accept('application/json');
    if ($_header_accept) {
        $header_params->{'Accept'} = $_header_accept;
    }
    $he
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/Metabolomics/Banks/PeakForest.pm ( view source; MetaCPAN )
rent directory

use Exporter qw(import);

use LWP::Simple ;
use LWP::UserAgent ;
use Encode ;
use JSON ;
use Data::Dumper ;
use Carp qw (cluck croak carp) ;

use base qw( Metabolomics::Banks ) ;

## T
 {
    ## Retrieve Values
    my $self = shift ;
    my ( $minMass, $maxMass ) = @_;
    
    my $jsonSPECTRA = undef ;
    my $entriesNb = 0 ;
    
    my $MIN = 0 ;
    my $MAX = 0 ;
    my $QUERY =
ess) {
	    $jsonSPECTRA = decode_json $response->decoded_content;
	 }
	else {
	    croak "[ERROR][PEAKFOREST] Clean range query return a ",$response->status_line;
	}
#	print Dumper $jsonSPECTRA ;
	
	
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/SpectraApi.pm ( view source; MetaCPAN )
tent-Type' header
    my $_header_accept = $self->{api_client}->select_header_accept('application/json');
    if ($_header_accept) {
        $header_params->{'Accept'} = $_header_accept;
    }
    $he
tent-Type' header
    my $_header_accept = $self->{api_client}->select_header_accept('application/json');
    if ($_header_accept) {
        $header_params->{'Accept'} = $_header_accept;
    }
    $he
tent-Type' header
    my $_header_accept = $self->{api_client}->select_header_accept('application/json');
    if ($_header_accept) {
        $header_params->{'Accept'} = $_header_accept;
    }
    $he
Sereal-Encoder ( Y/YV/YVES/Sereal-Encoder-5.004.tar.gz, YVES, 2023; MetaCPAN )
Sereal-Encoder/srl_protocol.h ( view source; MetaCPAN )
vIsBOOL() == PL_No,  5.36 and later only (json false)
    YES               | "5"  |  53 | 0x35 | 0b00110101 | SvIsBOOL() == PL_Yes, 5.36 and later only (json true)
    RESERVED_0        | "6"  |  54 
* SvIsBOOL() == PL_No,  5.36 and later only (json false) */
#define SRL_HDR_YES            ((U8)53)      /* SvIsBOOL() == PL_Yes, 5.36 and later only (json true)*/

/* Note: Can do reserved check with
Sereal-Encoder ( Y/YV/YVES/Sereal-Encoder-5.004.tar.gz, YVES, 2023; MetaCPAN )
Sereal-Encoder/srl_common.h ( view source; MetaCPAN )
#ifndef SRL_COMMON_H_
#define SRL_COMMON_H_

#include "srl_inline.h"

/* inspired by JSON::XS code */
#if __GNUC__ >= 3
# define expect(expr,value) __builtin_expect((expr), (value))
#else
# define exp
Sereal-Decoder ( Y/YV/YVES/Sereal-Decoder-5.004.tar.gz, YVES, 2023; MetaCPAN )
Sereal-Decoder/lib/Sereal/Performance.pm ( view source; MetaCPAN )
 support and bugfixes)

Zefram

Some inspiration and code was taken from Marc Lehmann's
excellent JSON::XS module due to obvious overlap in
problem domain.

=head1 ACKNOWLEDGMENT

This module was orig
y
it under the same terms as Perl itself.

Except portions taken from Marc Lehmann's code for the JSON::XS
module, which is licensed under the same terms as this module.
(Many thanks to Marc for inspi
Sereal-Decoder ( Y/YV/YVES/Sereal-Decoder-5.004.tar.gz, YVES, 2023; MetaCPAN )
Sereal-Decoder/srl_protocol.h ( view source; MetaCPAN )
vIsBOOL() == PL_No,  5.36 and later only (json false)
    YES               | "5"  |  53 | 0x35 | 0b00110101 | SvIsBOOL() == PL_Yes, 5.36 and later only (json true)
    RESERVED_0        | "6"  |  54 
* SvIsBOOL() == PL_No,  5.36 and later only (json false) */
#define SRL_HDR_YES            ((U8)53)      /* SvIsBOOL() == PL_Yes, 5.36 and later only (json true)*/

/* Note: Can do reserved check with
Sereal-Decoder ( Y/YV/YVES/Sereal-Decoder-5.004.tar.gz, YVES, 2023; MetaCPAN )
Sereal-Decoder/lib/Sereal/Decoder.pm ( view source; MetaCPAN )
rman E<lt>eric@freesa.orgE<gt>

Some inspiration and code was taken from Marc Lehmann's
excellent JSON::XS module due to obvious overlap in
problem domain.

=head1 ACKNOWLEDGMENT

This module was orig
y
it under the same terms as Perl itself.

Except portions taken from Marc Lehmann's code for the JSON::XS
module, which is licensed under the same terms as this module.
(Many thanks to Marc for inspi
Sereal-Decoder ( Y/YV/YVES/Sereal-Decoder-5.004.tar.gz, YVES, 2023; MetaCPAN )
Sereal-Decoder/author_tools/bench.pl ( view source; MetaCPAN )
 $jsonxs, $msgpack, $dd_noindent, $dd_indent, $cbor
);
my $storable_tag= "strbl";
my $sereal_tag= "srl";
my %meta= (
    jxs => {
        enc  => '$::jsonxs->encode($data);',
        dec  => '$::jsonx
);',
        name => 'JSON::XS OO',
        init => sub {
            $jsonxs= JSON::XS->new()->allow_nonref();
        },
        use => 'use JSON::XS qw(decode_json encode_json);',
    },
    ddl =>
 . " - " . $x;
                },
            } );
    }

    my %names= (
        "JSON::XS"                => 'json xs',
        "Data::Dumper::Limited"   => 'ddl',
        "Data::MessagePack"      
Sereal-Decoder ( Y/YV/YVES/Sereal-Decoder-5.004.tar.gz, YVES, 2023; MetaCPAN )
Sereal-Decoder/srl_common.h ( view source; MetaCPAN )
#ifndef SRL_COMMON_H_
#define SRL_COMMON_H_

#include "srl_inline.h"

/* inspired by JSON::XS code */
#if __GNUC__ >= 3
# define expect(expr,value) __builtin_expect((expr), (value))
#else
# define exp
Sereal-Decoder ( Y/YV/YVES/Sereal-Decoder-5.004.tar.gz, YVES, 2023; MetaCPAN )
Sereal-Decoder/lib/Sereal/Decoder/Constants.pm ( view source; MetaCPAN )
do not modify directly!
    {
        "comment"    => "SvIsBOOL() == PL_No,  5.36 and later only (json false)",
        "name"       => "NO",
        "type_name"  => "NO",
        "type_value" => 52,
do not modify directly!
    {
        "comment"    => "SvIsBOOL() == PL_Yes, 5.36 and later only (json true)",
        "name"       => "YES",
        "type_name"  => "YES",
        "type_value" => 53,
App-CheckDigitsUtils ( P/PE/PERLANCAR/App-CheckDigitsUtils-0.002.tar.gz, PERLANCAR, 2023; MetaCPAN )
App-CheckDigitsUtils/lib/App/CheckDigitsUtils.pm ( view source; MetaCPAN )
er.

Exit code will be non-zero all numbers are invalid. To check for individual
numbers, use the JSON output.

_
    args => {
        %argspecs_common,
        numbers => {
            'x.name.is_pl
k a couple of EAN-8 numbers, via pipe, JSON output',
            src_plang => 'bash',
            src => 'echo -e "9638-5074\\n12345678" | [[prog]] -m ean --json',
        },
    ],
};
sub check_check
er.

Exit code will be non-zero all numbers are invalid. To check for individual
numbers, use the JSON output.

This function is not exported.

Arguments ('*' denotes required arguments):

=over 4

=i
MooX-Tag-TO_HASH ( D/DJ/DJERIUS/MooX-Tag-TO_HASH-0.05.tar.gz, DJERIUS, 2023; MetaCPAN )
MooX-Tag-TO_HASH/lib/MooX/Tag/TO_HASH/Util.pm ( view source; MetaCPAN )

our %CONSTANTS;

BEGIN {
    %CONSTANTS = (
        LC_TO_JSON => 'to_json',
        LC_TO_HASH => 'to_hash',
        UC_TO_JSON => 'TO_JSON',
        UC_TO_HASH => 'TO_HASH',
        map { uc() => $
TANTS ] );
our @EXPORT_OK   = ( map { @$_ } values %EXPORT_TAGS );

our %ALLOWED = (
    +( LC_TO_JSON ) => { map { $_ => undef } OMIT_IF_EMPTY, IF_EXISTS, IF_DEFINED, BOOL, NUM, STR },
    +( LC_TO_H
  my $spec = $opt{$tag};

        # if no to_$tag, or to_$tag has been processed (e.g. it's now a json ref)
        # pass on to original routine.
        return $orig->( $attrs, %opt )
          if !
MooX-Tag-TO_HASH ( D/DJ/DJERIUS/MooX-Tag-TO_HASH-0.05.tar.gz, DJERIUS, 2023; MetaCPAN )
MooX-Tag-TO_HASH/lib/MooX/Tag/TO_HASH.pm ( view source; MetaCPAN )
ld is set to C<undef>.

A synonym for this is C<omit_if_empty>, for compatibility with
L<MooX::TO_JSON>.

=item C<if_defined>

Only output the field if it was set and its value is defined.

=item C<no
odule.

=over 4

=item *

L<MooX::Tag::TO_JSON - the sibling class to this one.|MooX::Tag::TO_JSON - the sibling class to this one.>

=item *

L<MooX::TO_JSON - this is similar, but doesn't handle fie
lds inherited from super classes or consumed from roles.|MooX::TO_JSON - this is similar, but doesn't handle fields inherited from super classes or consumed from roles.>

=back

=head1 AUTHOR

Diab Je
Data-Password-zxcvbn ( D/DA/DAKKAR/Data-Password-zxcvbn-1.1.2.tar.gz, DAKKAR, 2023; MetaCPAN )
Data-Password-zxcvbn/lib/Data/Password/zxcvbn/Match/Repeat.pm ( view source; MetaCPAN )
eedback_suggestions {
    return [ 'Avoid repeated words and characters' ];
}


around fields_for_json => sub {
    my ($orig,$self) = @_;
    ( $self->$orig(), qw(repeat_count base_guesses base_token
 C<feedback_suggestions>

This class suggests not to repeat substrings.

=head2 C<fields_for_json>

The JSON serialisation for matches of this class will contain C<token
i j guesses guesses_log10 repe

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