Group
Extension

Matches 35358

Test2-Harness-UI ( E/EX/EXODIST/Test2-Harness-UI-0.000144.tar.gz, EXODIST, 2023; MetaCPAN )
Test2-Harness-UI/lib/Test2/Harness/UI/Schema/MySQL56/Permission.pm ( view source; MetaCPAN )
onents(
  "InflateColumn::DateTime",
  "InflateColumn::Serializer",
  "InflateColumn::Serializer::JSON",
  "Tree::AdjacencyList",
  "UUIDColumns",
);
__PACKAGE__->table("permissions");
__PACKAGE__->ad
Test2-Harness-UI ( E/EX/EXODIST/Test2-Harness-UI-0.000144.tar.gz, EXODIST, 2023; MetaCPAN )
Test2-Harness-UI/lib/Test2/Harness/UI/Schema/MySQL56/SourceFile.pm ( view source; MetaCPAN )
onents(
  "InflateColumn::DateTime",
  "InflateColumn::Serializer",
  "InflateColumn::Serializer::JSON",
  "Tree::AdjacencyList",
  "UUIDColumns",
);
__PACKAGE__->table("source_files");
__PACKAGE__->a
Test2-Harness-UI ( E/EX/EXODIST/Test2-Harness-UI-0.000144.tar.gz, EXODIST, 2023; MetaCPAN )
Test2-Harness-UI/lib/Test2/Harness/UI/Schema/MySQL56/Binary.pm ( view source; MetaCPAN )
onents(
  "InflateColumn::DateTime",
  "InflateColumn::Serializer",
  "InflateColumn::Serializer::JSON",
  "Tree::AdjacencyList",
  "UUIDColumns",
);
__PACKAGE__->table("binaries");
__PACKAGE__->add_c
Test2-Harness-UI ( E/EX/EXODIST/Test2-Harness-UI-0.000144.tar.gz, EXODIST, 2023; MetaCPAN )
Test2-Harness-UI/lib/Test2/Harness/UI/Schema/MySQL56/Email.pm ( view source; MetaCPAN )
onents(
  "InflateColumn::DateTime",
  "InflateColumn::Serializer",
  "InflateColumn::Serializer::JSON",
  "Tree::AdjacencyList",
  "UUIDColumns",
);
__PACKAGE__->table("email");
__PACKAGE__->add_colu
Test2-Harness-UI ( E/EX/EXODIST/Test2-Harness-UI-0.000144.tar.gz, EXODIST, 2023; MetaCPAN )
Test2-Harness-UI/lib/Test2/Harness/UI/Schema/MySQL56/Host.pm ( view source; MetaCPAN )
onents(
  "InflateColumn::DateTime",
  "InflateColumn::Serializer",
  "InflateColumn::Serializer::JSON",
  "Tree::AdjacencyList",
  "UUIDColumns",
);
__PACKAGE__->table("hosts");
__PACKAGE__->add_colu
Test2-Harness-UI ( E/EX/EXODIST/Test2-Harness-UI-0.000144.tar.gz, EXODIST, 2023; MetaCPAN )
Test2-Harness-UI/lib/Test2/Harness/UI/Schema/MySQL56/LogFile.pm ( view source; MetaCPAN )
onents(
  "InflateColumn::DateTime",
  "InflateColumn::Serializer",
  "InflateColumn::Serializer::JSON",
  "Tree::AdjacencyList",
  "UUIDColumns",
);
__PACKAGE__->table("log_files");
__PACKAGE__->add_
Test2-Harness-UI ( E/EX/EXODIST/Test2-Harness-UI-0.000144.tar.gz, EXODIST, 2023; MetaCPAN )
Test2-Harness-UI/lib/Test2/Harness/UI/Controller/JobField.pm ( view source; MetaCPAN )
are_dir/;
use Test2::Harness::UI::Response qw/resp error/;
use Test2::Harness::Util::JSON qw/encode_json decode_json/;
use Test2::Harness::UI::UUID qw/uuid_inflate/;

use parent 'Test2::Harness::UI::C
t eq 'delete') {
            $field->delete;
        }
    }

    $res->content_type('application/json');
    $res->raw_body($field);
    return $res;
}

1;

__END__

=pod

=encoding UTF-8

