Group
Extension

Matches 35358

Lemonldap-NG-Portal ( C/CO/COUDOT/Lemonldap-NG-Portal-2.22.0.tar.gz, COUDOT, 2025; MetaCPAN )
Lemonldap-NG-Portal/lib/Lemonldap/NG/Portal/2F/Register/Generic.pm ( view source; MetaCPAN )
Extra
package Lemonldap::NG::Portal::2F::Register::Generic;

use strict;
use Mouse;
use JSON qw(from_json to_json);
use Lemonldap::NG::Common::Crypto;
use Lemonldap::NG::Portal::Main::Constants 'PE_OK
Google-Ads-GoogleAds-Client ( C/CH/CHEVALIER/Google-Ads-GoogleAds-Client-29.0.1.tar.gz, CHEVALIER, 2025; MetaCPAN )
Google-Ads-GoogleAds-Client/lib/Google/Ads/GoogleAds/V22/Services/KeywordThemeConstantService/SuggestKeywordThemeConstantsResponse.pm ( view source; MetaCPAN )
rgs->{keywordThemeConstants}};

  # Delete the unassigned fields in this object for a more concise JSON payload
  remove_unassigned_fields($self, $args);

  bless $self, $class;
  return $self;
}

1;
Google-Ads-GoogleAds-Client ( C/CH/CHEVALIER/Google-Ads-GoogleAds-Client-29.0.1.tar.gz, CHEVALIER, 2025; MetaCPAN )
Google-Ads-GoogleAds-Client/lib/Google/Ads/GoogleAds/V22/Services/KeywordThemeConstantService/SuggestKeywordThemeConstantsRequest.pm ( view source; MetaCPAN )
ext    => $args->{queryText}};

  # Delete the unassigned fields in this object for a more concise JSON payload
  remove_unassigned_fields($self, $args);

  bless $self, $class;
  return $self;
}

1;
Config-Model-Systemd ( D/DD/DDUMONT/Config-Model-Systemd-0.258.1.tar.gz, DDUMONT, 2025; MetaCPAN )
Config-Model-Systemd/lib/Config/Model/models/Systemd/Common/Exec.pl ( view source; MetaCPAN )
 system service instance. The per-user umask may also be set via
the C<umask> field of a user's L<JSON User
Record|https://systemd.io/USER_RECORD> (for users managed by
L<systemd-homed.service(8)>
thi
Travel-Status-DE-VRR ( D/DE/DERF/Travel-Status-DE-VRR-3.17.tar.gz, DERF, 2025; MetaCPAN )
Travel-Status-DE-VRR/lib/Travel/Status/DE/EFA/Result.pm ( view source; MetaCPAN )
stop ) {
			#				next;
			#			}
			push( @via_show, $stop );
		}
	}

	return @via_show;
}

sub TO_JSON {
	my ($self) = @_;

	return { %{$self} };
}

1;

__END__

=head1 NAME

Travel::Status::DE::EFA::
::Result object.  You should not need to
call this.

=item $departure->TO_JSON

Allows the object data to be serialized to JSON.

=back

=head1 DEPARTURE TYPES

The following are known so far:

