Group
Extension

Matches 35358

RPC-ExtDirect ( T/TO/TOKAREV/RPC-ExtDirect-3.24.tar.gz, TOKAREV, 2016; MetaCPAN )
RPC-ExtDirect/lib/RPC/ExtDirect/Config.pm ( view source; MetaCPAN )
    accessor => 'json_options',
}, {
    setter   => 'json_options_serialize',
    fallback => 'json_options',
}, {
    package  => 'RPC::ExtDirect::Deserialize',
    var      => 'JSON_OPTIONS',
    t
ype     => 'hash',
    setter   => 'json_options_deserialize',
    fallback => 'json_options',
}, {
    accessor => 'router_class',
    default  => 'RPC::ExtDirect::Router',
}, {
    accessor => 'time
Log-Shiras ( J/JA/JANDREW/Log-Shiras-v0.48.0.tar.gz, JANDREW, 2016; MetaCPAN )
Log-Shiras/lib/Log/Shiras/Switchboard.pm ( view source; MetaCPAN )
Walk::Clone v0.024;
use Log::Shiras::Types qw(
		ElevenArray		ElevenInt		ReportObject		YamlFile
		JsonFile		FileHash		ArgsHash
	);#

#########1 Package Variables  3#########4#########5#########6######
( @args > 1 ) and ( scalar( @args ) % 2 == 0 ) ) ? { @args } :
			( is_YamlFile( $args[0] ) or is_JsonFile( $args[0] ) ) ? to_FileHash( $args[0] ) :
				to_ArgsHash( $args[0] );
	###InternalSwitchboar
s the new settings take
precedence.  So be careful!

B<Accepts:> [%args|$args_ref|full/file/path.(json|yml)] %args are treated the same
as attributes passed to other class style calls to new.  The dat
Log-Shiras ( J/JA/JANDREW/Log-Shiras-v0.48.0.tar.gz, JANDREW, 2016; MetaCPAN )
Log-Shiras/lib/Log/Shiras/Unhide.pm ( view source; MetaCPAN )
ode|
		^Eval|				^Exporter|			^feature|			^File|
		^Filter|			^if\.pm|			^integer|			^IO.File|
		^JSON|				^List|				^Log.Shiras.Unhide|	^metaclass|
		^Module|			^Moose(?!X)|		^MooseX.Has|		^MooseX.No
ode|
		^Eval|				^Exporter|			^feature|			^File|
		^Filter|			^if\.pm|			^integer|			^IO.File|
		^JSON|				^List|				^Log.Shiras.Unhide|	^metaclass|
		^Module|			^Moose(?!X)|		^MooseX.Has|		^MooseX.No
WWW-TVMaze ( B/BS/BSM/WWW-TVMaze-0.06.tar.gz, BSM, 2016; MetaCPAN )
WWW-TVMaze/lib/WWW/TVMaze.pm ( view source; MetaCPAN )
package WWW::TVMaze;

use 5.006;
use strict;
use warnings;
use Mouse;
use LWP::UserAgent;
use JSON::XS;
use DateTime;
use Params::Validate qw(:all);

=head1 NAME

WWW::TVMaze - Interface to TVMaze API
	return {};
	}

	my $data = {};
	eval {
		$data = decode_json($response->decoded_content);
	};
	if ($@) {
		$self->error('problem decoding json');
		return undef;
	}
	return $data;
}







=head1 AUT
Data-Apache-mod_status ( J/JK/JKUTEJ/Data-Apache-mod_status-0.02.tar.gz, JKUTEJ, 2016; MetaCPAN )
Data-Apache-mod_status/lib/Data/Apache/mod_status.pm ( view source; MetaCPAN )
mmand line script which can return this data
in a different formats - C<xml|data-dumper|ecsv|yaml|json|rrd>.

=cut

use warnings;
use strict;

our $VERSION = '0.02';

use Moose;
use Moose::Util::TypeC
WebService-HackerNews ( N/NE/NEILB/WebService-HackerNews-0.05.tar.gz, NEILB, 2016; MetaCPAN )
WebService-HackerNews/lib/WebService/HackerNews.pm ( view source; MetaCPAN )
WebService::HackerNews;
$WebService::HackerNews::VERSION = '0.05';
use 5.006;
use Moo;
use JSON qw(decode_json);

use WebService::HackerNews::Item;
use WebService::HackerNews::User;

