Group
Extension

Matches 35358

Validator-Custom ( K/KI/KIMOTO/Validator-Custom-1.0201.tar.gz, KIMOTO, 2017; MetaCPAN )
Validator-Custom/lib/Validator/Custom.pm ( view source; MetaCPAN )
rse_random_string_rule($rule);
  
  require JSON;
  my $r_json = JSON->new->encode($r);
  
  my $javascript = << "EOS";
(function () {

  var rule = $r_json;

  var create_random_value = function (rul
DBIx-Class-InflateColumn-Serializer ( M/MR/MRUIZ/DBIx-Class-InflateColumn-Serializer-0.09.tar.gz, MRUIZ, 2017; MetaCPAN )
DBIx-Class-InflateColumn-Serializer/lib/DBIx/Class/InflateColumn/Serializer.pm ( view source; MetaCPAN )
mn' => {
      'data_type' => 'VARCHAR',
      'size'      => 255,
      'serializer_class'   => 'JSON'
    }
  );

Then in your code...

  my $struct = { 'I' => { 'am' => 'a struct' };
  $obj->data_c
j->data_column;

The data structures you assign to "data_column" will be saved in the database in JSON format.

=head1 DESCRIPTION

These modules help you store and access serialized data structures i
lts in an error

Right now there are three serializers:
 - Storable
 - JSON
 - YAML

=head1 USAGE

1. Choose your serializer: JSON, YAML or Storable

2. Add 'InflateColumn::Serializer' into the load_c
Dist-Zilla-Plugin-Meta-Maintainers ( D/DR/DROLSKY/Dist-Zilla-Plugin-Meta-Maintainers-0.01.tar.gz, DROLSKY, 2017; MetaCPAN )
Dist-Zilla-Plugin-Meta-Maintainers/lib/Dist/Zilla/Plugin/Meta/Maintainers.pm ( view source; MetaCPAN )
lugin adds an C<x_maintainers> key in the distribution's metadata. This
will end up in the F<META.json> and F<META.yml> files, and may also be useful
for things like L<Pod::Weaver> plugins.

=head1 SU
WWW-Deezer ( K/KA/KABANOID/WWW-Deezer-0.03.tar.gz, KABANOID, 2017; MetaCPAN )
WWW-Deezer/lib/WWW/Deezer.pm ( view source; MetaCPAN )
package WWW::Deezer;

use strict;
use warnings;

use Carp();
use LWP::UserAgent;
use JSON;
use URI::Escape;

use WWW::Deezer::SearchResult;
use WWW::Deezer::Artist;

our $VERSION = '0.03';
our $API_VE
rl => "http://api.deezer.com/$API_VERSION/",
        ua      => LWP::UserAgent->new,
        json    => JSON->new->allow_nonref,
        debug   => 0,
    };

    $self->{ua}->agent("WWW::Deezer v".$V
_get_url ({
        url     => $uri.'/'.$id,
        method  => 'GET'
    });

    $res = $self->{json}->decode ($res) unless _is_hashref ($res);
    $res->{deezer_obj} = $self;

    return WWW::Deeze
Travel-Status-DE-URA ( D/DE/DERF/Travel-Status-DE-URA-2.01.tar.gz, DERF, 2017; MetaCPAN )
Travel-Status-DE-URA/lib/Travel/Status/DE/URA/Result.pm ( view source; MetaCPAN )
{route_pre} };
}

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

	return @{ $self->{route_post} };
}

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

	return { %{$self} };
}

1;

__END__

=head1 NAME

Travel::Status::DE::URA::
::Result object.  You should not need to
call this.

=item $departure->TO_JSON

Allows the object data to be serialized to JSON.

=back

=head1 DIAGNOSTICS

None.

=head1 DEPENDENCIES

=over

=item Cl
anticaptcha ( S/SK/SKULL/anticaptcha-1.02.zip, SKULL, 2017; MetaCPAN )
anticaptcha/lib/Anticaptcha.pm ( view source; MetaCPAN )
23abc112abc123abc123',
    responce => 'json'
  );

  # Get account balance in JSON format
  my $balance_json = $Anticaptcha->getBalance();
  print $balance_json,"\n";

See L<Anticaptcha::Request> for
XAS ( K/KE/KESTEB/XAS-0.15.tar.gz, KESTEB, 2017; MetaCPAN )
XAS/lib/XAS/Lib/Log.pm ( view source; MetaCPAN )
Log::Console>

=item L<XAS::Lib::Log::File|XAS::Lib::Log::File>

=item L<XAS::Lib::Log::Json|XAS::Lib::Log::Json>

