Group
Extension

Matches 35358

Class-Usul ( P/PJ/PJFL/class-usul/Class-Usul-0.84.1.tar.gz, PJFL, 2018; MetaCPAN )
Class-Usul/lib/Class/Usul/Config/Programs.pm ( view source; MetaCPAN )


A hash reference loaded from from a file selected by OS name. The file is named
like F<os_linux.json> and can be found in the configuration C<ctrldir>

=item C<owner>

String. Name of the applicatio
BenchmarkAnything-Storage-Frontend-HTTP ( S/SC/SCHWIGON/BenchmarkAnything-Storage-Frontend-HTTP-0.012.tar.gz, SCHWIGON, 2018; MetaCPAN )
BenchmarkAnything-Storage-Frontend-HTTP/lib/BenchmarkAnything/Storage/Frontend/HTTP/Controller/Search.pm ( view source; MetaCPAN )
_id = $self->param('value_id');
        my $query    = $self->req->json;

        if ($value_id) {
                $self->render(json => $self->app->backend->get_single_benchmark_point($value_id));
  

        {
                $self->render(json => $self->app->backend->search_array($query));
        }
        else
        {
                $self->render(json => []);
        }
}


sub listnames
{
 

        my $answer = $self->app->backend->list_benchmark_names(@pattern);

        $self->render(json => $answer);
}


