Group
Extension

Matches 35358

JSON-Schema-ToJSON ( L/LE/LEEJO/JSON-Schema-ToJSON-0.20.tar.gz, LEEJO, 2022; MetaCPAN )
JSON-Schema-ToJSON/README.pod ( view source; MetaCPAN )
package JSON::Schema::ToJSON;

use strict;
use warnings;

use B;
use Mojo::Base -base;
use Cpanel::JSON::XS;
use String::Random;
use Hash::Merge qw/ merge /;
use Data::Fake qw/ Core Names Text Dates /
/;

our $VERSION = '0.20';

has _validator  => sub {
	$ENV{JSON_VALIDATOR_RECURSION_LIMIT} = shift->max_depth;
	require JSON::Validator;
	JSON::Validator->new
};

has _str_rand   => sub { String::Rand
 0 };

sub json_schema_to_json {
	my ( $self,%args ) = @_;

	my $schema = $args{schema}; # an already parsed JSON schema

	if ( ! $schema ) {
		$schema = $args{schema_str} # an unparsed JSON schema
		
NewsExtractor ( G/GU/GUGOD/NewsExtractor-v0.45.0.tar.gz, GUGOD, 2022; MetaCPAN )
NewsExtractor/lib/NewsExtractor/Article.pm ( view source; MetaCPAN )
> 'ro', isa => Text1K );
has journalist => ( predicate => 1, is => 'ro', isa => Text1K );

sub TO_JSON {
    my ($self) = @_;
    return {
        headline => $self->headline,
        article_body => 
CBOR-Free ( F/FE/FELIPE/CBOR-Free-0.32.tar.gz, FELIPE, 2022; MetaCPAN )
CBOR-Free/lib/CBOR/Free.pm ( view source; MetaCPAN )
::Free is pretty snappy. I find that it keeps pace with or
surpasses L<CBOR::XS>, L<Cpanel::JSON::XS>, L<JSON::XS>, L<Sereal>,
and L<Data::MessagePack>.

It’s also quite light. Its only “heavy” 
Git-CPAN-Patch ( Y/YA/YANICK/Git-CPAN-Patch-2.5.0.tar.gz, YANICK, 2022; MetaCPAN )
Git-CPAN-Patch/lib/Git/CPAN/Patch/Release.pm ( view source; MetaCPAN )
$_->exists }
                        map { path( $self->extracted_dir )->child( "META.$_" ) } qw/ json yml /;

        return $result;

    },
);

has dist_version => (
    is => 'ro',
    lazy => 1,
CBOR-Free ( F/FE/FELIPE/CBOR-Free-0.32.tar.gz, FELIPE, 2022; MetaCPAN )
CBOR-Free/t_manual/upstream_test_vectors.t ( view source; MetaCPAN )
      require JSON;

        my $json = HTTP::Tiny->new()->get('https://raw.githubusercontent.com/cbor/test-vectors/master/appendix_a.json')->{'content'};

        JSON::decode_json($json);
    };

  
Slovo-Plugin-Prodan ( B/BE/BEROV/Slovo-Plugin-Prodan-0.05.tar.gz, BEROV, 2022; MetaCPAN )
Slovo-Plugin-Prodan/lib/Slovo/Model/Products.pm ( view source; MetaCPAN )
 properties     => {-like => '%"images"%'}        #only variants which have images
    },
    limit => 35
  })->each(sub {
    $_->{properties} = Mojo::JSON::from_json($_->{properties});
  });

}

1;
Slovo-Plugin-Prodan ( B/BE/BEROV/Slovo-Plugin-Prodan-0.05.tar.gz, BEROV, 2022; MetaCPAN )
Slovo-Plugin-Prodan/lib/Slovo/Controller/Poruchki.pm ( view source; MetaCPAN )
e 'Slovo::Controller', -signatures;
use Mojo::Util qw(dumper decode );

use Mojo::JSON qw(true false from_json to_json);

