Group
Extension

Matches 35358

Graphite-Enumerator ( R/RG/RGARCIA/Graphite-Enumerator-0.03.tar.gz, RGARCIA, 2016; MetaCPAN )
Graphite-Enumerator/bin/find-unused-graphite-metrics.pl ( view source; MetaCPAN )
een written to in the $interval (by default last day).

use 5.14.1;
use Graphite::Enumerator;
use JSON;
use Getopt::Long;

my $interval = '1day';
my $basepath = '';
GetOptions(
    "interval=s" => \$i
t=json&from=-$interval&target=summarize($path,%22$interval%22,%22max%22,true)";
    my $res = $gren->ua->get($last_hour_data_url);
    if ($res->is_success) {
        my $last_hour_data = decode_json(
Graphite-Enumerator ( R/RG/RGARCIA/Graphite-Enumerator-0.03.tar.gz, RGARCIA, 2016; MetaCPAN )
Graphite-Enumerator/lib/Graphite/Enumerator.pm ( view source; MetaCPAN )
package Graphite::Enumerator;

use 5.14.1;
use Carp qw/croak/;
use LWP::UserAgent;
use JSON;
use Scalar::Util 'reftype';

our $VERSION = '0.03';

# Recognized constructor options:
# - host (base URL)
   my $completer_answer = eval { decode_json($res->content) };
        if (!$completer_answer) {
            $self->log_warning("URL <$url>: Couldn't decode JSON string: <" . $res->content . ">: $@");
WebService-Zendesk ( R/RC/RCL/WebService-Zendesk-0.023.tar.gz, RCL, 2016; MetaCPAN )
WebService-Zendesk/lib/WebService/Zendesk.pm ( view source; MetaCPAN )
se64;
use File::Path qw/make_path/;
use LWP::UserAgent;
use HTTP::Request;
use HTTP::Headers;
use JSON::MaybeXS;
use YAML;
use URI::Encode qw/uri_encode/;
use Encode;

our $VERSION = 0.023;

=head1 NA
h = HTTP::Headers->new();
    $h->header( 'Content-Type'	=> "application/json" );
    $h->header( 'Accept'	=> "application/json" );
    $h->header( 'Authorization' => "Basic " . $self->_zendesk_creden
e        => { isa    => 'Int', optional => 1 },
    );
    my $path = '/incremental/ticket_events.json';
    my @results = $self->_paged_get_request_from_api(
        field   => '???', # <--- TODO
   
Time-Progress-Stored ( J/JO/JOHANL/Time-Progress-Stored-1.002.tar.gz, JOHANL, 2016; MetaCPAN )
Time-Progress-Stored/lib/Time/Progress/Stored.pm ( view source; MetaCPAN )
  my $response_json = $storage->retrieve($progress_id)
            or return $self->render(status => 404, json => {});

        return $self->render(json => { progress => $response_json });
    }


=h
 progress report. The request contains the progress id, and
it's simply fetched and returned as a JSON payload.

See above for the contents of the payload.


=head3 Client making a request to a long r
WebService-Walmart ( B/BR/BRANDON/WebService-Walmart-0.01.tar.gz, BRANDON, 2016; MetaCPAN )
WebService-Walmart/lib/WebService/Walmart/Request.pm ( view source; MetaCPAN )
Request::VERSION"); },);
has api_key  => ( is => 'rw');
has output   => ( is => 'rw', default => 'json');
has debug    => ( is => 'rw', default => 0);


sub _get {
    my ($self, $path) = @_;
    my @
Net-OpenID-Consumer ( W/WR/WROG/Net-OpenID-Consumer-1.18.tar.gz, WROG, 2016; MetaCPAN )
Net-OpenID-Consumer/lib/Net/OpenID/ClaimedIdentity.pm ( view source; MetaCPAN )
y $url = $cident->claimed_url;
    my $openid_server = $cident->identity_server;
    # ... return JSON with those to user agent (whose request was
    # XMLHttpRequest, probably)
  }

  if ($CLASSIC_m
Config-Simple-Extended ( H/HE/HESCO/Config-Simple-Extended-0.16.tar.gz, HESCO, 2016; MetaCPAN )
Config-Simple-Extended/lib/Config/Simple/Extended.pm ( view source; MetaCPAN )
on are
documented by Mr. Ruzmetov in the perldoc for his module.

If you need some combination of json, yaml, xml, perl, ini or
Config::General formats, take a look at: Config::Merge, which I
learned 
Tapper-Metadata ( T/TA/TAPPER/Tapper-Metadata-5.0.1.tar.gz, TAPPER, 2016; MetaCPAN )
Tapper-Metadata/lib/Tapper/Metadata/Query/default.pm ( view source; MetaCPAN )
ed_selects{$or_self} = {};

    # deep copy hash
    require JSON::XS;
    $hr_search = JSON::XS::decode_json(
        JSON::XS::encode_json( $hr_search )
    );

    my (
        $s_limit,
        $s
Time-Progress-Stored ( J/JO/JOHANL/Time-Progress-Stored-1.002.tar.gz, JOHANL, 2016; MetaCPAN )
Time-Progress-Stored/lib/Time/Progress/Stored/Storage/Memory.pm ( view source; MetaCPAN )
rts in serialized JSON, to emulate storing them in an
external server, which is better than just keeping the hashref around
would be.

=cut

use JSON::Tiny qw/ encode_json decode_json /;



=head1 PRO
tore {
    my $self = shift;
    my ($id, $content) = @_;
    $self->id__report->{ $id } = encode_json( $content );
}

=head2 retrieve($id) : $content | undef

Retrieve the current report $content und
 or undef if
none was found.

=cut

sub retrieve {
    my $self = shift;
    my ($id) = @_;
    my $report_json = $self->id__report->{ $id } // return undef;
    return decode_json( $report_json );
}
Tapper-Metadata ( T/TA/TAPPER/Tapper-Metadata-5.0.1.tar.gz, TAPPER, 2016; MetaCPAN )
Tapper-Metadata/lib/Tapper/Metadata.pm ( view source; MetaCPAN )
arch ) = @_;

    my $s_key;
    if ( $or_self->{cache} ) {
        require JSON::XS;
        $s_key = JSON::XS::encode_json($hr_search);
        if ( my $ar_search_data = $or_self->{cache}->get("sear
arch ) = @_;

    my $s_key;
    if ( $or_self->{cache} ) {
        require JSON::XS;
        $s_key = JSON::XS::encode_json($hr_search);
        if ( my $hr_search_data = $or_self->{cache}->get( "sea
Net-OpenID-Consumer ( W/WR/WROG/Net-OpenID-Consumer-1.18.tar.gz, WROG, 2016; MetaCPAN )
Net-OpenID-Consumer/lib/Net/OpenID/Consumer.pm ( view source; MetaCPAN )
(hmac_sha1_hex);
use Time::Local;
use HTTP::Request;
use LWP::UserAgent;
use Storable;
use JSON qw(encode_json);
use URI::Escape qw(uri_escape_utf8);
use HTML::Parser;

sub new {
    my Net::OpenID::C
fail($code) $text");
    }
    wantarray ? () : undef;
}

sub json_err {
    my Net::OpenID::Consumer $self = shift;
    return encode_json({
        err_code => $self->{last_errcode},
        err_tex
elow.

=item $csr->B<errtext>

Returns the last error text.

=item $csr->B<json_err>

Returns the last error code/text in JSON format.

=back

=head2 Configuration

=over 4

=item $csr->B<ua>($user_ag
Tapper-Benchmark ( T/TA/TAPPER/Tapper-Benchmark-5.0.0.tar.gz, TAPPER, 2016; MetaCPAN )
Tapper-Benchmark/lib/Tapper/Benchmark/Query/SQLite.pm ( view source; MetaCPAN )
ed_selects{$or_self} = {};

    # deep copy hash
    require JSON::XS;
    $hr_search = JSON::XS::decode_json(
        JSON::XS::encode_json( $hr_search )
    );

    my (
        $s_limit,
        $s
Tapper-Benchmark ( T/TA/TAPPER/Tapper-Benchmark-5.0.0.tar.gz, TAPPER, 2016; MetaCPAN )
Tapper-Benchmark/lib/Tapper/Benchmark/Query/mysql.pm ( view source; MetaCPAN )
ed_selects{$or_self} = {};

    # deep copy hash
    require JSON::XS;
    $hr_search = JSON::XS::decode_json(
        JSON::XS::encode_json( $hr_search )
    );

    my (
        $s_limit,
        $s
HTML-Microdata ( S/SA/SATOH/HTML-Microdata-0.05.tar.gz, SATOH, 2016; MetaCPAN )
HTML-Microdata/bin/microdata.pl ( view source; MetaCPAN )
warnings;
use lib lib => glob 'modules/*/lib';

use LWP::Simple qw($ua);
use HTML::Microdata;
use JSON;

my $uri = shift;

my $res = $ua->get($uri);
unless ($res->is_success) {
	warn $res->status_line
;
	exit 1;
}


my $microdata = HTML::Microdata->extract($res->decoded_content, base => $uri);

print JSON->new->pretty->encode($microdata->items);
Strehler ( C/CY/CYMON/Strehler-1.6.8.tar.gz, CYMON, 2016; MetaCPAN )
Strehler/lib/Strehler/Element.pm ( view source; MetaCPAN )

        $data{$c} = $self->get_attr_multilang($c, $language);
    }
    return %data;
}

sub get_json_data
{
    my $self = shift;
    my $language = shift;
    my %data = $self->get_ext_data($langua
    my $img = $self->new($_->id);
        my %el;
        if(exists $args{'json'})
        {
            %el = $img->get_json_data($args{'language'});
        }
        else
        {
            if(e
Strehler ( C/CY/CYMON/Strehler-1.6.8.tar.gz, CYMON, 2016; MetaCPAN )
Strehler/lib/Strehler/Admin.pm ( view source; MetaCPAN )
 Dancer2 0.166001;
use Dancer2::Plugin::DBIC;
use Dancer2::Plugin::Ajax;
use Dancer2::Serializer::JSON;
use Strehler::Dancer2::Plugin::Admin;
use HTML::FormFu 1.00;
use HTML::FormFu::Element::Block;
u
lse
    {
        return 0;
    }
};
ajax '/category/info' => sub
{
    content_type('application/json');
    my $category;
    my $input = params->{input};
    my $option = params->{option} || undef;
me'} . "/*";
        $data{'id'} = 'anc:'.$input;
    }
    my $serializer = Dancer2::Serializer::JSON->new();
    return $serializer->serialize(\%data);
};
ajax '/category/tagform/:type/:id?' => sub
HTML-Microdata ( S/SA/SATOH/HTML-Microdata-0.05.tar.gz, SATOH, 2016; MetaCPAN )
HTML-Microdata/lib/HTML/Microdata.pm ( view source; MetaCPAN )
warnings;

use HTML::TreeBuilder::LibXML;
use Hash::MultiValue;
use Scalar::Util qw(refaddr);
use JSON;
use URI;

our $VERSION = '0.05';

sub new {
	my ($class, %args) = @_;
	bless {
		items => [],
		
 = @_;
	my $self = $class->new(%opts);
	$self->_parse($content);
	$self
}

sub as_json {
	my ($self) = @_;
	encode_json +{
		items => $self->{items},
	};
}

sub items {
	my ($self) = @_;
	$self->{item
  my $json = $microdata->as_json;

  use Data::Dumper;
  warn Dumper $microdata->items; # returns top level items


=head1 DESCRIPTION

HTML::Microdata is extractor of microdata from HTML to JSON etc.
HTML-Microdata ( S/SA/SATOH/HTML-Microdata-0.05.tar.gz, SATOH, 2016; MetaCPAN )
HTML-Microdata/sketch/sketch.pl ( view source; MetaCPAN )
dd to Calendar"
           onclick="location = getCalendar(this)"></p>
 ...
 <meta itemprop="description" content="via livebrum.co.uk">
</body>
EOF

use Data::Dumper;
warn Dumper $microdata->as_json;
WebService-Strike ( M/MG/MGV/WebService-Strike-0.006.tar.gz, MGV, 2016; MetaCPAN )
WebService-Strike/lib/WebService/Strike/Torrent.pm ( view source; MetaCPAN )
rict;
use warnings;
use parent qw/Class::Accessor::Fast/;

our $VERSION = 0.006;

use JSON::MaybeXS qw/decode_json/;
use MIME::Base64;
use URI::Escape;
use WebService::Strike;

__PACKAGE__->mk_ro_acce
Strehler ( C/CY/CYMON/Strehler-1.6.8.tar.gz, CYMON, 2016; MetaCPAN )
Strehler/lib/Strehler/API.pm ( view source; MetaCPAN )
PI;
$Strehler::API::VERSION = '1.6.8';
use strict;
use Dancer2 0.166001;
use Dancer2::Serializer::JSON;
use Strehler::Helpers;
use Strehler::Meta::Category;

prefix '/api/v1';

set layout => undef;

m
   my %data = $obj->get_json_data($lang);    
    if($callback)
    {
        content_type('application/javascript');
    }
    else
    {
        content_type('application/json');
    }
    return se
   content_type('application/javascript');
    }
    else
    {
        content_type('application/json');
    }
    return serialize(\%data, $callback);
};

get '/:entity/:id' => sub {
    my $entity 

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