ProductResponseConfiguration;
require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON::MaybeXS qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Da
f = shift;
my $_hash = decode_json(JSON()->new->allow_blessed->convert_blessed->encode($self));
return $_hash;
}
# used by JSON for serialization
sub TO_JSON {
my $self = shift;
my $
serialize the data
while ( my ($_key, $_type) = each %{$self->openapi_types} ) {
my $_json_attribute = $self->attribute_map->{$_key};
my $_is_nullable = ($self->openapi_nullable->{
/json');
if ($_header_accept) {
$header_params->{'Accept'} = $_header_accept;
}
$header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json
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
package Media::Convert::KeyframeFinder;
use v5.28;
use Moose;
use JSON::MaybeXS qw/decode_json/;
use autodie qw/:all/;
has 'asset' => (
is => 'ro',
isa => 'Media::Convert::Asset',
required => 1,
= shift;
local $/ = "";
my @pipe = ("ffprobe", "-loglevel", "quiet", "-print_format", "json", "-show_format", "-select_streams", "v", "-skip_frame", "nokey", "-show_frames", "-show_entries"
l);
say "Running: '". join("' '", @pipe) . "'";
open my $jsonpipe, "-|:encoding(UTF-8)", @pipe;
my $data = decode_json(<$jsonpipe>);
my $rv = [];
my $offset = $data->{format}{start_
ols( $aoa );
my $header = $cf->__prepare_header( $aoa, $is_empty );
my $saved = $ax->read_json( $sf->{i}{f_search_and_replace} ) // {};
my $all_sr_groups = [];
my $used_names = [];
oice eq $hidden ) {
$sf->__saved_search_and_replace();
$saved = $ax->read_json( $sf->{i}{f_search_and_replace} ) // {};
$available = [ sort { $a cmp $b } keys %$sav
my $ax = App::DBBrowser::Auxil->new( $sf->{i}, $sf->{o}, $sf->{d} );
my $saved = $ax->read_json( $sf->{i}{f_search_and_replace} ) // {};
my $save_data = 0;
my $old_idx_history = 0;
tly::Object::EnvironmentName;
require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON::MaybeXS qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Da
f = shift;
my $_hash = decode_json(JSON()->new->allow_blessed->convert_blessed->encode($self));
return $_hash;
}
# used by JSON for serialization
sub TO_JSON {
my $self = shift;
my $
serialize the data
while ( my ($_key, $_type) = each %{$self->openapi_types} ) {
my $_json_attribute = $self->attribute_map->{$_key};
my $_is_nullable = ($self->openapi_nullable->{
ir}, 'cache_SQLite_files.json';
my $ax = App::DBBrowser::Auxil->new( {}, {}, {} );
my $tc = Term::Choose->new( $sf->{i}{tc_default} );
my $db_cache = $ax->read_json( $cache_sqlite_files )
irs;
$databases = [ sort { $a cmp $b } @$databases ];
$db_cache->{databases} = $databases;
$ax->write_json( $cache_sqlite_files, $db_cache );
return $databases;
}
1;
__END__
'Firebird_databases.json';
my $ax = App::DBBrowser::Auxil->new( {}, {}, {} );
my $tc = Term::Choose->new( $sf->{i}{tc_default} );
my $saved_databases = $ax->read_json( $file_firebird_dbs
elsif ( $choice eq $confirm ) {
if ( $changed ) {
$ax->write_json( $file_firebird_dbs, $databases );
}
return $databases;
}
lt} );
my $attached_db;
if ( -s $sf->{i}{f_attached_db} ) {
my $h_ref = $ax->read_json( $sf->{i}{f_attached_db} ) // {};
$attached_db = $h_ref->{$sf->{d}{db}} // {};
}
my $h_ref = $ax->read_json( $sf->{i}{f_attached_db} ) // {};
$h_ref->{$sf->{d}{db}} = $attached_db;
$ax->write_json( $sf->{i}{f_attached_db}, $h_ref );
lt} );
my $attached_db;
if ( -s $sf->{i}{f_attached_db} ) {
my $h_ref = $ax->read_json( $sf->{i}{f_attached_db} ) // {};
$attached_db = $h_ref->{$sf->{d}{db}} // {};
}
my $ax = App::DBBrowser::Auxil->new( $sf->{i}, $sf->{o}, $sf->{d} );
my $h_ref = $ax->read_json( $sf->{i}{f_dir_history} ) // {};
my @dirs = @{$h_ref->{dirs}//[]};
if ( @dirs > $sf->{o}
$#dirs = $sf->{o}{insert}{history_dirs} - 1;
$h_ref->{dirs} = \@dirs;
$ax->write_json( $sf->{i}{f_dir_history}, $h_ref );
}
return [ sort @dirs ]; ##
}
sub __add_to_history
my $ax = App::DBBrowser::Auxil->new( $sf->{i}, $sf->{o}, $sf->{d} );
my $h_ref = $ax->read_json( $sf->{i}{f_dir_history} ) // {};
my @dirs = @{$h_ref->{dirs}//[]};
unshift @dirs, $dir;
{$opt};
}
}
my $ax = App::DBBrowser::Auxil->new( $sf->{i}, $sf->{o}, {} );
my $file_name_fs = $sf->{i}{f_settings};
$ax->write_json( $file_name_fs, $tmp );
}
1;
__END__
}, $plugin );
my $db_opt;
if ( -f $file_fs && -s $file_fs ) {
$db_opt = $ax->read_json( $file_fs ) // {};
}
return $db_opt;
}
sub get_set_attributes {
my ( $sf, $db, $db_
App::DBBrowser::DB:://;
my $file_fs = sprintf( $sf->{i}{conf_file_fmt}, $plugin );
if ( defined $db_opt && %$db_opt ) {
$ax->write_json( $file_fs, $db_opt );
}
}
1;
__END__
le_fs = $sf->{i}{f_settings};
if ( -f $file_fs && -s $file_fs ) {
my $tmp = $ax->read_json( $file_fs ) // {};
for my $section ( keys %$tmp ) {
for my $opt ( keys %{$tm
istCustomerAddressesResponse;
require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON::MaybeXS qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Da
f = shift;
my $_hash = decode_json(JSON()->new->allow_blessed->convert_blessed->encode($self));
return $_hash;
}
# used by JSON for serialization
sub TO_JSON {
my $self = shift;
my $
serialize the data
while ( my ($_key, $_type) = each %{$self->openapi_types} ) {
my $_json_attribute = $self->attribute_map->{$_key};
my $_is_nullable = ($self->openapi_nullable->{
ComputeAclCreateAclsResponse;
require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON::MaybeXS qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Da
f = shift;
my $_hash = decode_json(JSON()->new->allow_blessed->convert_blessed->encode($self));
return $_hash;
}
# used by JSON for serialization
sub TO_JSON {
my $self = shift;
my $
serialize the data
while ( my ($_key, $_type) = each %{$self->openapi_types} ) {
my $_json_attribute = $self->attribute_map->{$_key};
my $_is_nullable = ($self->openapi_nullable->{
TY
our $VERSION = '0.020'; # VERSION
use Carp;
use File::Slurp;
use JSON::MaybeXS qw(decode_json encode_json);
use Crypt::PRNG;
use Net::SSH::Perl::Cipher;
use Blockchain::Ethereum::Keyst
ub id {
shift->{id};
}
sub private_key {
shift->{private_key};
}
sub _json {
return shift->{json} //= JSON::MaybeXS->new(utf8 => 1);
}
sub import_file {
my ($self, $file_path, $pass
word) = @_;
my $content = read_file($file_path);
my $decoded = $self->_json->decode(lc $content);
return $self->_from_object($decoded, $password);
}
sub _from_object {
my ($self, $o
urrencyRates/YahooJSON.pm
package Finance::Quote::CurrencyRates::FinanceAPI;
use strict;
use warnings;
use constant DEBUG => $ENV{DEBUG};
use if DEBUG, 'Smart::Comments';
use JSON;
our $VERSION =
($this, $ua, $from, $to) = @_;
my $json_data;
my $rate;
# Set headers. API key is sent as a header.
my @ua_headers = (
'Accept' => 'application/json',
'X-API-KEY' => $this->{API_KEY},
$json_data = JSON::decode_json $body;
### JSON: $json_data
if ( !$json_data || !$json_data->{'chart'}->{'result'}->[0]->{'meta'}->{'regularMarketPrice'} ) {
return;
}
$rate =
$json_
bject::ComputeAclListEntries;
require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON::MaybeXS qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Da
f = shift;
my $_hash = decode_json(JSON()->new->allow_blessed->convert_blessed->encode($self));
return $_hash;
}
# used by JSON for serialization
sub TO_JSON {
my $self = shift;
my $
serialize the data
while ( my ($_key, $_type) = each %{$self->openapi_types} ) {
my $_json_attribute = $self->attribute_map->{$_key};
my $_is_nullable = ($self->openapi_nullable->{
t::InvitationCreateDataAllOf;
require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON::MaybeXS qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Da
f = shift;
my $_hash = decode_json(JSON()->new->allow_blessed->convert_blessed->encode($self));
return $_hash;
}
# used by JSON for serialization
sub TO_JSON {
my $self = shift;
my $
serialize the data
while ( my ($_key, $_type) = each %{$self->openapi_types} ) {
my $_json_attribute = $self->attribute_map->{$_key};
my $_is_nullable = ($self->openapi_nullable->{
-5b34-bda7-9c44b6ef7dc6',
'application/json' => 'c9e61b78-a0bd-5939-9aaa-8f0d08e5a4dc',
'application/ld+json' =>