Group
Extension

Matches 35358

Net-Lumberjack ( B/BE/BENNING/Net-Lumberjack-1.02.tar.gz, BENNING, 2016; MetaCPAN )
Net-Lumberjack/lib/Net/Lumberjack/Writer.pm ( view source; MetaCPAN )


use Net::Lumberjack::Frame;
use Net::Lumberjack::Frame::WindowSize;
use Net::Lumberjack::Frame::JSON;
use Net::Lumberjack::Frame::Compressed;

has 'handle' => ( is => 'ro', required => 1 );

has 'se
isa => 'Str', default => 'json');
has '_frame_class' => (
  is => 'ro', isa => 'Str', lazy => 1,
  default => sub {
    my $self = shift;
    if( $self->frame_format eq 'json' || $self->frame_format e
q 'v2' ) {
      return "Net::Lumberjack::Frame::JSON";
    } elsif( $self->frame_format eq 'data' || $self->frame_format eq 'v1' ) {
      return "Net::Lumberjack::Frame::Data";
    } else {
      di
Net-Lumberjack ( B/BE/BENNING/Net-Lumberjack-1.02.tar.gz, BENNING, 2016; MetaCPAN )
Net-Lumberjack/lib/Net/Lumberjack/Client.pm ( view source; MetaCPAN )
er
    keepalive => 0,
    frame_format => 'json',
    ## for a saftpresse (Log::Saftpresse) server
    # keepalive => 1, # or 0
    # frame_format => 'json',
    ## for a lumberjack (v1) server
    #
f frames per connection.

=head2 frame_formt (default: 'json')

The following frame formats are supported:

=over

=item 'json', 'v2'

Uses json formatted data frames as defined in lumberjack protocol
Algorithm-LDA ( B/BT/BTMCINNES/Algorithm-LDA-0.03.tar.gz, BTMCINNES, 2016; MetaCPAN )
Algorithm-LDA/bin/lda.pl ( view source; MetaCPAN )
rations - Maximum Iterations
# $updateCorpus - 1 = Force update documents, 0 = allow loading from JSON
# $wordThreshold - Minimum number of documents a word must appear in
# $alpha - Default Alpha val
Parallel-Scoreboard ( K/KA/KAZUHO/Parallel-Scoreboard-0.08.tar.gz, KAZUHO, 2016; MetaCPAN )
Parallel-Scoreboard/lib/Parallel/Scoreboard/PSGI/App.pm ( view source; MetaCPAN )
eboard,
  )->to_app;

=head1 SEE ALSO

L<Parallel::Scoreboard>
L<Parallel::Scoreboard::PSGI::App::JSON>
L<PSGI>

=head1 AUTHOR

Kazuho Oku E<lt>kazuhooku gmail.comE<gt>

=head1 LICENSE

This program i
Net-Twitter-Lite ( M/MM/MMIMS/Net-Twitter-Lite-0.12008.tar.gz, MMIMS, 2016; MetaCPAN )
Net-Twitter-Lite/lib/Net/Twitter/Lite.pm ( view source; MetaCPAN )
brary for Twitter's API v1

=head1 VERSION

version 0.12008

=cut

use Carp;
use URI::Escape;
use JSON;
use HTTP::Request::Common;
use Net::Twitter::Lite::Error;
use Encode qw/encode_utf8/;
use Net::T
r.com/1'    }
sub _default_lists_api_url         () { 'http://api.twitter.com/1'    }

my $json_handler = JSON->new->utf8;

sub new {
    my ($class, %args) = @_;

    $class->can('verify_credentials'
        my $uri = URI->new($self->{$options{base_url_method}}
                    . "/$local_path.json");

                return $self->_parse_result(
                    $self->_authenticated_reques
WWW-ModulrFinance ( F/FA/FAYLAND/WWW-ModulrFinance-0.02.tar.gz, FAYLAND, 2016; MetaCPAN )
WWW-ModulrFinance/lib/WWW/ModulrFinance.pm ( view source; MetaCPAN )
MAC_SHA1 qw(hmac_sha1);
use MIME::Base64;
use URI::Escape qw/uri_escape/;
use Carp qw/croak/;
use JSON;

sub new {
    my $class = shift;
    my %params = @_ % 2 ? %{$_[0]} : @_;

    $params{api_key}
ncode_json($data)) if $data;

    # print Dumper(\$req); use Data::Dumper;

    my $res = $self->{ua}->request($req);
    if ($res->header('Content-Type') =~ 'json') {
        return decode_json($res-
="hmac-sha1",headers="date x-mod-nonce",signature="$sig"~,
        "Content-Type" => "application/json;charset=UTF-8",
    ];
}

1;
__END__

=encoding utf-8

=head1 NAME

WWW::ModulrFinance - Modulr A
WWW-Google-Drive ( D/DI/DINESHD/WWW-Google-Drive-0.05.tar.gz, DINESHD, 2016; MetaCPAN )
WWW-Google-Drive/lib/WWW/Google/Drive.pm ( view source; MetaCPAN )
Request::Common;
use HTML::Entities;
use LWP::UserAgent;

use JSON qw( from_json to_json decode_json);
use JSON::WebToken;
use Config::JSON;

use Sysadm::Install qw( slurp );
use File::Basename;
use F
SIS

    use WWW::Google::Drive;

    my $gd = WWW::Google::Drive->new( 
        secret_json => 'YourProject.json',

         # Set the Google user to impersonate. 
         # Your Google Business Adm
ret json file.

Refer: https://developers.google.com/drive/v3/reference/ for list of file properties, response values, query_params and body_params.

=head1 METHODS

=over 4

=cut

has secret_json    
Monitor-MetricsAPI ( J/JS/JSIME/Monitor-MetricsAPI-0.900.tar.gz, JSIME, 2016; MetaCPAN )
Monitor-MetricsAPI/lib/Monitor/MetricsAPI.pm ( view source; MetaCPAN )
rics within any event-driven Perl application, as well as the
reporting of those statistics via a JSON-over-HTTP API for consumption by
external systems monitoring tools.

Using Monitor::MetricsAPI fi
Monitor-MetricsAPI ( J/JS/JSIME/Monitor-MetricsAPI-0.900.tar.gz, JSIME, 2016; MetaCPAN )
Monitor-MetricsAPI/lib/Monitor/MetricsAPI/Tutorial.pm ( view source; MetaCPAN )
on.

From the operator's perspective, Monitor::MetricsAPI provides an HTTP API which
can spit out JSON showing some or all of the values the application developer
has decided to track. "There are 5,61

are omitted from the examples above for brevity.]

And because you can get these metrics back in JSON at any time you wish simply
by calling the API, instead of having to consume logs or wait for you
Algorithm-LDA ( B/BT/BTMCINNES/Algorithm-LDA-0.03.tar.gz, BTMCINNES, 2016; MetaCPAN )
Algorithm-LDA/lib/Algorithm/LDA.pm ( view source; MetaCPAN )
ccessor::Fast/;
use List::Util qw(shuffle sum max);
use List::MoreUtils qw(uniq first_index);
use JSON::XS;


use vars qw($VERSION);

$VERSION = '0.03';


#Used for accessing $self->documents
__PACKAG
rations - Maximum Iterations
# $updateCorpus - 1 = Force update documents, 0 = allow loading from JSON
# $threshold - Minimum number of documents a word must appear in
# $numWords - Number of words pe
<- hash containing data

output:

 1

example:

 while (my $line = <$fh2>) {
    my $obj = decode_json($line);
    add(%$obj);
 }

=cut

#Used to add to array of documents ($self->documents)
#Adds a w
Monitor-MetricsAPI ( J/JS/JSIME/Monitor-MetricsAPI-0.900.tar.gz, JSIME, 2016; MetaCPAN )
Monitor-MetricsAPI/lib/Monitor/MetricsAPI/Server/Routes.pm ( view source; MetaCPAN )
Routes;
$Monitor::MetricsAPI::Server::Routes::VERSION = '0.900';
use Dancer2;

set serializer => 'JSON';

=head1 NAME

Monitor::MetricsAPI::Server::Routes

=head1 SYNOPSIS

You should not interact wit
s are provided by this server for viewing the collected
metrics.

=cut

=head2 /

Returns a small JSON structure with metadata about the metrics collector. May
be used as a heartbeat for the service, 
Parallel-Scoreboard ( K/KA/KAZUHO/Parallel-Scoreboard-0.08.tar.gz, KAZUHO, 2016; MetaCPAN )
Parallel-Scoreboard/lib/Parallel/Scoreboard.pm ( view source; MetaCPAN )
no limitation on the format or the length of the statuses to be stored.  Any arbitrary data (like JSON or frozen perl object) can be saved by the worker processes as their status and read from the man
SQL-QueryBuilder-WebApi ( A/AC/ACTIVEDB/SQL-QueryBuilder-WebApi-1.1.8.tar.gz, ACTIVEDB, 2016; MetaCPAN )
SQL-QueryBuilder-WebApi/lib/SQL/QueryBuilder/WebApi/Object/Condition.pm ( view source; MetaCPAN )
uilder::WebApi::Object::Condition;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
# return perl hash
sub to_hash {
    return decode_json(JSON->new->convert_blessed->encode( shift ));
}

# used by JSON for serialization
sub TO_JSON { 
    my $self = shift;
    my $_data = {};
    f
 deserialize the data
    while ( my ($_key, $_type) = each %{$self->swagger_types} ) {
    	my $_json_attribute = $self->attribute_map->{$_key}; 
        if ($_type =~ /^array\[/i) { # array
        
SQL-QueryBuilder-WebApi ( A/AC/ACTIVEDB/SQL-QueryBuilder-WebApi-1.1.8.tar.gz, ACTIVEDB, 2016; MetaCPAN )
SQL-QueryBuilder-WebApi/lib/SQL/QueryBuilder/WebApi/Object/ConditionGroup.pm ( view source; MetaCPAN )
r::WebApi::Object::ConditionGroup;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
# return perl hash
sub to_hash {
    return decode_json(JSON->new->convert_blessed->encode( shift ));
}

# used by JSON for serialization
sub TO_JSON { 
    my $self = shift;
    my $_data = {};
    f
 deserialize the data
    while ( my ($_key, $_type) = each %{$self->swagger_types} ) {
    	my $_json_attribute = $self->attribute_map->{$_key}; 
        if ($_type =~ /^array\[/i) { # array
        
SQL-QueryBuilder-WebApi ( A/AC/ACTIVEDB/SQL-QueryBuilder-WebApi-1.1.8.tar.gz, ACTIVEDB, 2016; MetaCPAN )
SQL-QueryBuilder-WebApi/lib/SQL/QueryBuilder/WebApi/Object/Pagination.pm ( view source; MetaCPAN )
ilder::WebApi::Object::Pagination;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
# return perl hash
sub to_hash {
    return decode_json(JSON->new->convert_blessed->encode( shift ));
}

# used by JSON for serialization
sub TO_JSON { 
    my $self = shift;
    my $_data = {};
    f
 deserialize the data
    while ( my ($_key, $_type) = each %{$self->swagger_types} ) {
    	my $_json_attribute = $self->attribute_map->{$_key}; 
        if ($_type =~ /^array\[/i) { # array
        
WWW-Piwik-API ( H/HO/HORNBURG/WWW-Piwik-API-0.011.tar.gz, HORNBURG, 2016; MetaCPAN )
WWW-Piwik-API/lib/WWW/Piwik/API.pm ( view source; MetaCPAN )
PI;

use 5.010001;
use strict;
use warnings;
use Moo;
use Types::Standard qw/Str Object Int/;
use JSON::MaybeXS;
use URI;
use LWP::UserAgent;

=head1 NAME

WWW::Piwik::API - Tracking module for Piwik 
  my $json = JSON::MaybeXS->new(ascii => 1);
    foreach my $k (keys %data) {
        my $v = $data{$k};
        if (defined $v) {
            if (ref($v)) {
                $params{$k} ||= $json->enc
SQL-QueryBuilder-WebApi ( A/AC/ACTIVEDB/SQL-QueryBuilder-WebApi-1.1.8.tar.gz, ACTIVEDB, 2016; MetaCPAN )
SQL-QueryBuilder-WebApi/lib/SQL/QueryBuilder/WebApi/Object/Totals.pm ( view source; MetaCPAN )
ryBuilder::WebApi::Object::Totals;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
# return perl hash
sub to_hash {
    return decode_json(JSON->new->convert_blessed->encode( shift ));
}

# used by JSON for serialization
sub TO_JSON { 
    my $self = shift;
    my $_data = {};
    f
 deserialize the data
    while ( my ($_key, $_type) = each %{$self->swagger_types} ) {
    	my $_json_attribute = $self->attribute_map->{$_key}; 
        if ($_type =~ /^array\[/i) { # array
        
Dist-Zilla-Plugin-Manifest-Read ( V/VD/VDB/Dist-Zilla-Plugin-Manifest-Read-v0.5.0.tar.gz, VDB, 2016; MetaCPAN )
Dist-Zilla-Plugin-Manifest-Read/lib/Dist/Zilla/Plugin/Manifest/Read/Manual.pod ( view source; MetaCPAN )
enlists distribution files (including automatically
#pod generated files like F<Build.PL>, F<META.json>, F<META.yml>) and itself is a part of distribution.
#pod Distribution manifest may be a part of 
fest enlists distribution files (including automatically
generated files like F<Build.PL>, F<META.json>, F<META.yml>) and itself is a part of distribution.
Distribution manifest may be a part of sourc
Log-Saftpresse ( B/BE/BENNING/Log-Saftpresse-1.6.tar.gz, BENNING, 2016; MetaCPAN )
Log-Saftpresse/lib/Log/Saftpresse/Input/Journald.pm ( view source; MetaCPAN )
r $VERSION = '1.6'; # VERSION


use JSON;

extends 'Log::Saftpresse::Input::Command';

has 'command' => ( is => 'ro', isa => 'Str', default => 'journalctl -f -o json');

has 'lowercase' => ( is => 'ro
 isa => 'Bool', default => 1 );

sub process_line {
  my ( $self, $line ) = @_;
  my $data = from_json( $line );
  if( $self->lowercase ) {
    my %new = map { lc $_ => $data->{$_} } keys %$data;
    
Data-Keys ( J/JK/JKUTEJ/Data-Keys-0.04.tar.gz, JKUTEJ, 2016; MetaCPAN )
Data-Keys/lib/Data/Keys.pm ( view source; MetaCPAN )
r'    => '/folder/full/of/json/files',
		'extend_with' => ['Store::Dir', 'Value::InfDef'],
		'inflate'     => sub { JSON::Util->decode($_[0]) },
		'deflate'     => sub { JSON::Util->encode($_[0]) },
	
);

	my %data = %{$dk->get('abcd.json')};
	$dk->set('abcd.json', \%data);

=head1 WARNING

experimental, use at your own risk :-)

=head1 DESCRIPTION

L<Data::Keys> is just a base class module that pu

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