Group
Extension

Matches 35359

Catmandu-Store-DBI ( N/NI/NICS/Catmandu-Store-DBI-0.04.tar.gz, NICS, 2014; MetaCPAN )
Catmandu-Store-DBI/lib/Catmandu/Store/DBI.pm ( view source; MetaCPAN )
tmandu> command line client can be used like this:

    catmandu import JSON to DBI --data_source SQLite:mydb.sqlite < data.json

=head1 DESCRIPTION

A Catmandu::Store::DBI is a Perl package that can 
TheEye ( N/NO/NORBU/TheEye-0.5.tar.gz, NORBU, 2014; MetaCPAN )
TheEye/lib/TheEye/Plugin/Notify/Prowl.pm ( view source; MetaCPAN )
req = HTTP::Request->new();
    $req->method('GET');
    $req->uri($uri);

    #$req->content( to_json($content) ) if ($content);

    my $ua  = LWP::UserAgent->new();
    my $res = $ua->request($req)
Amon2-Plugin-Web-ChromeLogger ( B/BA/BAYASHI/Amon2-Plugin-Web-ChromeLogger-0.03.tar.gz, BAYASHI, 2014; MetaCPAN )
Amon2-Plugin-Web-ChromeLogger/lib/Amon2/Plugin/Web/ChromeLogger.pm ( view source; MetaCPAN )
SPATCH' => sub {
        $_[0]->{chrome_logger} = Web::ChromeLogger->new(
            json_encoder => $conf->{json_encoder},
        );
    });

    $c->add_trigger('AFTER_DISPATCH' => sub {
        $
By default, this plugin is disabled under PLACK_ENV:production environment.

=head2 json_encoder

You can pass C<json_encoder> to L<WEB::ChromeLogger>.


=head1 REPOSITORY

Amon2::Plugin::Web::ChromeL
Net-MyCommerce-API ( D/DH/DHATFIELD/Net-MyCommerce-API-1.0.4.tar.gz, DHATFIELD, 2014; MetaCPAN )
Net-MyCommerce-API/lib/Net/MyCommerce/API/Client.pm ( view source; MetaCPAN )
rce::API::Client;

use strict;
use warnings;

use Encode qw( decode_utf8 );
use JSON::Parse qw( json_to_perl );
use JSON::XS;
use MIME::Base64;
use REST::Client;
use Try::Tiny;
use URI::Escape qw( uri
f, %opts) = @_;
  if ($opts{method} =~ /^(POST|PUT)$/) {
    $opts{data} = encode_json($opts{data}) if $self->{sendJSON};
  } else {
    $opts{data} = '';
  }
  return %opts;
}

sub _parse_headers {
 
id};
  }
  if ($opts{method} =~ /^(POST|PUT)$/) {
    if ($self->{sendJSON}) {
      $headers->{'Content-type'} = 'application/json;charset=UTF-8';
    } else {
      $headers->{'Content-type'} = 'app
Template-Plugin-React ( F/FB/FBELTON/Template-Plugin-React-0.008.tar.gz, FBELTON, 2014; MetaCPAN )
Template-Plugin-React/lib/Template/Plugin/React.pm ( view source; MetaCPAN )

use base qw(Template::Plugin);
use Template::Plugin;

use Template::Plugin::React::RESimple;
use JSON;
use Encode;

sub from_file {
    my ($fname) = @_;

    my $out = '';
    open my $fh, '<:encodi
tes => $templates
    }, $class;
}

sub render {
    my ($self, $name, $data) = @_;

    my $json = to_json($data // {}, {utf8 => 1});
    my $built = from_file $self->{templates};

    my $res = $sel

$self->{prelude};
var React = global.React;

$built;
return React.renderComponentToString($name($json));

})();
    |);

    if($res) {
        return Encode::decode("utf8", $self->{ctx}->output());
App-GitHubWebhooks2Ikachan ( M/MO/MOZNION/App-GitHubWebhooks2Ikachan-0.10.tar.gz, MOZNION, 2014; MetaCPAN )
App-GitHubWebhooks2Ikachan/lib/App/GitHubWebhooks2Ikachan.pm ( view source; MetaCPAN )
kachan;
use 5.008005;
use strict;
use warnings;
use Encode qw/encode_utf8/;
use Getopt::Long;
use JSON;
use Log::Minimal;
use LWP::UserAgent;
use Plack::Builder;
use Plack::Runner;
use Plack::Request;
pe' => 'text/plain', 'Content-Length' => 18], ['Payload is nothing']];
    }
    my $dat = decode_json($payload);

    if ($self->{debug}) {
        infof("Payload: %s", $payload);
    }

    my $even
File-OSS-Scan ( H/HA/HARRYWANG/File-OSS-Scan-0.04.tar.gz, HARRYWANG, 2014; MetaCPAN )
File-OSS-Scan/lib/File/OSS/Scan/Ruleset.pm ( view source; MetaCPAN )

    return SUCCESS;
}