=item L<XAS::Lib::Log::Syslog|XAS::Lib::Log::Syslog>

=item L<XAS|XAS>

=back

=head1
XAS ( K/KE/KESTEB/XAS-0.15.tar.gz, KESTEB, 2017; MetaCPAN )
XAS/lib/XAS/Lib/App.pm ( view source; MetaCPAN )
lt the log is displayed on the console. Log
types can be one of the following "console", "file", "json" or "syslog".

=head2 --log-facility

What log facility class to use. This follows syslog convent
Validator-Custom ( K/KI/KIMOTO/Validator-Custom-1.0201.tar.gz, KIMOTO, 2017; MetaCPAN )
Validator-Custom/lib/Validator/Custom/Document/Version0.pod ( view source; MetaCPAN )
checkbox, radio button, and list box is automatically selected.

Note that this methods require L<JSON> module.

=head2 validate

  $result = $vc->validate($data, $rule);
  $result = $vc->validate($da
anticaptcha ( S/SK/SKULL/anticaptcha-1.02.zip, SKULL, 2017; MetaCPAN )
anticaptcha/lib/Anticaptcha/Request.pm ( view source; MetaCPAN )
ON);
require Exporter;
use Exporter;
@ISA = ('Exporter');

$VERSION = "1.02";
require 5.010;

use JSON ();
use LWP ();

use Anticaptcha ();

use Carp ();

