Group
Extension

Matches 35358

DDC-Concordance ( M/MO/MOOCOW/DDC-Concordance-0.50.tar.gz, MOOCOW, 2020; MetaCPAN )
DDC-Concordance/lib/DDC/PP/Object.pm ( view source; MetaCPAN )
====================================================================
package DDC::PP::Object;
use JSON;
use Carp qw(carp confess);
use strict;

##======================================================
ng {
  return "$_[0]";
}

sub toJson {
  return JSON::to_json( $_[0], {utf8=>1,pretty=>0,canonical=>1,allow_blessed=>1,convert_blessed=>1} );
}

##-- json utils
sub jsonClass {
  (my $class = ref($_[0
pts:
##    (
##     trimClassNames => $bool,  ##-- auto-trim class-names?
##     json => $bool,            ##-- for JSON-ification?
##    )
##  + returns an object as a (nested) perl hash
##  + pure-p
DDC-XS ( M/MO/MOOCOW/DDC-XS-0.27.tar.gz, MOOCOW, 2020; MetaCPAN )
DDC-XS/XS/Object.pm ( view source; MetaCPAN )
====================================================================
package DDC::XS::Object;
use JSON;
use Carp qw(carp confess);
use strict;

##======================================================
pts:
##    (
##     trimClassNames => $bool,  ##-- auto-trim class-names?
##     json => $bool,            ##-- for JSON-ification?
##    )
sub toHash {
  my ($obj,%opts) = @_;
  return $obj if (!defi
   = ref($obj);
  $class =~ s/^DDC::(?:XS|PP|Any)::// if ($opts{trimClassNames} || $opts{json}); ##-- use toJson()-style class names
  return {
	  (map {
	    ( $_ => $obj->valToPerl($obj->can("get$_"
DDC-XS ( M/MO/MOOCOW/DDC-XS-0.27.tar.gz, MOOCOW, 2020; MetaCPAN )
DDC-XS/XS/CQCount.pod ( view source; MetaCPAN )
mand-line: h2xspp.perl -prefix 'DDC::XS::' QCount.h.in '-vt=^[mbq_]*' -o QCount '-dn=free' '-dm=::json|Compile|Evaluate' '-dt=Indexator'

=pod

=head1 NAME

DDC::XS::CQCount - XS interface to DDC C++ 
SNS-Notification ( J/JL/JLMARTIN/SNS-Notification-0.03.tar.gz, JLMARTIN, 2020; MetaCPAN )
SNS-Notification/lib/SNS/Notification.pm ( view source; MetaCPAN )
estamp => ...
    ... required attributes ...
  );
  #do something with $obj

  my $body = decode_json($sns_message);
  my $sns = eval { SNS::Notification->new($body) };
  if ($@) {
    die "Doesn't l
(and not reimplement it constantly).

=head1 SEE ALSO

L<http://docs.aws.amazon.com/sns/latest/dg/json-formats.html>

L<http://docs.aws.amazon.com/sns/latest/dg/SendMessageToHttp.html>

L<http://docs.
DDC-XS ( M/MO/MOOCOW/DDC-XS-0.27.tar.gz, MOOCOW, 2020; MetaCPAN )
DDC-XS/XS/CQueryCompiler.pod ( view source; MetaCPAN )
ueryToString();      #-- canonical string for current query
 $string = $compiler->QueryToJson();        #-- json string for current query

=cut

##=====================================================
Log-ger-UseJSONForDump ( P/PE/PERLANCAR/Log-ger-UseJSONForDump-0.003.tar.gz, PERLANCAR, 2020; MetaCPAN )
Log-ger-UseJSONForDump/lib/Log/ger/UseJSONForDump.pm ( view source; MetaCPAN )
package Log::ger::UseJSONForDump;

our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2020-06-06'; # DATE
our $DIST = 'Log-ger-UseJSONForDump'; # DIST
our $VERSION = '0.003'; # VERSION

use s
:Clean::ForJSON;
use JSON::MaybeXS;

my @known_configs = qw(pretty);

my %default_configs = (
    pretty => 1,
    clean => 1,
);

my $cleanser = Data::Clean::ForJSON->get_cleanser;
my $json;

sub imp
gs;
        $configs{$k} = $args{$k};
    }

    $json = JSON::MaybeXS->new;
    $json->pretty($configs{pretty} ? 1:0);
    $json->binary(1);
    $json->allow_nonref(1);

    $Log::ger::_dumper = sub 
Google-ContentAPI ( B/BG/BGERRARD/Google-ContentAPI-1.03.tar.gz, BGERRARD, 2020; MetaCPAN )
Google-ContentAPI/README.pod ( view source; MetaCPAN )
ent/v2/quickstart>

For convenience, add your Merchant account ID to the *.json file provided by Google.
Your complete *.json file, after adding your merchant ID, will look something like this:

  {
 
ogleapis.com/content/v2.1',
      debug => 0,
      config_file => 'content-api-key.json',
      config_json => $json_text,
      merchant_id => '123456789',
  });

  my ($result, $products, $batch_id
e of external C<.json> config file.
Either config_file or config_json must be provided. If both config_file
and config_json are provided, config_file will be used.

=head3 config_json

Text containing
Google-ContentAPI ( B/BG/BGERRARD/Google-ContentAPI-1.03.tar.gz, BGERRARD, 2020; MetaCPAN )
Google-ContentAPI/lib/Google/ContentAPI.pm ( view source; MetaCPAN )
tstatuses, productstatuses methods. Add "custom" resource
# + v1.01       03/27/2018 Added config_json, merchant_id options and switched to Crypt::JWT
# + v1.00       03/23/2018 initial release
#
# CO
##########################

package Google::ContentAPI;

use strict;
use warnings;
use Carp;

use JSON;
use Crypt::JWT qw(encode_jwt);
use REST::Client;
use HTML::Entities;

our $VERSION = '1.03';

su
file});
    } elsif ($params->{config_json}) {
         $self->{config} = decode_json $params->{config_json};
    } else {
      croak "config_file or config_json not provided in new()";
    }
    $se
DDC-XS ( M/MO/MOOCOW/DDC-XS-0.27.tar.gz, MOOCOW, 2020; MetaCPAN )
DDC-XS/XS/CQFilter.pod ( view source; MetaCPAN )
r.h.in '-vt=^[mb]_' -o QueryFilter '-dn=free' '-dt=Node|Compiler|Options|FilterWithBounds' '-dm=::json|::arg|valueString|SetValueString|SortBounds'
##  + ... then edited!

=pod

=head1 NAME

DDC::XS::
 @ISA=qw(DDC::XS::Object);
 
 # Methods
 $string = $CQFilter->toString();
 $string = $CQFilter->toJson();

 #----------------------------------------------------------------------
 # DDC::XS::CQFSort 
SNS-Notification ( J/JL/JLMARTIN/SNS-Notification-0.03.tar.gz, JLMARTIN, 2020; MetaCPAN )
SNS-Notification/README.pod ( view source; MetaCPAN )
estamp => ...
    ... required attributes ...
  );
  #do something with $obj

  my $body = decode_json($sns_message);
  my $sns = eval { SNS::Notification->new($body) };
  if ($@) {
    die "Doesn't l
(and not reimplement it constantly).

=head1 SEE ALSO

L<http://docs.aws.amazon.com/sns/latest/dg/json-formats.html>

L<http://docs.aws.amazon.com/sns/latest/dg/SendMessageToHttp.html>

L<http://docs.
DDC-Concordance ( M/MO/MOOCOW/DDC-Concordance-0.50.tar.gz, MOOCOW, 2020; MetaCPAN )
DDC-Concordance/lib/DDC/Client.pm ( view source; MetaCPAN )
ness of server
our $ilen = 4;

## $JSON_BACKEND
## + underlying JSON module (default='JSON')
our ($JSON_BACKEND);
BEGIN {
  $JSON_BACKEND = 'JSON' if (!defined($JSON_BACKEND));
}

##==================
t=>$connectURL
##     mode   =>$queryMode,     ##-- one of 'table', 'html', 'text', 'json', or 'raw'; default='json' ('html' is not yet supported)
##     linger =>\@linger,       ##-- SO_LINGER socket
y $dc =bless {
		 ##-- connection options
		 connect=> $connect,
		 linger => [1,0],
		 mode   =>'json',
		 encoding => 'UTF-8',

		 ##-- query options (formerly in DDC::Client::Distributed)
		 start=
Object-GMP ( M/MI/MICVU/Object-GMP-0.007.tar.gz, MICVU, 2020; MetaCPAN )
Object-GMP/lib/Object/GMP.pm ( view source; MetaCPAN )
ttps://metacpan.org/pod/Object::GMP>

=cut

use Moo::Role;
use Math::BigInt lib => 'GMP';
require JSON::XS;

my %GMP_FIELDS = ();

sub BUILDARGS_val2gmp {
    my ($class, @fields) = @_;

    map { $GM
        $hash{$key} = $val;
        }
    }

    return \%hash;
}

sub to_json {
    my ($self, %options) = @_;
    return JSON::XS->new->pretty->encode($self->hashref(%options));
}

sub _debug {
    
ions) = @_;
    return if !$ENV{DEBUG};
    return if $ENV{ONLY_SHOW} && $pre_note !~/$ENV{ONLY_SHOW}/;
    print "$pre_note: " if $pre_note;
    print $self->to_json(%options);
    print "\n";
}

1;
BenchmarkAnything-Storage-Search-Elasticsearch ( S/SC/SCHWIGON/BenchmarkAnything-Storage-Search-Elasticsearch-0.005.tar.gz, SCHWIGON, 2020; MetaCPAN )
BenchmarkAnything-Storage-Search-Elasticsearch/lib/BenchmarkAnything/Storage/Search/Elasticsearch.pm ( view source; MetaCPAN )
earch}{nodes} || ["localhost:9200"]),
      $opt->{ownjson} ? (serializer => "+BenchmarkAnything::Storage::Search::Elasticsearch::Serializer::JSON::DontTouchMyUTF8") : (),
     );
    my $or_es = Sear
 of the C<searchengine> entry from BenchmarkAnything::Config;

=item ownjson

If set to a true value then the client uses a JSON serializer that
does not try to upgrade/downgrade/encode/decode your al
RTx-ToGitHub ( D/DR/DROLSKY/RTx-ToGitHub-0.09.tar.gz, DROLSKY, 2020; MetaCPAN )
RTx-ToGitHub/lib/RTx/ToGitHub.pm ( view source; MetaCPAN )
    return $dist;
}

sub _dist_from_local_files {
    my ($meta) = grep {-r} qw( MYMETA.json MYMETA.yml META.json META.yml );
    if ($meta) {
        my $cm = CPAN::Meta->load_file($meta);
        re
BenchmarkAnything-Storage-Backend-SQL ( S/SC/SCHWIGON/BenchmarkAnything-Storage-Backend-SQL-0.029.tar.gz, SCHWIGON, 2020; MetaCPAN )
BenchmarkAnything-Storage-Backend-SQL/lib/BenchmarkAnything/Storage/Backend/SQL/Query/SQLite.pm ( view source; MetaCPAN )
ed_selects{$or_self} = {};

    # deep copy hash
    require JSON::XS;
    $hr_search = JSON::XS::decode_json(
        JSON::XS::encode_json( $hr_search )
    );

    my (
        $s_limit,
        $s
BenchmarkAnything-Storage-Backend-SQL ( S/SC/SCHWIGON/BenchmarkAnything-Storage-Backend-SQL-0.029.tar.gz, SCHWIGON, 2020; MetaCPAN )
BenchmarkAnything-Storage-Backend-SQL/lib/BenchmarkAnything/Storage/Backend/SQL/Search.pm ( view source; MetaCPAN )
strict;
use warnings;
use Data::Dumper;


sub json_true  { bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ) }
sub json_false { bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ) }

sub _sync_search_engine_p
Elasticsearch::get_elasticsearch_client
     (
      {searchengine => $or_sql->{searchengine}, ownjson => 1}
     );
    my $bulk = $or_es->bulk_helper(index => $s_index, type => $s_type);

    # === 
 "core_field_NAME"     => { "match" => "NAME",     "mapping" => { "type" => "keyword", "store" => json_true } } },
          { "core_field_VALUE"    => { "match" => "VALUE",    "mapping" => { "type" =
BenchmarkAnything-Storage-Backend-SQL ( S/SC/SCHWIGON/BenchmarkAnything-Storage-Backend-SQL-0.029.tar.gz, SCHWIGON, 2020; MetaCPAN )
BenchmarkAnything-Storage-Backend-SQL/lib/BenchmarkAnything/Storage/Backend/SQL.pm ( view source; MetaCPAN )
arch::get_elasticsearch_client
         (
          {searchengine => $or_self->{searchengine}, ownjson => 1}
         );

        # Sic, we re-read from DB to get the very same data we
        # *real
ttern] : [];

    my $s_key;
    if ( $or_self->{cache} ) {
        require JSON::XS;
        $s_key = JSON::XS::encode_json($ar_pattern);
        if ( my $ar_search_data = $or_self->{cache}->get("lis
ttern] : [];

    my $s_key;
    if ( $or_self->{cache} ) {
        require JSON::XS;
        $s_key = JSON::XS::encode_json($ar_pattern);
        if ( my $ar_search_data = $or_self->{cache}->get("lis
WWW-Picnic ( G/GE/GETTY/WWW-Picnic-0.001.tar.gz, GETTY, 2020; MetaCPAN )
WWW-Picnic/lib/WWW/Picnic.pm ( view source; MetaCPAN )
ccess Picnic Supermarket API
$WWW::Picnic::VERSION = '0.001';
use Moo;

use Carp qw( croak );
use JSON::MaybeXS;
use HTTP::Request;
use LWP::UserAgent;
use Digest::MD5 qw( md5_hex );

has user => (
  
=> 'ro',
  lazy => 1,
  default => sub { 'okhttp/3.9.0' },
);

has json => (
  is => 'ro',
  lazy => 1,
  default => sub { return JSON::MaybeXS->new },
);

has _auth_cache => (
  is => 'ro',
  default
$request->header('Accept' => 'application/json');
    $request->header('Content-Type' => 'application/json; charset=UTF-8');
    $request->content($self->json->encode({
      key => $self->user,
     
Mojolicious-Plugin-StaticShare ( M/MC/MCHE/Mojolicious-Plugin-StaticShare-0.075.tar.gz, MCHE, 2020; MetaCPAN )
Mojolicious-Plugin-StaticShare/lib/Mojolicious/Plugin/StaticShare/Templates.pm ( view source; MetaCPAN )
n" type="image/png" href="/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="theme-color" c
Mojolicious-Plugin-StaticShare ( M/MC/MCHE/Mojolicious-Plugin-StaticShare-0.075.tar.gz, MCHE, 2020; MetaCPAN )
Mojolicious-Plugin-StaticShare/lib/Mojolicious/Plugin/StaticShare/Controller.pm ( view source; MetaCPAN )
ender(json=>{error=>$c->i18n('you cant create dir')});
  } elsif (my $rename = $c->param('rename')) {
    return $c->rename($file_path, $rename)
      if $c->is_admin;
    return $c->render(json=>{err
render(json=>{error=>$c->i18n('you cant delete')});
  } elsif (defined (my $edit = $c->param('edit'))) {
    return $c->_edit($file_path, $edit)
      if $c->is_admin;
    return $c->render(json=>{err

  
  return $c->render(json=>{error=>$c->i18n('target directory not found')})
    if !$c->is_admin && grep {/^\./} @{$c->stash('url_path')->parts};
  
  return $c->render(json=>{error=>$c->i18n('you 

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