sub listkeys
{
        my ($self) = @_;

        my $pattern = $self->param('pat
Class-Usul ( P/PJ/PJFL/class-usul/Class-Usul-0.84.1.tar.gz, PJFL, 2018; MetaCPAN )
Class-Usul/lib/Class/Usul/Functions.pm ( view source; MetaCPAN )
    },
                 'File::DataClass::IO' => sub { $_[ 0 ]->pathname     },
                 'JSON::XS::Boolean'   => sub { $_[ 0 ].q()           },
                 'Type::Tiny'          => sub {
Class-Usul ( P/PJ/PJFL/class-usul/Class-Usul-0.84.1.tar.gz, PJFL, 2018; MetaCPAN )
Class-Usul/lib/Class/Usul/Options.pm ( view source; MetaCPAN )
:Install           qw( install_sub );

my @option_attributes
   = qw( autosplit config doc format json negateable order repeatable short );

my @banished_keywords
   = qw( extra_argv new_with_options 
 } = $options{documentation};
   defined $options{order} or $options{order} = 0;

   if ($options{json}) {
      delete $options{repeatable}; delete $options{autosplit};
      delete $options{negateab
  f : float value

By default, it's a boolean value.

=item C<json>

Boolean which if true means that the argument to the option is in JSON format
and will be decoded as such

=item C<negateable>

App
BenchmarkAnything-Storage-Frontend-HTTP ( S/SC/SCHWIGON/BenchmarkAnything-Storage-Frontend-HTTP-0.012.tar.gz, SCHWIGON, 2018; MetaCPAN )
BenchmarkAnything-Storage-Frontend-HTTP/lib/BenchmarkAnything/Storage/Frontend/HTTP/Controller/Submit.pm ( view source; MetaCPAN )
e 'Mojolicious::Controller';


sub add
{
        my ($self) = @_;

        my $data = $self->req->json;

        if ($data)
        {
                if (!$ENV{HARNESS_ACTIVE}) {
                     
BenchmarkAnything - REST API - data submit

=head2 add

Parameters:

=over 4

=item * JSON request body

If a JSON request is provided it is interpreted as an array of
BenchmarkAnything data points ac
Memorator ( P/PO/POLETTIX/Memorator-0.006.tar.gz, POLETTIX, 2018; MetaCPAN )
Memorator/lib/Memorator.pod ( view source; MetaCPAN )
omewhere else. It has a textual form, so you might want to
abuse it to store more data (e.g. some JSON data); just keep in mind that
it is treated as an I<opaque identifier>, i.e. a string that is com
SolarBeam ( M/MR/MRAMBERG/SolarBeam-0.05.tar.gz, MRAMBERG, 2018; MetaCPAN )
SolarBeam/README.pod ( view source; MetaCPAN )
self->_build_query($query)) if $query;
  $url->query($self->default_query);
  $url->query({wt => 'json'});

  if ($options->{page}) {
    $self->_handle_page($options->{page}, $options);
  }

  if ($o
Store-Digest ( D/DO/DORIAN/Store-Digest-0.06.tar.gz, DORIAN, 2018; MetaCPAN )
Store-Digest/lib/Store/Digest/HTTP.pm ( view source; MetaCPAN )
e C<Accept> header, this resource will either return
RDFa-embedded (X)HTML, RDF/XML or Turtle (or JSON-LD, or whatever).
The HTML version includes a rudimentary interface to the
C<multipart/form-data>
TODO>: find or make an appropriate collection vocab, then implement
RDFa, RDF/XML, N3/Turtle, and JSON-LD variants.

=cut

$DISPATCH{partial}{GET} = sub {
    # we need (maybe) algo, non-zero partial 
Zcash-RPC-Client ( C/CY/CYCLENERD/Zcash-RPC-Client-1.01.tar.gz, CYCLENERD, 2018; MetaCPAN )
Zcash-RPC-Client/ex/example.pl ( view source; MetaCPAN )
istens for JSON-RPC connections
$RPCHOST = "127.0.0.1";

# User for JSON-RPC api commands
# rpcuser from file ~/.zcash/zcash.conf
$RPCUSER = "Your_zcashd_RPC_User_Name";

# Password for JSON-RPC api c
ckchaininfo\n";
$getblockchaininfo = $zec->getblockchaininfo;
print Dumper($getblockchaininfo);
# JSON arrays
@forks = @{ $getblockchaininfo->{softforks} };
foreach $f (@forks) {
	print $f->{id};
	pri
> z_listaddresses\n";
$z_listaddresses = $zec->z_listaddresses;
print Dumper($z_listaddresses);
# JSON array
@zaddresses = @{ $z_listaddresses };
foreach $zaddress (@zaddresses) {
	print "$zaddress\n"
WWW-Zotero-Write ( R/RA/RAPPAZF/WWW-Zotero-Write-0.04.tar.gz, RAPPAZF, 2018; MetaCPAN )
WWW-Zotero-Write/lib/WWW/Zotero/Write.pm ( view source; MetaCPAN )
te;

use 5.6.0;
use strict;
use warnings;
use Moo;
extends 'WWW::Zotero';

use Carp;
use JSON;

#use Data::Dumper;
use URI::Escape;

=head1 NAME

WWW::Zotero::Write - Perl interface to
    $self->_build_url( $groupid, $userid ) . "/collections/$data->{key}";
    my $token = encode_json($data);
    if ( !$data->{version} ) {
        $self->_header_last_modif_ver( $groupid, $userid
user)};
    my $url = $self->_build_url( $groupid, $userid ) . "/items";
    my $token = encode_json($data);
    $self->_header_last_modif_ver( $groupid, $userid );
    my $response = $self->clien
Dist-Zilla-PluginBundle-HARTZELL ( H/HA/HARTZELL/Dist-Zilla-PluginBundle-HARTZELL-0.011.tar.gz, HARTZELL, 2018; MetaCPAN )
Dist-Zilla-PluginBundle-HARTZELL/lib/Dist/Zilla/PluginBundle/HARTZELL.pm ( view source; MetaCPAN )
           [ 'Git::GatherDir' =>
                       { exclude_filename => [qw/README.pod META.json/] }], # core
                     'PruneCruft',         # core
                     'ManifestSkip
                  ],

                     'MetaYAML',           # core
                     'MetaJSON',           # core

                     # build system
                     'ExecDir',          
munger that acts earlier

                     # commit dirty Changes, dist.ini, README.pod, META.json
                     [ 'Git::Commit' => 'Commit_Dirty_Files' =>
                       {
        
SolarBeam ( M/MR/MRAMBERG/SolarBeam-0.05.tar.gz, MRAMBERG, 2018; MetaCPAN )
SolarBeam/lib/SolarBeam.pm ( view source; MetaCPAN )
self->_build_query($query)) if $query;
  $url->query($self->default_query);
  $url->query({wt => 'json'});

  if ($options->{page}) {
    $self->_handle_page($options->{page}, $options);
  }

  if ($o
Zcash-RPC-Client ( C/CY/CYCLENERD/Zcash-RPC-Client-1.01.tar.gz, CYCLENERD, 2018; MetaCPAN )
Zcash-RPC-Client/lib/Zcash/RPC/Client.pm ( view source; MetaCPAN )
.008;

use strict;
use warnings;

use Moo;
use JSON::RPC::Legacy::Client;

our $VERSION  = '1.01';

has jsonrpc  => (is => "lazy", default => sub { "JSON::RPC::Legacy::Client"->new });
has user     =>
en
   if ($self->wallet) {
      $url .= "/wallet/" . $self->wallet;
   }

   my $client = $self->jsonrpc;

   # Set timeout because bitcoin is slow
   $client->ua->timeout($self->timeout);

   # Set 
ponse, $ua, $h, $data) = @_;

            if ($response->is_error) {
               my $content = JSON->new->utf8->decode($data);
               print STDERR "error code: ";
               print STDER
SolarBeam ( M/MR/MRAMBERG/SolarBeam-0.05.tar.gz, MRAMBERG, 2018; MetaCPAN )
SolarBeam/lib/SolarBeam/Response.pm ( view source; MetaCPAN )
package SolarBeam::Response;
use Mojo::Base -base;

use Data::Page;
use Mojo::JSON 'decode_json';
use Mojo::JSON::MaybeXS;
use Mojo::Util 'decamelize';

use constant DEBUG => $ENV{SOLARBEAM_DEBUG} || 
es;
  };
}

sub parse {
  my ($self, $tx) = @_;
  my $res      = $tx->res;
  my $data     = $res->json || {};
  my $header   = $data->{responseHeader};
  my $response = $data->{response};
  my $facets
Markua-Parser ( S/SZ/SZABGAB/Markua-Parser-0.01.tar.gz, SZABGAB, 2018; MetaCPAN )
Markua-Parser/bin/generate_test_expectations.pl ( view source; MetaCPAN )
#!/usr/bin/env perl
use strict;
use warnings;
use 5.010;

use JSON::MaybeXS ();
use Path::Tiny qw(path);

use lib 'lib';
use Markua::Parser;

for my $input_file (glob "t/input/*.md") {
    #say $input
    my $json = JSON::MaybeXS->new(utf8 => 1, pretty => 1, sort_by => 1);
    path("t/dom/$case.json")->spew_utf8($json->encode($result));

    if (@$errors) {
        path("t/errors/$case.json")->spew
Bot-ChatBots ( P/PO/POLETTIX/Bot-ChatBots-0.014.tar.gz, POLETTIX, 2018; MetaCPAN )
Bot-ChatBots/lib/Bot/ChatBots/Role/Source.pod ( view source; MetaCPAN )
 huh?
   }

   sub parse_request {
      my ($self, $request) = @_;
      my @updates = $request->json;
      return @updates;
   }

   sub render_response {
      my ($self, $controller, $response, $
= $response->{chat_id}
         // $update->{message}{chat}{id};
      return $controller->render(json => $response);
   }

   1;

=head1 DESCRIPTION

This role abstracts elements that identify a sour
Mango ( O/OD/ODC/Mango-1.30.tar.gz, ODC, 2018; MetaCPAN )
Mango/lib/Mango/BSON/Binary.pm ( view source; MetaCPAN )
> sub { shift->data }, fallback => 1;

use Mojo::Util 'b64_encode';

has [qw(data type)];

sub TO_JSON { b64_encode shift->data, '' }

1;

=encoding utf8

=head1 NAME

Mango::BSON::Binary - Binary typ
 container for the BSON binary type used by
L<Mango::BSON>. For C<JSON> implementations like L<Mojo::JSON>, that support
the C<TO_JSON> method, it will automatically C<Base64> encode the binary data.
its all methods from L<Mojo::Base> and implements
the following new ones.

=head2 TO_JSON

  my $b64 = $bin->TO_JSON;

Base64 encode L</"data">.

=head1 OPERATORS

L<Mango::BSON::Binary> overloads the
PlugAuth ( P/PL/PLICEASE/PlugAuth-0.39.tar.gz, PLICEASE, 2018; MetaCPAN )
PlugAuth/lib/PlugAuth.pm ( view source; MetaCPAN )
l reasons, some routes return text by default
  # in older versions, even if a format (e.g. /auth.json) is specified.
  # this is a simple helper to render using autodata if a format
  # is explicitly
AnyEvent-SlackBot ( A/AK/AKALINUX/AnyEvent-SlackBot-1.0005.tar.gz, AKALINUX, 2018; MetaCPAN )
AnyEvent-SlackBot/lib/AnyEvent/SlackBot.pm ( view source; MetaCPAN )
TTP::Request::Common qw(POST);
use AnyEvent::HTTP::MultiGet;
use AnyEvent::WebSocket::Client;
use JSON;
use namespace::clean;
use IO::Socket::SSL;
our $VERSION='1.0005';

BEGIN { 
  no namespace::clea
$json,$conn_data)=@_;
      if(exists $json->{type} and $json->{type} eq 'desktop_notification') {
        my $ref={
          type=>'message',
          bot_id=>$sb->bot_id,
          channel=>$json-
       text=>'this is a test',
          subtype=>'bot_message',
        };
        print Dumper($json,$ref);
        $sb->send($ref);
      }
    },
  );

  my $result=$sb->connect_and_run;
  die $re
Mango ( O/OD/ODC/Mango-1.30.tar.gz, CLACO, 2018; MetaCPAN )
Mango/lib/Mango/Catalyst/Controller/REST.pm ( view source; MetaCPAN )
::Types->new;
$mimes->addType(
    MIME::Type->new(
        type       => 'text/x-json',
        extensions => [qw/json/]
    )
);
$mimes->addType(
    MIME::Type->new(
        type       => 'text/x-y
>mimeTypeOf('rss');
}

sub wants_json {
    my $self = shift;
    my $c    = $self->context;

    return $c->request->preferred_content_type eq $mimes->mimeTypeOf('json');
}

sub wants_yaml {
    my $
id($id);
    
        $c->stash->{'entity'} = $user;
    };
    
    http://localhost/user/1?view=json

=head1 DESCRIPTION

Mango::Catalyst::Controller::REST is a base Catalyst controller that
automat

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