Group
Extension

Matches 35359

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
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
WebService-Annict ( N/NU/NUKOSUKE/WebService-Annict-0.02.tar.gz, NUKOSUKE, 2016; MetaCPAN )
WebService-Annict/lib/WebService/Annict.pm ( view source; MetaCPAN )
default_headers => HTTP::Headers->new(
      "Content-Type" => "application/json",
      Accept         => "application/json",
      Authorization  => "Bearer $access_token",
    ),
  );

  bless {
  
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
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
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
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
OCS-Client ( G/GN/GNUSTAVO/OCS-Client-0.013.tar.gz, GNUSTAVO, 2016; MetaCPAN )
OCS-Client/lib/OCS/Client.pm ( view source; MetaCPAN )
nd
turn it into the barest minimum that I wanted to save in a text file
(after converting it into JSON) that I kept under version
control. Without pruning the repository became unecessarily big and
th
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
				    # }
	
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
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
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-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(
   
Captcha-reCaptcha ( S/SU/SUNNYP/Captcha-reCaptcha-0.99.tar.gz, SUNNYP, 2016; MetaCPAN )
Captcha-reCaptcha/lib/Captcha/reCAPTCHA.pm ( view source; MetaCPAN )
 { type => 'text/javascript' },
    "\n//<![CDATA[\n"
     . "var RecaptchaOptions = "
     . $h->json_encode( $options )
     . ";\n//]]>\n"
  ) . "\n";
}

=item C<< get_options_setter_div( $pubkey, 
Tie-File-Indexed ( M/MO/MOOCOW/Tie-File-Indexed-0.09.tar.gz, MOOCOW, 2016; MetaCPAN )
Tie-File-Indexed/Indexed/StorableN.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<
Tie-File-Indexed ( M/MO/MOOCOW/Tie-File-Indexed-0.09.tar.gz, MOOCOW, 2016; MetaCPAN )
Tie-File-Indexed/Indexed.pm ( view source; MetaCPAN )
exed data files

package Tie::File::Indexed;
use 5.10.0; ##-- for // operator
use Tie::Array;
use JSON qw();
use Fcntl qw(:DEFAULT :seek :flock);
use File::Copy qw();
use IO::File;
use Carp qw(confess
: JSON

## $data = CLASS->loadJsonString( $string,%opts)
## $data = CLASS->loadJsonString(\$string,%opts)
##  + %opts passed to JSON::from_json(), e.g. (relaxed=>0)
##  + supports $opts{json} = $json_
obj
sub loadJsonString {
  my $that = UNIVERSAL::isa($_[0],__PACKAGE__) ? shift : __PACKAGE__;
  my $bufr = ref($_[0]) ? $_[0] : \$_[0];
  my %opts = @_[1..$#_];
  return $opts{json}->decode($$bufr) i
Tie-File-Indexed ( M/MO/MOOCOW/Tie-File-Indexed-0.09.tar.gz, MOOCOW, 2016; MetaCPAN )
Tie-File-Indexed/Indexed/Storable.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

Only r
BrowserStack-Local ( B/BS/BSTACK/BrowserStack-Local-1.0.0.tar.gz, BSTACK, 2016; MetaCPAN )
BrowserStack-Local/blib/lib/BrowserStack/Local.pm ( view source; MetaCPAN )
emp;
use Config;
use Cwd;
use File::Temp qw(tempdir);
use File::Path qw(make_path);
use JSON::Parse qw(parse_json);

require Exporter;

our @ISA = qw(Exporter);

our %EXPORT_TAGS = ( 'all' => [ qw(
  
pcode} = "start";
  my $command = $self->command();
  
  my $out = `$command`;
  my $data = parse_json ($out);

  if ($data->{state} != "connected"){
    die $data->{message}->{message};
  }
  else {
Tie-File-Indexed ( M/MO/MOOCOW/Tie-File-Indexed-0.09.tar.gz, MOOCOW, 2016; MetaCPAN )
Tie-File-Indexed/Indexed/Freeze.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<
Tie-File-Indexed ( M/MO/MOOCOW/Tie-File-Indexed-0.09.tar.gz, MOOCOW, 2016; MetaCPAN )
Tie-File-Indexed/Indexed.pod ( view source; MetaCPAN )
parent encoding/decoding of UTF8-encoded strings,
and complex data structures encoded via the L<JSON|JSON> or L<Storable|Storable>
modules. See L</SUBCLASSES> for details.

=cut

##-------------------
 between incompatible file formats
(e.g. Storable and JSON), but it should be faster than array assignment:

 tie(my @a, 'Tie::File::Indexed::JSON',     'a.tfx');
 tie(my @b, 'Tie::File::Indexed::Stor
                                       # ... but this ought to

 tie(my @a2, 'Tie::File::Indexed::JSON', 'a2.tfx');
 @a2 = @a;                                                # slow element-wise copy
 

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