=over
HTML-Object ( J/JD/JDEGUEST/HTML-Object-v0.6.0.tar.gz, JDEGUEST, 2025; MetaCPAN )
HTML-Object/lib/HTML/Object/DOM/Element/Body.pm ( view source; MetaCPAN )
    {
        my $event = shift( @_ );
        say( "location: " . $doc->location . ", state: " . JSON->new->encode( $event->state ) );
    };

    $history->pushState({page => 1}, "title 1", "?page=1
HTTP-Promise ( J/JD/JDEGUEST/HTTP-Promise-v0.7.2.tar.gz, JDEGUEST, 2025; MetaCPAN )
HTTP-Promise/lib/HTTP/Promise/Message.pm ( view source; MetaCPAN )
ta' )
    {
        return( $self->entity->as_form_data );
    }
    elsif( $type eq 'application/json' )
    {
        return( HTTP::Promise::Body::Form->new ) unless( length( $payload ) );
        m
>new_json->decode( $payload );
            $form = HTTP::Promise::Body::Form->new( $hash );
        };
        if( $@ )
        {
            return( $self->error( "Error trying to decode the JSON pay
gth($1)) =~ s/\sencoding\s*=\s*(["']).*?\1//;
        }
    }
    return( $data );
}

sub decoded_json
{
    my $self = shift( @_ );
    my $opts = $self->_get_args_as_hash( @_ );
    $opts->{binmode}
HTTP-Promise ( J/JD/JDEGUEST/HTTP-Promise-v0.7.2.tar.gz, JDEGUEST, 2025; MetaCPAN )
HTTP-Promise/lib/HTTP/Promise/Headers.pm ( view source; MetaCPAN )
e = lc( $type );
    return( $type eq 'text/html' || $self->content_is_xhtml );
}

sub content_is_json
{
    my $self = shift( @_ );
    my $type = $self->type;
    return(0) if( !defined( $type ) || 
ndard API error payload as per RFC9457: application/problem+json
    return( $type eq 'application/json' || $type =~ m,^application/\w+\+json, );
}

sub content_is_text
{
    my $self = shift( @_ );
 
f = shift( @_ );
    if( @_ )
    {
        # mime-type like text/html, text/plain or application/json, etc...
        my $type = shift( @_ );
        $self->{type} = $type;
        # We are being pro
HTTP-Promise ( J/JD/JDEGUEST/HTTP-Promise-v0.7.2.tar.gz, JDEGUEST, 2025; MetaCPAN )
HTTP-Promise/lib/HTTP/Promise/Status.pm ( view source; MetaCPAN )
 useful to provide response to error in the user preferred language. You can also use it to set a json response with the http error code along with a localised status message.

If no language code is 
e a link in the header. For example:

    POST /some/where HTTP/1.1
    Content-Type: application/json

Then the server response:

    HTTP/1.1 202 Accepted
    Link: </some/status/1234> rel="https://
TTP/Headers/Accept-Language> headers

For example:

    GET /foo HTTP/1.1
    Accept: application/json
    Accept-Language: fr-FR,en-GB;q=0.8,fr;q=0.6,en;q=0.4,ja;q=0.2

    HTTP/1.1 406 Not Acceptabl
HTTP-Promise ( J/JD/JDEGUEST/HTTP-Promise-v0.7.2.tar.gz, JDEGUEST, 2025; MetaCPAN )
HTTP-Promise/lib/HTTP/Promise/Entity.pm ( view source; MetaCPAN )
>mime_name : $encoding ) if( $encoding );
    }
    elsif( $headers->content_type eq 'application/json' )
    {
        # RFC 4627, ch 3
        return( 'UTF-32BE' ) if( $$cref =~ /^\x00\x00\x00./s );
zip
        application/atom+xml    gzip
        application/javascript  gzip
        application/json        gzip
        application/pdf         none
        application/rss+xml     gzip
        app
/x-font-ttf  gzip
        application/x-javascript    gzip
        application/x-web-app-manifest+json gzip
        application/xhtml+xml   gzip
        application/xml         gzip
        applicatio
HTTP-Promise ( J/JD/JDEGUEST/HTTP-Promise-v0.7.2.tar.gz, JDEGUEST, 2025; MetaCPAN )
HTTP-Promise/lib/HTTP/Promise.pm ( view source; MetaCPAN )
tps://example.com',
        Authorization => "Bearer $some_token",
        Accept => 'application/json',
        Query => {
            param1 => $value1,
            param2 => $value2,
        },
   
automatically and transparently managed with L<Cookie::Jar> which can load and store cookies to a json file you specify. You can create a L<cookie object|Cookie::Jar> and pass it to the constructor wi
ise qw( fetch );
    my $prom = fetch( 'http://example.com/something.json' );
    # or
    fetch( 'http://example.com/something.json' )->then(sub
    {
        my( $resolve, $reject ) = @$_;
        m
HTTP-Promise ( J/JD/JDEGUEST/HTTP-Promise-v0.7.2.tar.gz, JDEGUEST, 2025; MetaCPAN )
HTTP-Promise/lib/HTTP/Promise/MIME.pm ( view source; MetaCPAN )
$self->SUPER::init( @_ ) || return( $self->pass_error );
    # my $json_file = $self->new_file( __FILE__ )->parent->child( 'mime.json' );
    my $types;
    if( defined( $file ) )
    {
        $types
 $types = $TYPES;
    }
    else
    {
        my $ref = $self->_data;
        my $j = $self->new_json;
        $types = $TYPES = $j->decode( $$ref );
    }
    $self->types( $types );
    return( $se
at":["str"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/jsonml+json":["jsonml"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.dvb.ait":["ait"],"applic
HTTP-Promise ( J/JD/JDEGUEST/HTTP-Promise-v0.7.2.tar.gz, JDEGUEST, 2025; MetaCPAN )
HTTP-Promise/lib/HTTP/Promise/Body/Form.pm ( view source; MetaCPAN )
>), which is per-object and thread-safe for independent operations. Operations like L</merge>, L</json>, and L</clone> operate on local data. However, concurrent modifications to a shared object are n
Travel-Status-DE-VRR ( D/DE/DERF/Travel-Status-DE-VRR-3.17.tar.gz, DERF, 2025; MetaCPAN )
Travel-Status-DE-VRR/lib/Travel/Status/DE/EFA/Line.pm ( view source; MetaCPAN )


sub mot_name {
	my ($self) = @_;

	return $mot_mapping[ $self->{mot} ] // 'sonstige';
}

sub TO_JSON {
	my ($self) = @_;

	return { %{$self} };
}

1;

__END__

=head1 NAME

Travel::Status::DE::EFA::
DE::EFA::Line object.  You should not need to
call this.

=item $line->TO_JSON

Allows the object data to be serialized to JSON.

=back

=head1 DIAGNOSTICS

None.

=head1 DEPENDENCIES

=over

=item Cl
WebService-Careerjet ( T/TB/TBUSCH/WebService-Careerjet-4.3.tar.gz, TBUSCH, 2025; MetaCPAN )
WebService-Careerjet/lib/WebService/Careerjet.pm ( view source; MetaCPAN )
ase qw/Class::AutoAccess/;

use URI::Escape;
use LWP::UserAgent;
use HTTP::Request;
use Carp;
use JSON;

=head1 NAME

WebService::Careerjet - Perl interface to Careerjet's public job search API

=head
{'agent'}->request($req);
  my $content = $res->content();

  my $ret;
  eval {
    $ret = decode_json($content);
  };

  if (!$res->is_success() && !defined $ret) {
    $ret->{'type'}  = 'ERROR';
   
Travel-Status-DE-VRR ( D/DE/DERF/Travel-Status-DE-VRR-3.17.tar.gz, DERF, 2025; MetaCPAN )
Travel-Status-DE-VRR/lib/Travel/Status/DE/EFA/Stop.pm ( view source; MetaCPAN )

	$ref->{delay} = $ref->{dep_delay} // $ref->{arr_delay};

	return bless( $ref, $obj );
}

sub TO_JSON {
	my ($self) = @_;

	my $ret = { %{$self} };

	for my $k (qw(sched_arr rt_arr arr sched_dep rt_d
DE::EFA::Stop object.  You should not need to
call this.

=item $stop->TO_JSON

Allows the object data to be serialized to JSON.

=back

=head1 DIAGNOSTICS

None.

=head1 DEPENDENCIES

=over

=item Cl
HTTP-Promise ( J/JD/JDEGUEST/HTTP-Promise-v0.7.2.tar.gz, JDEGUEST, 2025; MetaCPAN )
HTTP-Promise/lib/HTTP/Promise/Headers/Accept.pm ( view source; MetaCPAN )
tml, application/json, application/xml;q=0.9, */*;q=0.8' ) || 
        die( HTTP::Promise::Headers::Accept->error, "\n" );
    $ac->add( 'text/html' );
    $ac->add( 'application/json' => 0.7 );
    $
h->accept( $ac->as_string ); Accept: text/html, application/json;q=0.7
    # or
    $h->accept( "$ac" );
    my $qv_elements = $ac->elements;
    my $obj = $ac->get( 'text/html' );
    # change the we
>sort(1);
    # Returns a Module::Generic::Array object
    my $ok = $ac->match( [qw( application/json text/html )] );

=head1 VERSION

    v0.1.0

=head1 DESCRIPTION

The following description is tak
HTTP-Promise ( J/JD/JDEGUEST/HTTP-Promise-v0.7.2.tar.gz, JDEGUEST, 2025; MetaCPAN )
HTTP-Promise/lib/HTTP/Promise/Headers/ContentSecurityPolicy.pm ( view source; MetaCPAN )
ent to report attempts to violate the Content Security Policy. These violation reports consist of JSON documents sent via an HTTP POST request to the specified URI. 

Example:

    Content-Security-Po
Lemonldap-NG-Common ( C/CO/COUDOT/Lemonldap-NG-Common-2.22.0.tar.gz, COUDOT, 2025; MetaCPAN )
Lemonldap-NG-Common/lib/Lemonldap/NG/Common/Apache/Session/SOAP.pm ( view source; MetaCPAN )

package Lemonldap::NG::Common::Apache::Session::SOAP;

use strict;
use SOAP::Lite;
use JSON qw(from_json to_json);

our $VERSION = '2.21.0';

#parameter proxy Url of SOAP service
#parameter proxyOpti
   if ( $self->{localStorage} and my $res = $self->cache->get($id) ) {
        $res = eval { from_json($res) };
        return $self->{data} = $res if $res;
    }

    # No cache, use SOAP and set cac
less ( $r or $r->{error} );
    $self->{data} = $r->{attributes};

    $self->cache->set( $id, to_json( $self->{data} ) ) if $self->{localStorage};

    return $self->{data};
}

## @method hashRef new
Lemonldap-NG-Common ( C/CO/COUDOT/Lemonldap-NG-Common-2.22.0.tar.gz, COUDOT, 2025; MetaCPAN )
Lemonldap-NG-Common/lib/Lemonldap/NG/Common/Apache/Session/REST.pm ( view source; MetaCPAN )
G::Common::UserAgent;
use Lemonldap::NG::Common::Apache::Session::Generate::SHA256;
use JSON qw(from_json to_json);

our $VERSION = '2.21.0';

our @ISA = qw(Lemonldap::NG::Common::Apache::Session::Gen
m},
            $self->{user}, $self->{password} );
    }
    return $self->{ua} = $ua;
}

sub getJson {
    my $self = shift;
    my $id   = shift;
    my $resp = $self->ua->get(
        $self->base
' ),
        @_
    );
    if ( $resp->is_success ) {
        my $res;
        eval { $res = from_json( $resp->content, { allow_nonref => 1 } ) };
        if ($@) {
            print STDERR "Unable to

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