=head1 NAM
Test2-Harness-UI ( E/EX/EXODIST/Test2-Harness-UI-0.000144.tar.gz, EXODIST, 2023; MetaCPAN )
Test2-Harness-UI/lib/Test2/Harness/UI/Schema/MySQL56/Resource.pm ( view source; MetaCPAN )
onents(
  "InflateColumn::DateTime",
  "InflateColumn::Serializer",
  "InflateColumn::Serializer::JSON",
  "Tree::AdjacencyList",
  "UUIDColumns",
);
__PACKAGE__->table("resources");
__PACKAGE__->add_
DBIx-Class-ResultDDL ( N/NE/NERDVANA/DBIx-Class-ResultDDL-2.04.tar.gz, NERDVANA, 2023; MetaCPAN )
DBIx-Class-ResultDDL/lib/DBIx/Class/ResultDDL/V1.pm ( view source; MetaCPAN )
t mediumtext longtext ntext bytea
    date datetime timestamp enum bool boolean
    uuid json jsonb inflate_json array
  primary_key idx create_index unique sqlt_add_index sqlt_add_constraint
  rel_on
]'

=head3 json, jsonb

  json                          data_type => 'json'
  json[]                        data_type => 'json[]'
  jsonb                         data_type => 'jsonb'
  jsonb[]        
pe => 'jsonb[]'

If C<< -inflate_json >> use-line option was given, this will additionally imply
L</inflate_json>.

=head3 inflate_json

  inflate_json                  serializer_class => 'JSON'

