Group
Extension

Matches 35358

DBIx-Class-Sims-REST ( R/RK/RKINYON/DBIx-Class-Sims-REST-0.000012.tar.gz, RKINYON, 2015; MetaCPAN )
DBIx-Class-Sims-REST/lib/DBIx/Class/Sims/REST.pm ( view source; MetaCPAN )
r_transport {
  my $class = shift;
  my ($sims) = @_;
  # Convert objects into columns/values for JSON encoding.
  my %flattened;
  while ( my ($k, $v) = each %{$sims} ) {
    $flattened{$k} = [ map {
or_transport($sims);
  }

  return $rv // { error => 'No actions taken' };
}

use JSON::XS qw( encode_json decode_json );
use Plack::Request;
use Web::Simple; # Needed for the prototypes

sub dispatch
v);
      my $request = decode_json($r->content);

      my $rv = $class->do_sims( $request );

      [ 200, [ 'Content-type', 'application/json' ],
        [ encode_json($rv) ],
      ]
    },
  }
}
dotconfig ( P/PU/PUNYTAN/dotconfig-0.04.tar.gz, PUNYTAN, 2015; MetaCPAN )
dotconfig/lib/dotconfig.pm ( view source; MetaCPAN )
ckage
    dotconfig::Decoder;
use strict;
use warnings;
use Math::BigInt;
use Math::BigFloat;
use JSON ();
use constant {
    DC_SPACE           => ' ',
    DC_TAB             => "\t",
    DC_LF      
shift->_consume_if(DC_FALSE) ? \JSON::false : undef }
sub true  { shift->_consume_if(DC_TRUE)  ? \JSON::true  : undef }
sub null  { shift->_consume_if(DC_NULL)  ? \JSON::null  : undef }