# POST /poruchki
# Create and store a new order.
# Invoked via OpenAPI by cart
shop->{crupdate_order_endpoint} =>
      {'Content-Type' => 'application/json', Authorization => $shop->{private_key}},
    json => $_order_struct
  )->res;
  $c->debug(
    'req_url: '        => $sho
uct:' => $_order_struct
  );
  $c->debug('$eco_res->json:' => $eco_res->json);
  if ($eco_res->is_success) {
    $o->{deliverer_id} = $eco_res->json->{id} + 0;
    $o->{created_at}   = $o->{tstamp} = 
Slovo-Plugin-Prodan ( B/BE/BEROV/Slovo-Plugin-Prodan-0.05.tar.gz, BEROV, 2022; MetaCPAN )
Slovo-Plugin-Prodan/lib/Slovo/Plugin/Prodan.pm ( view source; MetaCPAN )
Plugin::Prodan;
use feature ':5.26';
use Mojo::Base 'Mojolicious::Plugin', -signatures;
use Mojo::JSON qw(true false);

our $AUTHORITY = 'cpan:BEROV';
our $VERSION   = '0.05';

has app => sub { Slovo-
rResponse'}}}
    },
  );
}

# Returns description as a perl structure of objects defined for the json API
# to be added to the /definitions of our OpenAPI
sub _definitions {
  return (
    ListOfPoru
pdate_order_endpoint}
    //= 'https://delivery-demo.econt.com/services/OrdersService.updateOrder.json';

  # Ендпойнта на услугата за създаване или редактира
Net-Twitch-API ( C/CL/CLIPLAND/Net-Twitch-API-0.11.tar.gz, CLIPLAND, 2022; MetaCPAN )
Net-Twitch-API/lib/Net/Twitch/API.pm ( view source; MetaCPAN )
tch::API;

use warnings;
use strict;

use WebService::Simple;
use base 'WebService::Simple';

use JSON ();

our $VERSION   = '0.11';

# overide our base modules WebService::Simple _agent() method with
	base_url        => 'https://api.twitch.tv/helix/', # needs a trailing slash
	response_parser => 'JSON',
);

# we wrap the underlying base's new() method to attach credentials (which are normally disc
Slovo-Plugin-Prodan ( B/BE/BEROV/Slovo-Plugin-Prodan-0.05.tar.gz, BEROV, 2022; MetaCPAN )
Slovo-Plugin-Prodan/README.pod ( view source; MetaCPAN )
nt.com/services/OrdersService.updateOrder.json',
          create_awb_endpoint =>
            'https://delivery.econt.com/services/OrdersService.createAWB.json'
        }}
    },
    #...
  ],

=head1
Class-Generic ( J/JD/JDEGUEST/Class-Generic-v0.1.1.tar.gz, JDEGUEST, 2022; MetaCPAN )
Class-Generic/lib/Class/DateTime.pm ( view source; MetaCPAN )
Time>. It allows overloaded operations, including subtraction and conversion for L<Storable> or L<JSON>

See L<Module::Generic::DateTime> for more information.

=head1 SEE ALSO

L<Class::Generic>, L<C
Slovo-Plugin-Prodan ( B/BE/BEROV/Slovo-Plugin-Prodan-0.05.tar.gz, BEROV, 2022; MetaCPAN )
Slovo-Plugin-Prodan/lib/Slovo/Command/prodan/products.pm ( view source; MetaCPAN )
jo::Util qw(encode decode getopt dumper);
use YAML::XS qw(Dump DumpFile LoadFile);
use Mojo::JSON qw(to_json);
has description => 'Manage products on the command line';