1;



__DATA__

exclude_extension: png jpg gif pdf doc docx html htm xml json xls

# section for directory check
[DIRECTORY]

# section for file check
[FILE]
    100% filename
File-OSS-Scan ( H/HA/HARRYWANG/File-OSS-Scan-0.04.tar.gz, HARRYWANG, 2014; MetaCPAN )
File-OSS-Scan/lib/File/OSS/Scan.pm ( view source; MetaCPAN )
et_json = scan_result('json');

Get all the detected matches on files within the project directory. Parameter $format can be one of
the I<txt> - plain text, I<html> - formatted HTML tables or I<json> 
nning.

=head2 C<exclude_extension>

    exclude_extension: png jpg gif pdf doc docx html htm xml json xls

This is a global setting, so should be defined under the section C<GLOBAL> or in the very be
Dancer-Plugin-REST ( Y/YA/YANICK/Dancer-Plugin-REST-0.11.tar.gz, YANICK, 2014; MetaCPAN )
Dancer-Plugin-REST/lib/Dancer/Plugin/REST.pm ( view source; MetaCPAN )

use Carp 'croak';
use Dancer ':syntax';
use Dancer::Plugin;

my $content_types = {
    json => 'application/json',
    yml  => 'text/x-yaml',
    xml  => 'application/xml',
};

our $default_serialize
(
        ($conf && exists $conf->{serializers})
        ? $conf->{serializers}
        : { 'json' => 'JSON',
            'yml'  => 'YAML',
            'xml'  => 'XML',
            'dump' => 'Dumper',
format' => sub {
        User->find(params->{id});
    };

    # curl http://mywebservice/user/42.json
    { "id": 42, "name": "John Foo", email: "john.foo@example.com"}

    # curl http://mywebservic
Business-YQL ( A/AA/AANARI/Business-YQL-0.0004.tar.gz, AANARI, 2014; MetaCPAN )
Business-YQL/lib/Business/YQL.pm ( view source; MetaCPAN )
TP::Request::Common qw(GET POST);
use URI;
use URI::QueryParam;
use LWP::UserAgent;
use JSON qw(to_json from_json);
use Carp qw(croak);
use Log::Any qw($log);
use Try::Tiny;

has scheme  => (is => 'ro
(
        q           => $query,
        format      => 'json',
        env         => 'store://datatables.org/alltableswithkeys',
        jsonCompat  => 'new',
    );

    my $uri = URI->new($self->u
  $res = $self->ua->request($req);
    }
    return from_json $res->content
        if $res->code =~ /^4/x;
    return $res->content ? from_json($res->content)->{query}{results} : 1;
}

sub _log_conte
Catmandu-Store-Solr ( N/NI/NICS/Catmandu-Store-Solr-0.0204.tar.gz, NICS, 2014; MetaCPAN )
Catmandu-Store-Solr/lib/Catmandu/Store/Solr.pm ( view source; MetaCPAN )
b _build_solr {
    WebService::Solr->new($_[0]->url, {autocommit => 0, default_params => {wt => 'json'}});
}

=head1 SUPPORT

Solr schemas need to support '_id' and '_bag' record fields to be able to
Task-BeLike-TOKUHIROM ( T/TO/TOKUHIROM/Task-BeLike-TOKUHIROM-0.02.tar.gz, TOKUHIROM, 2014; MetaCPAN )
Task-BeLike-TOKUHIROM/lib/Task/BeLike/TOKUHIROM.pm ( view source; MetaCPAN )
See also L<Coro>.

=back

=head2 JSON

=over 4

=item L<JSON::XS>

JSON::XS is pretty fast. I'm use this for the point what needs performance.

=item L<JSON::PP>

JSON::PP is written in pure perl. And
File-OSS-Scan ( H/HA/HARRYWANG/File-OSS-Scan-0.04.tar.gz, HARRYWANG, 2014; MetaCPAN )
File-OSS-Scan/lib/File/OSS/Scan/Matches.pm ( view source; MetaCPAN )
l qw( open close );
use Carp;
use English qw( -no_match_vars );
use Data::Dumper; # for debug
use JSON;

use File::OSS::Scan::Constant qw(:all);

our $VERSION = '0.04';

# global var ...
our $matches 
  $ret = $css . "\n" . $ret;
    }

    return $ret;
}

sub __json {
    my $result = shift;
    my $ret = undef;

    $ret = JSON::to_json( $result, { pretty => 1 } )
    if ( defined $result );

   
Bio-BioVeL ( R/RV/RVOSA/Bio-BioVeL-0.1.tar.gz, RVOSA, 2014; MetaCPAN )
Bio-BioVeL/lib/Bio/BioVeL/Service/NeXMLMerger.pm ( view source; MetaCPAN )
l or as URL
 	'-dataformat'    => 'nexus',
 	'-treeformat'    => 'newick',
 	'-metaformat'    => 'json',
 	'-charsetformat' => 'nexus',
 );

 my $merger = Bio::BioVeL::Service::NeXMLMerger->new;
 my $
