Group
Extension

Matches 35358

Mylisp ( S/SS/SSQQ/Mylisp-3.00.tar.gz, SSQQ, 2018; MetaCPAN )
Mylisp/lib/Mylisp/SppAst.pm ( view source; MetaCPAN )
@ISA = qw(Exporter);
our @EXPORT = qw(GetSppAst);

use Mylisp::Estr;

sub GetSppAst {
  my $json = <<'EOF'
[["door",["Rules",[["Rept",["+",["Branch",[["Rept",["+",["Cclass","s"]]],["Rtoken","_c
",["*",["Ctoken","eatom"]]],["Blank","b"],["Char","]"]]]],["eatom",["Branch",[["Ntoken","Array"],["Ntoken","Sub"],["Ntoken","Sym"],["Ntoken","Kstr"]]]]]
EOF
;
  return json_to_estr($json);
}
1;
WWW-FBX ( A/AR/ARCHITEK/WWW-FBX-0.23.tar.gz, ARCHITEK, 2018; MetaCPAN )
WWW-FBX/lib/WWW/FBX.pm ( view source; MetaCPAN )
package WWW::FBX;
use Moose;
use Carp::Clan qw/^(?:WWW::FBX|Moose|Class::MOP)/;
use JSON::MaybeXS;
use Scalar::Util qw/reftype/;
use URI::Escape;
use HTTP::Request::Common;
use WWW::FBX::Error;
use En
 'Bool', is => 'ro', default => 0 );

has _json_handler   => (
    is      => 'rw',
    default => sub { JSON->new->allow_nonref },
    handles => { from_json => 'decode' },
);

sub _set_debug {
    m
$self = shift;
 
    my $ua = LWP::UserAgent->new(%{$self->lwp_args});
 
    return $ua;
}
 
sub _json_request {
    my ($self, $http_method, $uri, $args, $content_type ) = @_;
 
    my $msg = $self->
Yahoo-Weather-Api ( S/SP/SPAJAI/Yahoo-Weather-Api-2.00.tar.gz, SPAJAI, 2018; MetaCPAN )
Yahoo-Weather-Api/lib/Yahoo/Weather/Api.pm ( view source; MetaCPAN )
o::Weather::Api->new({ 'unit' => 'C'});

B<Format> return data type from api JSON B<json> or XML B<xml> 

Default is B<json>

    my $api = Yahoo::Weather::Api->new({ 'format' => 'xml' , 'unit' => 'F'
oeid_alternate

Fetch woeid for a place using alternate method (zip,city/location name) B<Stricty JSON return type data>

get_woeid_alternate uses unexposed Yahoo's api so no API call caping

this met
} || 'json';
    $args->{unit}  = $args->{unit} || 'c';
    $args->{internet_check} = $args->{internet_check} || 0;

    croak "Invalid format use json or xml " unless ($args->{format} =~ /^(json|xml)
Mylisp ( S/SS/SSQQ/Mylisp-3.00.tar.gz, SSQQ, 2018; MetaCPAN )
Mylisp/lib/Mylisp.pm ( view source; MetaCPAN )
 ($ok) {
      my $ast = clean_ast($match);
      say estr_to_json($ast);
      my $opt_ast = OptSppAst($ast);
      say estr_to_json($opt_ast);
    }
    else {
      say $match;
    }
  }
 if (not($ok)) {
    error($match);
  }
  my $clean_ast = clean_ast($match);
  return estr_to_json($clean_ast)
}

sub get_my_table {
  my $grammar = GetMyGrammar();
  my $ast = GrammarToAst($
 shift;
  my $grammar = read_file($file);
  my $ast = GrammarToAst($grammar);
  return estr_to_json($ast)
}

sub LintSppAst {
  my $ast = shift;
  my $table = {};
  my $values = [];
  for my
WWW-FBX ( A/AR/ARCHITEK/WWW-FBX-0.23.tar.gz, ARCHITEK, 2018; MetaCPAN )
WWW-FBX/lib/WWW/FBX/API.pm ( view source; MetaCPAN )
suff};

        my $uri = URI->new( $self->base_url . "$_api_url/$path");

        return $self->_json_request(
            $options{method},
            $uri,
            $args,
            $options{
WWW-FBX ( A/AR/ARCHITEK/WWW-FBX-0.23.tar.gz, ARCHITEK, 2018; MetaCPAN )
WWW-FBX/script/fbx-test.pl ( view source; MetaCPAN )
se JSON::MaybeXS;
use WWW::FBX;

my $fbx;
my $store = 'app_token';
my $conn = {
    app_id => "APP ID",
    app_name => "APP NAME",
    app_version => "1.0",
    device_name => "debian",
};
my $json;
cute given command (JSON or not)
    local $Data::Dumper::Sortkeys = 1;
    local $Data::Dumper::Indent = 1;
    local $Data::Dumper::Deepcopy = 1;
    if (eval { $json = from_json( $ARGV[0]) } ) {
  
    $res = $fbx->$cmd($json);
    } else {
      $res = $fbx->$cmd(@ARGV);
    }
    print Dumper $res unless $quiet;
  }
};

if ( my $err = $@ ) {
    die $@ unless blessed $err && $err->isa('WWW::FB
YAML-Dump ( P/PO/POLETTIX/YAML-Dump-1.84.tar.gz, POLETTIX, 2018; MetaCPAN )
YAML-Dump/lib/YAML/Dump.pod ( view source; MetaCPAN )
rk.

=item *

L<JSON::PP::Boolean>

=item *

L<boolean>

=item *

L<JSON::XS::Boolean>

=item *

L<Types::Serialiaser::Boolean> (although it should not be needed)

=item *

L<Mojo::JSON::_Bool>, for L
<Mojolicious> up to version 6.21 (it later
switched to L<JSON::PP::Boolean>).

=back


=head2 Unsupported References

When a reference that is neither a hash nor an array reference is found,
method L<
Net-OpenStack-Swift ( M/MA/MASAKYST/Net-OpenStack-Swift-0.15.tar.gz, MASAKYST, 2018; MetaCPAN )
Net-OpenStack-Swift/lib/Net/OpenStack/Swift/InnerKeystone.pm ( view source; MetaCPAN )
package Net::OpenStack::Swift::InnerKeystone::Base;
use Carp;
use Mouse;
use JSON;
use Furl;
use Data::Validator;
use namespace::clean -except => 'meta';

has auth_token      => ( is => 'rw' );
has se
>{ $args->{endpoint_type} };
}

package Net::OpenStack::Swift::InnerKeystone::V1_0;
use Carp;
use JSON;
use Mouse;
use namespace::clean -except => 'meta';

extends 'Net::OpenStack::Swift::InnerKeyston
 return $self->auth_token();
}

package Net::OpenStack::Swift::InnerKeystone::V2_0;
use Carp;
use JSON;
use Mouse;
use namespace::clean -except => 'meta';

extends 'Net::OpenStack::Swift::InnerKeyston
Oracle-ZFSSA-Client ( W/WH/WHINDS/Oracle-ZFSSA-Client-0.01.tar.gz, WHINDS, 2018; MetaCPAN )
Oracle-ZFSSA-Client/lib/Oracle/ZFSSA/Client.pm ( view source; MetaCPAN )
package Oracle::ZFSSA::Client;

use 5.008;

use strict;
use warnings;

use LWP::UserAgent;
use JSON;

our $VERSION = '0.01';

# HTTP Return Codes
use HTTP::Status qw(:constants);

sub new {

   my $cl
           'X-Auth-Key'    => $self->{password},
                 'Content-Type'  => 'application/json; charset=utf-8'];
   my $r = HTTP::Request->new('POST', $url, $header);
   my $ua = LWP::UserAgen
ass;
   return $self;
}

sub call {

   my ($self,$method,$uri,$json) = @_;

   $json = JSON->new->utf8->encode($json) if (defined($json));

   my $url = $self->{url} . $uri;
   my $header = ['X-Auth-
Sentry ( P/PA/PAVELSR/Sentry-0.01.tar.gz, PAVELSR, 2018; MetaCPAN )
Sentry/lib/Sentry.pm ( view source; MetaCPAN )
'0.01';


use LWP::UserAgent;
use MIME::Base64 'encode_base64';
use Sys::Hostname;
use POSIX;
use JSON::XS;
use Sub::Name;
use Carp;
use Class::Tiny;

my @LEVELS;

BEGIN {
    @LEVELS = qw( fatal erro
;
    $message = encode_json $message;
    my $response = $self->{ua}->post(
        $self->{uri},
        'X-Sentry-Auth' => $auth,
        'Content-Type'  => 'application/json',
        Content     
ecoded_content;
        }

        die $response->status_line;
    }

    my $answer_ref = decode_json $response->decoded_content;

    die 'Wrong answer format' unless $answer_ref && $answer_ref->{id
Oracle-ZFSSA-Client ( W/WH/WHINDS/Oracle-ZFSSA-Client-0.01.tar.gz, WHINDS, 2018; MetaCPAN )
Oracle-ZFSSA-Client/ex/example.pl ( view source; MetaCPAN )
/makehtml-id-157.html#scrolltoc

$result = $zfssa->call('GET','/api/storage/v1/pools');

=cut Raw JSON result
{
   "pools": 
   [
      {
         "profile": "mirror3",
         "name": "platinum",
  
"asn": "2f4aeeb3-b670-ee53-e0a7-d8e0ae410749"
      }
   ]
}
=cut

# Pools is an array within our JSON result
@pools = @{ $result->{pools} };

foreach $pool (@pools) {
   print $pool->{name};
}
# plat
crolltoc

# Our JSON parameters
$param = {
   "name": "initial-backup"
};

$result = $zfssa->call('POST','/api/storage/v1/pools/gold/projects/default/snapshots',$param);

=cut Raw JSON result
{
   "sn
CPAN-Testers-Common-Client ( G/GA/GARU/CPAN-Testers-Common-Client-0.14.tar.gz, GARU, 2018; MetaCPAN )
CPAN-Testers-Common-Client/lib/CPAN/Testers/Common/Client/Config.pm ( view source; MetaCPAN )
 {
        default  => 'Metabase uri https://metabase.cpantesters.org/api/v1/ id_file metabase_id.json',
        prompt   => 'Which transport system will be used to transmit the reports?',
        val
Report_HTML_DB ( H/HI/HIMEWEN/Report_HTML_DB-0.1.tar.gz, HIMEWEN, 2018; MetaCPAN )
Report_HTML_DB/script/report_html_db.pl ( view source; MetaCPAN )
arquivo example.html
#	Pega o conteúdo e concatena a query no script SQL
#
###
$scriptSQL .= readJSON($html_file);
print $LOG "\n$html_file read!\n";

#apaga diretorios antigos com fastas
print $LOG 
pendences:\ncpan DBIx::Class Catalyst::Devel Catalyst::Runtime Catalyst::View::TT Catalyst::View::JSON Catalyst::Model::DBIC::Schema DBIx::Class::Schema::Loader MooseX::NonMoose\n";
    exit;
}
chomp 
\$formData = do { local \$/; <\$FILEHANDLER> };
    close(\$FILEHANDLER);
    use JSON;
    my \%hash = \%{ decode_json(\$formData) };

    foreach my \$key ( keys \%hash ) {
        if (\$key) {
    
Net-OpenStack-Swift ( M/MA/MASAKYST/Net-OpenStack-Swift-0.15.tar.gz, MASAKYST, 2018; MetaCPAN )
Net-OpenStack-Swift/lib/Net/OpenStack/Swift.pm ( view source; MetaCPAN )
package Net::OpenStack::Swift;
use Carp;
use Mouse;
use Mouse::Util::TypeConstraints;
use JSON;
use Path::Tiny;
use Data::Validator;
use Net::OpenStack::Swift::Util qw/uri_escape uri_unescape debugf/;
def },
    );
    my $args = $rule->validate(@_);

    # make query strings
    my @qs = ('format=json');
    if ($args->{marker}) {
        push @qs, sprintf "marker=%s", uri_escape($args->{marker});
t() response body %s",    $res->content);
    my %headers = @headers;
    return (\%headers, from_json($res->content));
}

sub head_account {
    my $self = shift;
    my $rule = Data::Validator->new(
Report_HTML_DB ( H/HI/HIMEWEN/Report_HTML_DB-0.1.tar.gz, HIMEWEN, 2018; MetaCPAN )
Report_HTML_DB/lib/Report_HTML_DB/Models/Services/BaseResponse.pm ( view source; MetaCPAN )
TML_DB::Models::Services::BaseResponse;
use Moose;
use MooseX::Storage;
with Storage('format'	=>	'JSON');

=pod

This class will be used like a model of response returned from services

=cut

has stat
YAML-Dump ( P/PO/POLETTIX/YAML-Dump-1.84.tar.gz, POLETTIX, 2018; MetaCPAN )
YAML-Dump/lib/YAML/Dump.pm ( view source; MetaCPAN )
andidates = [
         'JSON::PP::Boolean',
         'boolean',
         'JSON::XS::Boolean',
         'Types::Serialiser::Boolean',  # should not be needed
         'Mojo::JSON::_Bool',           # o
Task-BeLike-DAGOLDEN ( D/DA/DAGOLDEN/Task-BeLike-DAGOLDEN-1.011.tar.gz, DAGOLDEN, 2018; MetaCPAN )
Task-BeLike-DAGOLDEN/lib/Task/BeLike/DAGOLDEN.pm ( view source; MetaCPAN )
e>

=head2 Data manipulation tools

=head3 L<Const::Fast>

=head3 L<Data::Stream::Bulk>

=head3 L<JSON::MaybeXS>

=head3 L<List::AllUtils>

=head3 L<Regexp::Common>

=head3 L<Syntax::Keyword::Junction
SQS-Worker ( J/JL/JLMARTIN/SQS-Worker-0.06.tar.gz, JLMARTIN, 2018; MetaCPAN )
SQS-Worker/lib/SQS/Worker/Client.pm ( view source; MetaCPAN )
package SQS::Worker::Client {
  use Moose;
  use Paws;
  use JSON::MaybeXS;
  use MIME::Base64;
  use Storable qw/nfreeze/;

  has queue_url => (is => 'ro', isa => 'Str', required => 1);
  has region 
o', isa => 'Str', default => 'json');
  has _serializer => (is => 'ro', isa => 'HashRef[CodeRef]', default => sub {
    return {
      json     => sub { return encode_json \@_; },
      storable => su
Net-OpenStack-Swift ( M/MA/MASAKYST/Net-OpenStack-Swift-0.15.tar.gz, MASAKYST, 2018; MetaCPAN )
Net-OpenStack-Swift/script/swift.pl ( view source; MetaCPAN )
e;
use Net::OpenStack::Swift;
use Parallel::Fork::BossWorkerAsync;
use Sys::CPU;
use JSON qw/encode_json decode_json/;


sub setup {
    my $c = shift;

    $c->register_commands({
        'version'  
 {
    _auth(@_);
    my $c = shift;
    my $target = $ARGV[0] ||= '';
    my $x_headers = decode_json($ARGV[1] ||= '{}');
    my ($container_name, $object_name, $prefix, $delimiter) = _path_parts($ta
SQS-Worker ( J/JL/JLMARTIN/SQS-Worker-0.06.tar.gz, JLMARTIN, 2018; MetaCPAN )
SQS-Worker/lib/SQS/Worker/SNS.pm ( view source; MetaCPAN )
  use SNS::Notification;
  use JSON::MaybeXS;

  around process_message => sub {
    my ($orig, $self, $message) = @_;

    my $body;
    eval {
      $body = decode_json($message->Body)
    };
    if
 ($@) {
      $self->log->error("Worker::SNS Error decoding JSON body in message " . $message->ReceiptHandle . ": " . $@ . " for content " . $message->Body);
      die $@;
    } else {
      die "SNS 

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