has ua => (
    i
a hack. Can I use JSON->allow_nonref to handle
    # the fact that maxitem returns an int rather than [ int ]?
    return $response->{content} =~ m!^\s*[{[]!
           ? decode_json($response->{conte
result = $self->$get('topstories.json');

    return @$result;
}

sub item
{
    my $self   = shift;
    my $id     = shift;
    my $result = $self->$get("item/$id.json");

    return WebService::Hack
Conductrics-Agent ( F/FE/FERZ/Conductrics-Agent-0.004.tar.gz, FERZ, 2016; MetaCPAN )
Conductrics-Agent/lib/Conductrics/Agent.pm ( view source; MetaCPAN )
MooseX::Types::Moose qw( Str );
use MooseX::Types::URI qw(Uri);
use URI;
use URI::QueryParam;
use JSON::MaybeXS;
use Time::HiRes;
use LWP::UserAgent;
use Data::Dumper;

our $VERSION = '0.004';
$VERSIO
essage;
	    warn "Something get wrong on response";
	    warn Dumper($response);
	}

	JSON::MaybeXS::decode_json($response->decoded_content);
    } else {
	warn "Content: ", $response->decoded_conten
Attribute-Boolean ( C/CM/CMS/Attribute-Boolean-v1.0.8.tar.gz, CMS, 2016; MetaCPAN )
Attribute-Boolean/lib/Attribute/Boolean/Value.pm ( view source; MetaCPAN )
 do { bless \(my $dummy = 1), __PACKAGE__ };
my $false = do { bless \(my $dummy = 0), __PACKAGE__ };

sub true()  { $true  }
sub false() { $false }

sub TO_JSON($) {
    return $_[0] ? \1 : \0;
}

1;
Dancer2-Plugin-PageHistory ( S/SY/SYSPETE/Dancer2-Plugin-PageHistory-0.210.tar.gz, SYSPETE, 2016; MetaCPAN )
Dancer2-Plugin-PageHistory/lib/Dancer2/Plugin/PageHistory.pm ( view source; MetaCPAN )
n::CGISession>,
L<Cookie|Dancer2::Session::Cookie>, 
L<DBIC|Dancer2::Session::DBIC>,
L<JSON|Dancer2::Session::JSON>,
L<Memcached|Dancer2::Session::Memcached>,
L<MongoDB|Dancer2::Session::MongoDB>,
L<P
Google-ProtocolBuffers ( S/SA/SAXJAZMAN/protobuf/Google-ProtocolBuffers-0.12.tar.gz, SAXJAZMAN, 2016; MetaCPAN )
Google-ProtocolBuffers/lib/Google/ProtocolBuffers.pm ( view source; MetaCPAN )
ift L<http://developers.facebook.com/thrift/>

ASN.1 L<http://en.wikipedia.org/wiki/ASN.1>, 
L<JSON> and L<YAML>

=head1 AUTHOR, ACKNOWLEDGEMENS, COPYRIGHT

Author: Igor Gariev <gariev@hotmail.
Log-Shiras ( J/JA/JANDREW/Log-Shiras-v0.48.0.tar.gz, JANDREW, 2016; MetaCPAN )
Log-Shiras/lib/Log/Shiras/Types.pm ( view source; MetaCPAN )
le
		FileHash			JsonFile			ArgsHash			ReportObject
		NameSpace			CSVFile				XLSXFile			XLSFile
		XMLFile				IOFileType			HeaderArray
	)];#
#~ use YAML::Any qw( Dump LoadFile );
use JSON::XS;

########
   = qr/[.](txt|csv)/;
my  $yamlextention	= qr/\.(?i)(yml|yaml)/;
my  $jsonextention	= qr/\.(?i)(jsn|json)/;
my  $coder 			= JSON::XS->new->ascii->pretty->allow_nonref;#
my 	$switchboard_attributes = 
lFile, as Str,
	where{ $_ =~ $yamlextention and -f $_ },
	message{ $_ };

subtype JsonFile, as Str,
	where{ $_ =~ $jsonextention and -f $_ },
	message{ $_ };

subtype FileHash, as HashRef;
###Internal
Dancer2-Debugger ( S/SY/SYSPETE/Dancer2-Debugger-0.008.tar.gz, SYSPETE, 2016; MetaCPAN )
Dancer2-Debugger/lib/Dancer2/Debugger.pm ( view source; MetaCPAN )
ead1 VERSION

0.008

=cut

our $VERSION = '0.008';

use Dancer2::Core::Types;
use File::Spec;
use JSON::MaybeXS;
use Module::Find qw/findallmod/;
use Module::Runtime qw/use_module/;
use Plack::App::De
L<Plack::Debugger::Storage/filename_fmt>.

Defaults to C<%s.json>.

=cut

has filename_fmt => (
    is      => 'ro',
    default => '%s.json',
);

=head2 injector_ignore_status

If set to a true value
>.

Defaults to C<< JSON::MaybeXS->new( convert_blessed => 1, utf8 => 1 ) >>

=cut

has serializer => (
    is      => 'ro',
    isa     => Object,
    default => sub {
        JSON::MaybeXS->new(
   
Attribute-Boolean ( C/CM/CMS/Attribute-Boolean-v1.0.8.tar.gz, CMS, 2016; MetaCPAN )
Attribute-Boolean/lib/Attribute/Boolean.pm ( view source; MetaCPAN )
xt, it will have the value 0 or 1.
In string context is will have the value "false" or "true".
In JSON, it will correctly return false or true values.

    my $bool : Boolean;
    print $bool;    # "f
xt.

=head2 TO_JSON

Provided that convert_blessed is set on the JSON (or JSON::XS) object,
the variable will correctly convert to JSON true or false.

    my $json = new JSON;
    $json->pretty->conv
ssed;
    my $bool : Boolean;
    my %hash = (
	value => $bool,
	me    => true,
    );
    print $json->encode(\%hash);    # {
				    #     "value" : false,
				    #     "me"    : true
				    # }
	
App-Fetchware ( D/DL/DLY/App-Fetchware-1.016.tar.gz, DLY, 2016; MetaCPAN )
App-Fetchware/lib/App/Fetchware/Util.pm ( view source; MetaCPAN )
r reference.

=back

Whatever the child writes is returned. drop_privs() does not use Storable or
JSON or XML or anything. It is up to you to specify how the data is to be
represented and used. Howeve
Dancer2-Template-TemplateFlute ( S/SY/SYSPETE/Dancer2-Template-TemplateFlute-0.203.tar.gz, SYSPETE, 2016; MetaCPAN )
Dancer2-Template-TemplateFlute/lib/Dancer2/Template/TemplateFlute.pm ( view source; MetaCPAN )
ate:
      template_flute:
        iterators:
          fruits:
            class: JSON
            file: fruits.json

=head2 FILTER OPTIONS

Filter options and classes can be specified in the configu
Mango-BSON-Dump ( F/FE/FERREIRA/Mango-BSON-Dump-0.2.tar.gz, FERREIRA, 2016; MetaCPAN )
Mango-BSON-Dump/lib/Mango/BSON/Dump.pm ( view source; MetaCPAN )
 Mango BSON documents as Extended JSON

use 5.010;
use Mojo::Base -strict;

use Mango::BSON ();
use Mojo::Util  ();
use re          ();    # regexp_pattern()
use JSON::XS    ();

use Exporter 5.57 'im
port';
our @EXPORT_OK = qw(to_extjson);

sub to_extjson {
    my $doc = shift;
    state $encoder = JSON::XS->new->convert_blessed(1);
    my %opts = (pretty=>0,@_);
    $encoder->$_($opts{$_}) for qw
ngo::BSON::BINARY_UUID(),
    'user_defined' => Mango::BSON::BINARY_USER_DEFINED(),
);

my %TO_EXTJSON = (

    # bson_bin
    'Mango::BSON::Binary' => sub {
        my $bindata = Mojo::Util::b64_enco
DBIx-Class-Visualizer ( C/CS/CSSON/DBIx-Class-Visualizer-0.0200.tar.gz, CSSON, 2016; MetaCPAN )
DBIx-Class-Visualizer/lib/DBIx/Class/Visualizer/Relation.pm ( view source; MetaCPAN )
            :                                       qw/dot dot dot/
                  ;
}

sub TO_JSON {
    my $self = shift;

    return +{
            origin_table => $self->origin_table,
         
Plack-Middleware-ServerStatus-Lite ( K/KA/KAZEBURO/Plack-Middleware-ServerStatus-Lite-0.36.tar.gz, KAZEBURO, 2016; MetaCPAN )
Plack-Middleware-ServerStatus-Lite/lib/Plack/Middleware/ServerStatus/Lite.pm ( view source; MetaCPAN )
::Scoreboard;
use Net::CIDR::Lite;
use Try::Tiny;
use JSON;
use Fcntl qw(:DEFAULT :flock);
use IO::Handle;

our $VERSION = '0.36';

my $JSON = JSON->new->utf8(0);

sub prepare_app {
    my $self = shi
SERVER_PROTOCOL},
            time => time(),
        };
    }
    $self->{__scoreboard}->update($JSON->encode({
        %{$prev},
        pid => $$,
        ppid => getppid(),
        uptime => $self
      for my $pid ( @all_workers  ) {
            my $json = $stats->{$pid};
            my $pstatus = eval { 
                $JSON->decode($json || '{}');
            };
            $pstatus ||= {};
Tie-File-Indexed ( M/MO/MOOCOW/Tie-File-Indexed-0.09.tar.gz, MOOCOW, 2016; MetaCPAN )
Tie-File-Indexed/Indexed/FreezeN.pod ( view source; MetaCPAN )
::Indexed
base class.

=head2 In-place item modification not supported

See L<Tie::File::Indexed::JSON/"In-place item modification not supported"> for details.

=head2 Limited datatype support

See L<
DBIx-Class-Visualizer ( C/CS/CSSON/DBIx-Class-Visualizer-0.0200.tar.gz, CSSON, 2016; MetaCPAN )
DBIx-Class-Visualizer/lib/DBIx/Class/Visualizer/Column.pm ( view source; MetaCPAN )
lumn_name_tag;
}

sub TO_JSON {
    my $self = shift;

    return +{
        name => $self->name,
        data_type => $self->data_type,
        relations => [map { $_->TO_JSON } @{ $self->relations }

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