Thi
FASTX-Reader ( P/PR/PROCH/FASTX-Reader-1.12.1-TRIAL.tar.gz, PROCH, 2023; MetaCPAN )
FASTX-Reader/lib/FASTX/ScriptHelper.pm ( view source; MetaCPAN )
Dumper;
use FASTX::Reader;
use File::Basename;
use File::Spec;
use Term::ANSIColor qw(color);
use JSON::PP;
use Capture::Tiny qw(capture);
use Time::HiRes qw( time );
use Scalar::Util qw( blessed refa
DBIx-Class-ResultDDL ( N/NE/NERDVANA/DBIx-Class-ResultDDL-2.04.tar.gz, NERDVANA, 2023; MetaCPAN )
DBIx-Class-ResultDDL/lib/DBIx/Class/ResultDDL/V0.pm ( view source; MetaCPAN )
nvarchar binary varbinary blob text ntext
	  date datetime timestamp enum bool boolean
	  inflate_json
	primary_key
	rel_one rel_many has_one might_have has_many belongs_to many_to_many
	  ddl_cascade
te_type => 'timestamp'
  time_zone => $timezone if defined $timezone

=item inflate_json

  serializer_class => 'JSON'

Also adds the component 'InflateColumn::Serializer' to the current package if it
MailboxValidator-SingleValidation ( M/MB/MBV/mailboxvalidator/MailboxValidator-SingleValidation-2.00.tar.gz, MBV, 2023; MetaCPAN )
MailboxValidator-SingleValidation/lib/MailboxValidator/SingleValidation.pm ( view source; MetaCPAN )
alidation;

use strict;
use vars qw(@ISA $VERSION @EXPORT);
use LWP::Simple;
use URI::Escape;
use JSON::PP;

$VERSION = '2.00';

require Exporter;
@ISA = qw(Exporter);

sub Init
{
	my ($class, $apikey
 . uri_escape($self->{api_key}) . '&format=json&email=' . uri_escape($email);
	
	my $contents = get($url);
	
	if (defined($contents))
	{
		return decode_json $contents;
	}
	else
	{
		return; # error c
 . uri_escape($self->{api_key}) . '&format=json&email=' . uri_escape($email);
	
	my $contents = get($url);
	
	if (defined($contents))
	{
		return decode_json $contents;
	}
	else
	{
		return; # error c
UID2-Client-XS ( J/JI/JIRO/UID2-Client-XS-0.02.tar.gz, JIRO, 2023; MetaCPAN )
UID2-Client-XS/ext/uid2-client-cpp11/include/uid2/uid2client.h ( view source; MetaCPAN )
ult DecryptData(const std::string& encryptedData) override;

    RefreshResult RefreshJson(const std::string& json);

private:
    struct Impl;
    std::unique_ptr<Impl> impl_;
};

class UID2ClientFac
WWW-Crawl ( B/BO/BOD/WWW-Crawl-0.1.tar.gz, BOD, 2023; MetaCPAN )
WWW-Crawl/lib/WWW/Crawl.pm ( view source; MetaCPAN )
package WWW::Crawl;

use strict;
use warnings;

use HTTP::Tiny 0.083;
use URI;
use JSON::PP;
use Carp qw(croak);

our $VERSION = '0.1';
$VERSION = eval $VERSION;

# TODO:
# 1  - Use HTML
UID2-Client-XS ( J/JI/JIRO/UID2-Client-XS-0.02.tar.gz, JIRO, 2023; MetaCPAN )
UID2-Client-XS/lib/UID2/Client/XS.pm ( view source; MetaCPAN )
or failure if I<is_success> is false.

=back

=head2 refresh_json

  my $result = $client->refresh_json($json);

Updates keys with the JSON string and returns a hashref containing the response. The ha
UID2-Client-XS ( J/JI/JIRO/UID2-Client-XS-0.02.tar.gz, JIRO, 2023; MetaCPAN )
UID2-Client-XS/ext/uid2-client-cpp11/lib/external/httplib.h ( view source; MetaCPAN )
 "js"_:
            case "mjs"_: return "application/javascript";
            case "json"_: return "application/json";
            case "rss"_: return "application/rss+xml";
            case "tar"_: r
         content_type == "application/javascript" ||
                content_type == "application/json" ||
                content_type == "application/xml" ||
                content_type == "applica
UID2-Client-XS ( J/JI/JIRO/UID2-Client-XS-0.02.tar.gz, JIRO, 2023; MetaCPAN )
UID2-Client-XS/lib/UID2/Client/XS.xs ( view source; MetaCPAN )
::UID2Client::refresh_json(json)
    const char* json;
CODE:
    uid2::RefreshResult result = uid2::RefreshResult::MakeError("");
    try {
        result = THIS->RefreshJson(json);
    }
    catch (s
       croak("%s", str);
    }
    catch (...) {
        croak("exception occurred during refresh_json()");
    }
    RETVAL = make_refresh_result(aTHX_ result);
OUTPUT:
    RETVAL

SV*
uid2::UID2Clie
UID2-Client ( J/JI/JIRO/UID2-Client-0.02.tar.gz, JIRO, 2023; MetaCPAN )
UID2-Client/lib/UID2/Client.pm ( view source; MetaCPAN )
=> [qw(endpoint auth_key secret_key identity_scope http keys)],
);

use Carp;
use HTTP::Tiny;
use JSON;
use Crypt::PRNG qw(random_bytes);
use Crypt::Misc qw(encode_b64 decode_b64);

use UID2::Client::
keys(_parse_json($self->get_latest_keys));
    }; if ($@) {
        return { is_success => undef, reason => $@ };
    }
    +{ is_success => 1 };
}

sub refresh_json {
    my ($self, $json) = @_;
    
eval {
        $self->keys(_parse_json($json));
    }; if ($@) {
        return { is_success => undef, reason => $@ };
    }
    +{ is_success => 1 };
}

my $V2_NONCE_LEN = 8;

sub get_latest_keys {
 
DBIx-Class-ResultDDL ( N/NE/NERDVANA/DBIx-Class-ResultDDL-2.04.tar.gz, NERDVANA, 2023; MetaCPAN )
DBIx-Class-ResultDDL/lib/DBIx/Class/ResultDDL/SchemaLoaderMixin.pm ( view source; MetaCPAN )
ar for inflate_json if the serializer class is JSON, but not if the package feature inflate_json
	# was enabled and the column type is flagged as json.
	$stmt .= ' inflate_json' if 'JSON' eq ($col_inf
the need to have it in $col_info.
		# This happens with implied options like serializer_class => 'JSON'
		for (keys %col_info) {
			delete $col_info{$_} if exists $out->{$_};
		}
		# remove trailing c
zer_class => 'JSON' if inflate_json is enabled package-wide
			delete $col_info->{serializer_class}
				if $class_settings->{inflate_json} && ($col_info->{serializer_class}||'') eq 'JSON';
			return $
DBIx-Class-ResultDDL ( N/NE/NERDVANA/DBIx-Class-ResultDDL-2.04.tar.gz, NERDVANA, 2023; MetaCPAN )
DBIx-Class-ResultDDL/lib/DBIx/Class/ResultDDL.pm ( view source; MetaCPAN )
DateTime');
	_settings_for_package($pkg)->{inflate_datetime}= 1;
}

sub enable_inflate_json :Export(-inflate_json) {
	my $self= shift;
	$self->_inherit_dbic;
	my $pkg= $self->{into};
	$pkg->load_compo
');
	my $settings= _settings_for_package($pkg);
	$settings->{inflate_json}= 1;
	$settings->{json_defaults}{serializer_class}= 'JSON';
}


sub enable_retrieve_defaults :Export(-retrieve_defaults) {
	my
t mediumtext longtext ntext bytea
    date datetime timestamp enum bool boolean
    uuid json jsonb inflate_json array
  primary_key idx create_index unique sqlt_add_index sqlt_add_constraint
  rel_on

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