has usage   => sub { shift->ex
 from' . $/ . $/ . $self->usage)
      && return;
    $file =~ /\.(ya?ml|json)$/
      || STDERR->say(
      'Only YAML and json files are supported right now.' . $/ . $/ . $self->usage)
      && retu
       p_type => $_->{p_type},

          # The data is NOT encoded to UTF8 by to_json
          properties => to_json($_->{properties})});
    } unless $db->select('products', ['id'], {alias => $_->{
HackaMol ( D/DE/DEMIAN/HackaMol-0.053.tar.gz, DEMIAN, 2022; MetaCPAN )
HackaMol/lib/HackaMol/Molecule.pm ( view source; MetaCPAN )
aMol::Roles::QmMolRole';  #,
    #    'HackaMol::Roles::SelectionRole';

#, Storage( 'format' => 'JSON', 'io' => 'File' );

extends 'HackaMol::AtomGroup';

has 'groups' => (
    traits  => ['Array'],
Binance-API ( T/TA/TASKULA/Binance-API-1.09.tar.gz, TASKULA, 2022; MetaCPAN )
Binance-API/lib/Binance/PerlDependencies.pm ( view source; MetaCPAN )
ARE.

use strict;
use warnings;

our $required = {
    'Exception::Class'
        => '1.38',
    'JSON'
        => '2.07',
    'LWP::Protocol::https'
        => '6.04',
    'LWP::UserAgent'
        =>
Binance-API ( T/TA/TASKULA/Binance-API-1.09.tar.gz, TASKULA, 2022; MetaCPAN )
Binance-API/lib/Binance/API/Request.pm ( view source; MetaCPAN )
use strict;
use warnings;

use base 'LWP::UserAgent';

use Digest::SHA qw( hmac_sha256_hex );
use JSON;
use Time::HiRes;
use URI;
use URI::QueryParam;

use Binance::Constants qw( :all );

use Binance:
 = $self->$method($url);
    }
    if ($response->is_success) {
        $response = eval { decode_json($response->decoded_content); };
        if ($@) {
            $self->{logger}->error(
           
App-ModuleFeaturesUtils ( P/PE/PERLANCAR/App-ModuleFeaturesUtils-0.006.tar.gz, PERLANCAR, 2022; MetaCPAN )
App-ModuleFeaturesUtils/lib/App/ModuleFeaturesUtils.pm ( view source; MetaCPAN )
et specification specified on the command line',
            src => q([[prog]] --feature-set-data-json '{"v":1, "summary":"Foo", "features":{"feature1":{}, "feature2":{"schema":"uint*","req":1}}}'),
 
mmary => 'Check feature declaration specified on the command line as JSON',
            src => q([[prog]] --features-decl-data-json '{"v":1, "features":{"TextTable": {"can_halign":0}}}'),
        },
 
Binance-API ( T/TA/TASKULA/Binance-API-1.09.tar.gz, TASKULA, 2022; MetaCPAN )
Binance-API/lib/Binance/API.pm ( view source; MetaCPAN )
ergQty

[OPTIONAL] Used with iceberg orders.

=item newOrderRespType

[OPTIONAL] Set the response JSON. ACK, RESULT, or FULL; MARKET and LIMIT order
types default to FULL, all other orders default to 
HackaMol ( D/DE/DEMIAN/HackaMol-0.053.tar.gz, DEMIAN, 2022; MetaCPAN )
HackaMol/lib/HackaMol/Atom.pm ( view source; MetaCPAN )
clean;
use Carp;
use MooseX::StrictConstructor;

#use MooseX::Storage;
#with Storage('format' => 'JSON', 'io' => 'File');

with 'HackaMol::Roles::NameRole',
  'HackaMol::Roles::PhysVecMVRRole',
  'Hac
HackaMol ( D/DE/DEMIAN/HackaMol-0.053.tar.gz, DEMIAN, 2022; MetaCPAN )
HackaMol/lib/HackaMol/Roles/AtomGroupRole.pm ( view source; MetaCPAN )
calar::Util 'reftype';
use List::Util qw(sum);

#use MooseX::Storage;
#with Storage( 'format' => 'JSON', 'io' => 'File', traits => ['OnlyWhenBuilt'] );

my $angste_debye = 4.80320;

has 'atoms' => (
 
Mojo-Redis ( J/JH/JHTHORSEN/Mojo-Redis-3.29.tar.gz, JHTHORSEN, 2022; MetaCPAN )
Mojo-Redis/lib/Mojo/Redis/PubSub.pm ( view source; MetaCPAN )
package Mojo::Redis::PubSub;
use Mojo::Base 'Mojo::EventEmitter';

use Mojo::JSON qw(from_json to_json);

use constant DEBUG => $ENV{MOJO_REDIS_DEBUG};

has connection => sub {
  my $self = shift;
  m
 in constructor') };

sub channels_p { shift->db->call_p(qw(PUBSUB CHANNELS), @_) }
sub json       { ++$_[0]{json}{$_[1]} and return $_[0] }

sub keyspace_listen {
  my ($self, $cb) = (shift, pop);
  
;
  return $cb;
}

sub notify_p {
  my ($self, $name, $payload) = @_;
  $payload = to_json $payload if $self->{json}{$name};
  return $self->db->call_p(PUBLISH => $name, $payload);
}

sub notify   { s

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