Net-BitTorrentSync ( E/ER/EREZ/Net-BitTorrentSync-0.21.tar.gz, EREZ, 2014; MetaCPAN )
Net-BitTorrentSync/lib/Net/BitTorrentSync.pm ( view source; MetaCPAN )

use strict;
use warnings;

# for now, check switching to HTTP::Tiny or Hijk
use LWP::Simple;
use JSON;

use Exporter;
our @ISA = 'Exporter';

our @EXPORT = qw(
    start_btsync
    set_config
    set
cally, you need
to name it btconfig and add its path to the environment path variable.

Sync uses JSON format for the configuration file.
Here is a sample config file that you can use to enable API:

t the listened address from.
Alternatively, you can use set_listened_address.

returns the config JSON parsed to a Perl HashRef.

=over 4

=item config_file (required)

Specifies path to the config fi
Cikl ( F/FA/FALTER/Cikl-0.5.1.tar.gz, FALTER, 2014; MetaCPAN )
Cikl/lib/Cikl/Smrt/Parsers/ParseJson.pm ( view source; MetaCPAN )
t::Parsers::ParseJson;

use strict;
use warnings;

use JSON::XS;
use Mouse;
use Cikl::Smrt::Parser;
extends 'Cikl::Smrt::Parser';
use namespace::autoclean;

use constant NAME => 'json';
sub name { ret
  }
      }
      $broker->emit($h);
    };

    $self->_parse_json_as_stream($fh, $cb);
    return(undef);
}

# This will parse the JSON as a stream, which uses significantly less memory 
# than read
h this, we have to strip off the '[' and ']' that we
# expect to surround the main JSON array in order to get the JSON lib to emit
# individual objects. We must also remove any commas that appear betw
Monitoring-Icinga ( S/SC/SCHRORG/Monitoring-Icinga-0.02.tar.gz, SCHRORG, 2014; MetaCPAN )
Monitoring-Icinga/lib/Monitoring/Icinga.pm ( view source; MetaCPAN )
se warnings;
use Carp qw(carp croak);
use HTTP::Request::Common qw(POST);
use LWP::UserAgent;
use JSON::XS;

our $VERSION = '0.02';


=over

=item new (%config)

Constructor. You can set the following
t the complete URL
    $self->{'url'} = $self->{'baseurl'} . '/authkey=' . $self->{'authkey'} . '/json';

    # Exit if HTTPS requested, but LWP::Protocol::https not found
    if ($self->{'baseurl'} =
n/icinga-web-api.html for
details on how filters need to be defined. Basically, they define it in JSON
syntax, but this module requires a Perl hash reference instead.

Simple Example:

  $api->set_fil
KiokuDB ( D/DO/DOY/KiokuDB-0.57.tar.gz, DOY, 2014; MetaCPAN )
KiokuDB/lib/KiokuDB/Test/Fixture/TypeMap/Default.pm ( view source; MetaCPAN )
 possible with JSON atm", 1 if (
                ( $self->directory->backend->can("serializer")
                and $self->directory->backend->serializer->isa('KiokuDB::Serializer::JSON') )
          
      or $self->directory->backend->does("KiokuDB::Backend::Serialize::JSON")
                or $self->directory->backend->does("KiokuDB::Backend::Serialize::JSPON")
            );

            isa_o
Opsview-REST ( M/MR/MRUIZ/Opsview-REST-0.013.tar.gz, MRUIZ, 2014; MetaCPAN )
Opsview-REST/lib/Opsview/REST/APICaller.pm ( view source; MetaCPAN )

  $Opsview::REST::APICaller::VERSION = '0.013';
}

use Moo::Role;

use Carp;

use Try::Tiny;
use JSON ();
use HTTP::Tiny 0.014;

has ua => (
    is      => 'ro',
    default => sub { HTTP::Tiny->new(
    'Accept'        => 'application/json',
        'Content-type'  => 'application/json',
    }; },
);

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

sub get {
    my $self 
 => $self->headers,
    });
    croak $self->_errmsg($r) unless $r->{success};

    return $self->json->decode($r->{content});
}

sub delete {
    my $self = shift;
    my $r = $self->ua->delete($self
KiokuDB ( D/DO/DOY/KiokuDB-0.57.tar.gz, DOY, 2014; MetaCPAN )
KiokuDB/lib/KiokuDB/Entry.pm ( view source; MetaCPAN )
ta structure modeling this object/reference. This is a tree, not
a graph, and has no shared data (JSON compliant). All references are symbolic,
using a L<KiokuDB::Reference> object with UIDs as the
ad

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