sub new
{
	# Check for common user mistake
	C

	my $json = JSON::encode_json($req);

	my $res = $self->request({
		task => 'createTask',
		data => $json
	});
	if($self->{responce} eq 'json'){
		return $res;
	}else{
		return JSON::decode_json($res
$self) = @_;
	my $json = JSON::encode_json({clientKey => $self->{clientKey}});

	my $res = $self->request({
		task => 'getBalance',
		data => $json
	});
	if($self->{responce} eq 'json'){
		return $res
Dist-Metadata ( R/RW/RWSTAUNER/Dist-Metadata-0.927.tar.gz, RWSTAUNER, 2017; MetaCPAN )
Dist-Metadata/lib/Dist/Metadata.pm ( view source; MetaCPAN )
meta = $self->determine_metadata;

  # prefer json file (spec v2)
  if ( $metafile = first { m#^META\.json$# } @files ) {
    $meta = CPAN::Meta->load_json_string( $dist->file_content($metafile) );
  
Protocol-SocketIO ( V/VT/VTI/Protocol-SocketIO-0.07.tar.gz, VTI, 2017; MetaCPAN )
Protocol-SocketIO/lib/Protocol/SocketIO/Message.pm ( view source; MetaCPAN )
 JSON   ();

use overload '""' => sub { $_[0]->to_string }, fallback => 1;

our %TYPES = (
    'disconnect'   => 0,
    'connect'      => 1,
    'heartbeat'    => 2,
    'message'      => 3,
    'json
shift;

    my $self = {@_};
    bless $self, $class;

    $self->{type} ||= ref $self->{data} ? 'json_message' : 'message';

    if ($self->{type} eq 'connect' || $self->{type} eq 'heartbeat') {
    
}

sub is_message {
    my $self = shift;

    return $self->type eq 'message' || $self->type eq 'json_message';
}

sub parse {
    my $self = shift;
    my ($string) = @_;

    return unless defined 
WebService-SendInBlue ( B/BM/BMAVT/WebService-SendInBlue-0.005.tar.gz, BMAVT, 2017; MetaCPAN )
WebService-SendInBlue/lib/WebService/SendInBlue.pm ( view source; MetaCPAN )
Blue::VERSION = '0.005';
}

use strict;
use warnings;

use HTTP::Request;
use LWP::UserAgent;
use JSON;
use Data::Dumper;
use IO::Socket::INET;
use URI::Query;

use WebService::SendInBlue::Response;

>is_success;

    $self->log($inbox->decoded_content);
    sleep(1);

    my $inbox_data = decode_json($inbox->decoded_content);
    my $inbox_url  = $inbox_data->{'base_url'};

    my $req = $self->c
items->is_success;

        $self->log($items->decoded_content);

        my $items_data = decode_json($items->decoded_content);
        for my $i (@{$items_data->{'items'}}) {
            my %data = 
Catalyst-ActionRole-MatchRequestAccepts ( J/JJ/JJNAPIORK/Catalyst-ActionRole-MatchRequestAccepts-0.06.tar.gz, JJNAPIORK, 2017; MetaCPAN )
Catalyst-ActionRole-MatchRequestAccepts/lib/Catalyst/ActionRole/MatchRequestAccepts.pm ( view source; MetaCPAN )
 }

    ## Match for incoming requests with HTTP Accepts: application/json
    sub for_json : Path('foo') Accept('application/json') { ... }

=head1 DESCRIPTION

Lets you specify a match for the HTTP 
t the 'our_action_json' action to consume this ActionRole.  In this
    ## example GET '/json' would only match if the client request HTTP included
    ## an Accept: application/json.

    __PACKAGE__
  action => {
        our_action_json => { Path => 'json', Accept => 'application/json' },
      });

    ## GET '/foo' will dispatch to either action 'our_action_json' or action
    ## 'our_action_ht
AI-CleverbotIO ( P/PO/POLETTIX/AI-CleverbotIO-0.002.tar.gz, POLETTIX, 2017; MetaCPAN )
AI-CleverbotIO/lib/AI/CleverbotIO.pm ( view source; MetaCPAN )

{ our $VERSION = '0.002'; }

use Moo;
use Ouch;
use Log::Any ();
use Data::Dumper;
use JSON::PP qw< decode_json >;

has endpoints => (
   is      => 'ro',
   default => sub {
      return {
         
0, "response status $response->{status}, nothing from $url)";
   }
   my $decoded = eval { decode_json($encoded) }
     or ouch 500, "response status $response->{status}, exception: $@";
   return $de
Perinci-CmdLine-Util ( P/PE/PERLANCAR/Perinci-CmdLine-Util-0.15.tar.gz, PERLANCAR, 2017; MetaCPAN )
Perinci-CmdLine-Util/lib/Perinci/CmdLine/Util.pm ( view source; MetaCPAN )
tributes are dumped as Perl instead of JSON ",
                    "so it's unsafe to parse",
                );
            } else {
                require JSON::MaybeXS;
                eval { $per
icmd_inline_attrs =
                           JSON::MaybeXS::decode_json($pericmd_inline_attrs) };
                if ($@) {
                    push @{ $meta->{'func.notes'} },
                     
Dist-Metadata ( R/RW/RWSTAUNER/Dist-Metadata-0.927.tar.gz, RWSTAUNER, 2017; MetaCPAN )
Dist-Metadata/corpus/structs.pl ( view source; MetaCPAN )
kage;

our $VERSION = \'0.2\';
'
  },
  'metafile' => {
    'Dist-Metadata-Test-MetaFile-2.2/META.json' => '{
   "abstract" : "Fake dist for testing metadata determination",
   "author" : [
      "Ran
his "dist" is for testing Dist::Metadata.
',
    'Dist-Metadata-Test-MetaFile-Incomplete-2.1/META.json' => '{
   "abstract" : "Fake dist for testing metadata determination",
   "author" : [
      "Ran
AI-CleverbotIO ( P/PO/POLETTIX/AI-CleverbotIO-0.002.tar.gz, POLETTIX, 2017; MetaCPAN )
AI-CleverbotIO/lib/AI/CleverbotIO.pod ( view source; MetaCPAN )
ome_text);

Send a I<ask> API request. The returned C<$answer> is a hash reference
derived by the JSON decoding of the response body, e.g.:

   {
      status   => 'success',
      response => 'Hullo'
_nick);

Send a I<create> API request. The returned C<$answer> is a hash reference
derived by the JSON decoding of the response body, e.g.:

   {
      status => 'success',
      nick   => 'NickTheRob
XAS ( K/KE/KESTEB/XAS-0.15.tar.gz, KESTEB, 2017; MetaCPAN )
XAS/lib/XAS/Lib/Net/Server.pm ( view source; MetaCPAN )
 strings. Which means every string has a consistent EOL. 
These strings may be formatted, such as JSON. This module inherits from 
L<XAS::Lib::POE::Session|XAS::Lib::POE::Session>.

=head1 METHODS

=h
XAS ( K/KE/KESTEB/XAS-0.15.tar.gz, KESTEB, 2017; MetaCPAN )
XAS/lib/XAS/Apps/Test/RPC/Processor.pm ( view source; MetaCPAN )
e      => 'XAS::Lib::Net::Server',
  mixin     => 'XAS::Lib::Mixin::JSON::Server XAS::Lib::Mixins::Keepalive',
  constants => ':jsonrpc',
  vars => {
    PARAMS => {
      -port          => { optional
ss = shift;

    my $self = $class->SUPER::init(@_);
    my $methods = ['echo'];

    $self->init_json_server($methods);

    return $self;

}

1;

__END__

=head1 NAME

XAS::xxx - A class for the XAS

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