sub number {
AI-MicroStructure ( S/SA/SANTEX/AI-MicroStructure-0.20.tar.gz, SANTEX, 2015; MetaCPAN )
AI-MicroStructure/lib/AI/MicroStructure.pm ( view source; MetaCPAN )
>{$con}->{files}  =
       [split("\n",`ls -R  /home/santex/repos/KnowledgeInterDisciplinary/data/json | egrep -i "($con)";`)];
    }

 return $x;
}
sub import {
    my $class = shift;
    my @structu
ACKAGE__->drop($StructureName);
   exit 0;
}
if($new==1){
  use Term::ReadKey;
  use JSON;
  my $data = decode_json(lc`micro-sense $StructureName words`);
  my $char;
  my $line;
  my $senses=@{$data-
Dezi-Client ( K/KA/KARMAN/Dezi-Client-0.003004.tar.gz, KARMAN, 2015; MetaCPAN )
Dezi-Client/lib/Dezi/Client.pm ( view source; MetaCPAN )
3004';

use Carp;
use LWP::UserAgent;
use LWP::MediaTypes;
use HTTP::Request;
use URI::Query;
use JSON;
use Search::Tools;
use Dezi::Response;

=head1 NAME

Dezi::Client - interact with a Dezi server
( !$resp->is_success ) {
            croak $resp->status_line;
        }
        my $paths = from_json( $resp->decoded_content );
        if (   !$resp->is_success
            or !$paths
            o
->{search_uri};
    my $query      = URI::Query->new(%args);
    $query->replace( t => 'JSON' );    # force json response
    $query->strip('format');           # old-style name
    if ( $self->{serve
AI-MicroStructure ( S/SA/SANTEX/AI-MicroStructure-0.20.tar.gz, SANTEX, 2015; MetaCPAN )
AI-MicroStructure/bin/from-folder.pl ( view source; MetaCPAN )
ame;
        }elsif (/\.txt$/) {
          $files->{latex}->{$name}=$rel_name;
        }elsif (/\.json$/) {
          $files->{text}->{$name}=$rel_name;
        }
        
  }


find(\&translate, "$TO
GV);
    $c->retrieveIndex($PWD."/t/docs"); #"/home/santex/data-hub/data-hub" structures=0 text=1 json=1



   my $style = {};
      $style->{explicit}  = 1;
ok($c->simpleMixedSearch($style,$_)) && ok
MooseX-Log-Log4perl ( L/LA/LAMMEL/MooseX-Log-Log4perl-0.47.tar.gz, LAMMEL, 2015; MetaCPAN )
MooseX-Log-Log4perl/lib/MooseX/Log/Log4perl.pm ( view source; MetaCPAN )
::Log::LogDispatch> this can be thought of as a common logging interface.

  package MyApp::View::JSON;

  extends 'MyApp::View';
  with 'MooseX:Log::Log4perl';

  sub bar {
    $self->logger->info("E
AI-MicroStructure ( S/SA/SANTEX/AI-MicroStructure-0.20.tar.gz, SANTEX, 2015; MetaCPAN )
AI-MicroStructure/lib/AI/MicroStructure/Util.pm ( view source; MetaCPAN )
";
    $state->{cfg}->{db}         ||= "table";
    $state->{cfg}->{out}        ||= "json";
    $state->{cfg}->{jsonout}      = sprintf("%s/%s/",
                                            $state->{c
WebService-SetlistFM ( H/HO/HONDALLIC/WebService-SetlistFM-0.04.tar.gz, HONDALLIC, 2015; MetaCPAN )
WebService-SetlistFM/lib/WebService/SetlistFM.pm ( view source; MetaCPAN )
package WebService::SetlistFM;
use JSON::XS;
use Cache::LRU;
use Net::DNS::Lite;
use Furl;
use URI;
use URI::QueryParam;
use Carp;
use Moo;
use namespace::clean;
our $VERSION = "0.04";


$Net::DNS::Li
ift;
    return $self->request("artist/$mbid.json");
} 

sub city {
    my $self = shift;
    my $geoid = shift;
    return $self->request("city/$geoid.json");
} 

sub search_artists {
    my $self = 
elf->request("search/artists.json", $query_param);
} 

sub search_cities {
    my $self = shift;
    my $query_param = shift;
    return $self->request("search/cities.json", $query_param);
} 

sub sea
Elastic-Model ( D/DR/DRTECH/Elastic-Model-0.52.tar.gz, DRTECH, 2015; MetaCPAN )
Elastic-Model/lib/Elastic/Model/Results/Cached.pm ( view source; MetaCPAN )
d_cache_key {
#===================================
    my $self = shift;
    return $self->model->json->encode( $self->search );
}

#===================================
sub BUILD {
#==================
cpan.org/module/CHI#Getting-and-setting>
methods.

=head2 cache_key

The cache_key is a canonical JSON string representation of the full
L<Elastic::Model::Role::Results/search> parameter.

=head1 AUTH
WWW-KrispyKreme-HotLight ( C/CU/CURTIS/WWW-KrispyKreme-HotLight-1.1.tar.gz, CURTIS, 2015; MetaCPAN )
WWW-KrispyKreme-HotLight/lib/WWW/KrispyKreme/HotLight.pm ( view source; MetaCPAN )
package WWW::KrispyKreme::HotLight;

use Mojo::Base -base;
use Mojo::UserAgent;
use Mojo::JSON ();

our $VERSION = '1.1';

has 'where';

has locations => \&_build_locations;

sub _build_locations {
  
   search => Mojo::JSON::encode_json($search),
    };

    my $json = $ua->get(
        $hotlight_url => $header => form => $form,
    )->res->json;

    [map $_->{Location}, @$json];
}

1;
__END__

=
Elastic-Model ( D/DR/DRTECH/Elastic-Model-0.52.tar.gz, DRTECH, 2015; MetaCPAN )
Elastic-Model/lib/Elastic/Model/TypeMap/Moose.pm ( view source; MetaCPAN )
 deflation or inflation is attempted - the value is passed unaltered. If it
is not a value that L<JSON::XS> can handle (eg a blessed value) then
deflation will fail.

It is mapped as: C<< { type => 'o
pe       => 'boolean',
        null_value => 0
    }

=head2 Maybe

An undef value is stored as a JSON C<null>. The mapping and in/deflation depend
on the content type, eg C<Maybe[Int]>.  A C<Maybe> w
Plack-Middleware-PostErrorToSlack ( H/HI/HITODE/Plack-Middleware-PostErrorToSlack-0.01.tar.gz, HITODE, 2015; MetaCPAN )
Plack-Middleware-PostErrorToSlack/lib/Plack/Middleware/PostErrorToSlack.pm ( view source; MetaCPAN )
ent qw(Plack::Middleware);

use Plack::Response;
use Try::Tiny;

use LWP::UserAgent;
use JSON::XS qw(encode_json);

sub call {
    my $self = shift;
    my $env = shift;

    my $error;
    my $res = 
  $payload->{$key} = $value;
    }

    $ua->post($self->webhook_url, {
        payload => encode_json($payload),
    });
}

sub error_message {
    my ($self, $env, $error) = @_;

    my $user = $ENV
Elastic-Model ( D/DR/DRTECH/Elastic-Model-0.52.tar.gz, DRTECH, 2015; MetaCPAN )
Elastic-Model/lib/Elastic/Manual/QueryDSL.pod ( view source; MetaCPAN )
arch/reference/current/query-dsl.html> which
exposes much of the power of Lucene through a simple JSON interface.
It is tuned for full text search, but is in no way limited just
to that. It also provi
WebService-Amazon-ElasticBeanstalk ( M/MC/MCOX/WebService-Amazon-ElasticBeanstalk-v0.0.8.tar.gz, MCOX, 2015; MetaCPAN )
WebService-Amazon-ElasticBeanstalk/lib/WebService/Amazon/ElasticBeanstalk.pm ( view source; MetaCPAN )
proved)$';
Readonly our $REGEX_FILETYPES  => '^(android|docx|ios|gettext|html|xlsx|javaProperties|json|pptx|xliff|xlsx|xml|yaml)$';
Readonly our $REGEX_FILEURI    => '^\S+$';
Readonly our $REGEX_INT  
Elastic-Model ( D/DR/DRTECH/Elastic-Model-0.52.tar.gz, DRTECH, 2015; MetaCPAN )
Elastic-Model/lib/Elastic/Manual/Terminology.pod ( view source; MetaCPAN )
"Document" is like a "row" in a relational DB table.  Elastic::Model
converts your objects into a JSON object (essentially a hashref), which
is the Document that is stored in Elasticsearch.  We use th
n an L</Index>,
has a single L</Type>, an L</ID> and zero or more L<Fields|/Field>.

The original JSON object is stored in the special C<_source> field, which
is returned by default when you retrieve 
Net-Amazon-DynamoDB-Lite ( S/SH/SHIBUYA/Net-Amazon-DynamoDB-Lite-0.05.tar.gz, SHIBUYA, 2015; MetaCPAN )
Net-Amazon-DynamoDB-Lite/lib/Net/Amazon/DynamoDB/Lite.pm ( view source; MetaCPAN )
01;
use strict;
use warnings;

our $VERSION = "0.05";

use Carp;
use Furl;
use HTTP::Request;
use JSON;
use MIME::Base64;
use Moo;
use POSIX qw(setlocale LC_TIME strftime);
use Scalar::Util qw(reftype
ut => (
    is => 'rw',
    default => sub {
        1,
    },
);

has json => (
    is => 'rw',
    default => sub {
        JSON->new,
    },
);

sub _build_signature {
    my ($self) = @_;
    my $
pi_version . ".$target" );
    $req->header('content-type' => 'application/x-amz-json-1.0');
    $content = $self->json->encode($content);
    $req->content($content);
    $req->header('Content-Length
Elastic-Model ( D/DR/DRTECH/Elastic-Model-0.52.tar.gz, DRTECH, 2015; MetaCPAN )
Elastic-Model/lib/Elastic/Manual.pod ( view source; MetaCPAN )
-free and document oriented

Elasticsearch stores your objects as JSON documents. Most Perl objects
can be mapped easily to their JSON equivalent.

It is schema free, in that you don't need to define 
your
field/properties/attributes ahead of time; you can just toss it a JSON
document and it'll try to autodetect data types and index your doc. That
said, the power of full text search comes from the 
App-Magpie ( J/JQ/JQUELIN/App-Magpie-2.010.tar.gz, JQUELIN, 2015; MetaCPAN )
App-Magpie/lib/App/Magpie/App/Command/fixspec.pm ( view source; MetaCPAN )
ious policies. It will also update the
list of build prereqs, according to F<META.yml> (or F<META.json>)
shipped with the distribution.

Note that this command will abort if it finds that the spec is 
Flower ( S/SA/SANTEX/Flower-0.10.tar.gz, SANTEX, 2015; MetaCPAN )
Flower/lib/Flower/Chronos/Application/Firefox.pm ( view source; MetaCPAN )
Firefox;

use strict;
use warnings;

use base 'Flower::Chronos::Application::Base';

use URI;
use JSON ();

sub run {
    my $self = shift;
    my ($info) = @_;

    return
         unless $info->{rol
1;
}

sub _find_current_url {
    my $self = shift;

    my $json = $self->_parse_current_session;

    my @tabs;
    foreach my $w (@{$json->{"windows"}}) {
        foreach my $t (@{$w->{"tabs"}}) {
urrent_session {
    my $self = shift;

    my $session = $self->_slurp_session;
    return JSON::decode_json($session);
}

sub _slurp_session {
    my $self = shift;
    my ($session_file) =
      gl
Mojolicious-Command-donuts ( C/CU/CURTIS/Mojolicious-Command-donuts-0.04.tar.gz, CURTIS, 2015; MetaCPAN )
Mojolicious-Command-donuts/todo/yumyum.pl ( view source; MetaCPAN )
ey         => 'Gmjtd|lu6t2luan5%2C72%3Do5-larsq',
    maxMatches  => 50,
    origin      => 91506,
    radius      => 30,
    units       => 'm',
);
say $ua->get($url)->res->json('/searchResults')->;

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