Group
Extension

Matches 35359

Sledge-Plugin-JSON ( N/NE/NEKOKAK/Sledge-Plugin-JSON-0.01.tar.gz, NEKOKAK, 2006; MetaCPAN )
Sledge-Plugin-JSON/lib/Sledge/Plugin/JSON.pm ( view source; MetaCPAN )
package Sledge::Plugin::JSON;
use warnings;
use strict;

use JSON::Syck;

our $VERSION = '0.01';
our $ConformToRFC4627 = 0;

sub import {
    my $self = shift;
    my $pkg  = caller;

    no strict 'r
efs';
    *{"$pkg\::output_json"} = \&_output_json;
}

sub _output_json {
    my ($self, $args) = @_;

    my $encoding = $args->{encoding} ? $args->{encoding} : 'utf-8';

    my $content_type =
     
self, $encoding );

    my $json = JSON::Syck::Dump($args->{data});
    my $output = _add_callback($self, _validate_callback_param($self, $self->r->param('callback')), $json );

    $self->r->content_
Plagger ( M/MI/MIYAGAWA/Plagger-0.7.17.tar.gz, MIYAGAWA, 2006; MetaCPAN )
Plagger/lib/Plagger/Plugin/Publish/JSON.pm ( view source; MetaCPAN )
package Plagger::Plugin::Publish::JSON;
use strict;
use base qw( Plagger::Plugin );

use File::Spec;
use JSON::Syck;
use Plagger::Walker;
use Plagger::Util;

sub init {
    my $self = shift;
    $self
| '%i.json');
    my $path = File::Spec->catfile($self->conf->{dir}, $file);
    $context->log(info => "writing output to $path");

    local $JSON::Syck::ImplicitUnicode = 1;
    my $body = JSON::Syc
conf->{varname}) {
        $body = "var $var = $body;";
    } elsif (my $jsonp = $self->conf->{jsonp}) {
        $body = "$jsonp($body)";
    }

    $context->log(info => "Serializing " . $args->{feed
EVDB-API ( R/RA/RADCLIFF/EVDB-API-0.99.tar.gz, RADCLIFF, 2006; MetaCPAN )
EVDB-API/lib/EVDB/API/JSON.pm ( view source; MetaCPAN )
package EVDB::API::JSON;

use strict;
use warnings;
use Carp;

=head1 NAME

EVDB::API::JSON - Use the JSON flavor of the Eventful API

=head1 SYNOPSIS

    my $evdb    = EVDB::API->new(app_key => $app
-001336058-5' });

=head1 DESCRIPTION

Parses JSON from the Eventful API.

=head1 METHODS

=head2 flavor

Return the flavor name.

=cut

sub flavor { 'json' }

=head2 ctype

Return a checkstring for t
 content type.

=cut

sub ctype { 'javascript' }

=head2 parse

Parse JSON data from the Eventful API using L<JSON::Syck> or L<JSON>.

=cut

sub parse {
    my ($class, $data, $force_array) = @_;

   
Kwiki-JSON ( C/CO/CORDATA/Kwiki-JSON-0.01.tar.gz, CORDATA, 2006; MetaCPAN )
Kwiki-JSON/lib/Kwiki/JSON.pm ( view source; MetaCPAN )
ckage Kwiki::JSON;

use warnings;
use strict;
use Kwiki::Plugin '-Base';
use mixin 'Kwiki::Installer';
our $VERSION = '0.01';

const class_title => 'JSON Library';
const class_id => 'json';
const java
> 'json.js';

sub register {
        my $registry = shift;
        $registry->add(preload => 'json', priority => 1);
}

1; # End of Kwiki::JSON

__DATA__
=head1 NAME

Kwiki::JSON - Provides the JSON j
S

The developers of the JSON language as well as the many implementations of
JSON. It is great to have data structures than can be understood by all
languages and without JSON many of my project woul
Data-Phrasebook-Loader-JSON-Syck ( S/ST/STEVAN/Data-Phrasebook-Loader-JSON-Syck-0.01.tar.gz, STEVAN, 2006; MetaCPAN )
Data-Phrasebook-Loader-JSON-Syck/lib/Data/Phrasebook/Loader/JSON/Syck.pm ( view source; MetaCPAN )

package Data::Phrasebook::Loader::JSON::Syck;

use strict;
use warnings;

use Carp        'croak';
use JSON::Syck  ();
use File::Slurp ();

use Data::Phrasebook;

our $VERSION = '0.01';

use base 'Da
 not be found";        
    my $json = File::Slurp::slurp($filename) or croak "Could not slurp JSON file '$filename' got no data";
    my $d    = JSON::Syck::Load($json);
    (ref($d) eq 'HASH')
     
JSON file '$filename'";
	$class->{JSON} = $d;    
}

sub get { 
	my ($class, $key) = @_;
	return undef unless $key;
	return undef unless $class->{JSON};
	$class->{JSON}->{$key};    
}

#sub dicts    {
JSON-Syck ( M/MI/MIYAGAWA/JSON-Syck-0.07.tar.gz, MIYAGAWA, 2006; MetaCPAN )
JSON-Syck/lib/JSON/Syck.pm ( view source; MetaCPAN )
ackage JSON::Syck;
use strict;

use Exporter;
use DynaLoader;

our $VERSION = '0.07';
our @EXPORT_OK  = qw( Dump Load );
our @ISA     = qw( Exporter DynaLoader );

__PACKAGE__->bootstrap;

$JSON::Syck
g  = 1;
$JSON::Syck::Headless        = 1;
$JSON::Syck::ImplicitUnicode = 0;
$JSON::Syck::SingleQuote     = 0;

1;

__END__

=head1 NAME

JSON::Syck - JSON is YAML

=head1 SYNOPSIS

  use JSON::Syck;

  my $data = JSON::Syck::Load($json);
  my $json = JSON::Syck::Dump($data);

=head1 DESCRIPTION

JSON::Syck is a syck implementatoin of JSON parsing and
generation. Because JSON is YAML
(L<http://redh
Catalyst-Plugin-Config-JSON ( S/SA/SAMV/Catalyst-Plugin-Config-JSON-0.03.tar.gz, SAMV, 2005; MetaCPAN )
Catalyst-Plugin-Config-JSON/lib/Catalyst/Plugin/Config/JSON.pm ( view source; MetaCPAN )
Plugin::Config::JSON;

use strict;
use warnings;

use UNIVERSAL 'isa';

use NEXT;
use JSON;
use Path::Class 'file';

our $VERSION = '0.03';

=head1 NAME

Catalyst::Plugin::Config::JSON - Configure you
r Catalyst application via an external
JSON file

=head1 SYNOPSIS

    use Catalyst 'Config::JSON';
    
    __PACKAGE__->config('config_file' => 'config.json');

=head1 DESCRIPTION

This Catalyst plu
gin enables you to configure your Catalyst application with an 
external JSON file instead of somewhere in your application code.

This is useful for example if you want to quickly change the configur
SPVM ( K/KI/KIMOTO/SPVM-0.990188.tar.gz, KIMOTO, 2026; MetaCPAN )
SPVM/lib/SPVM/Builder/Info.pm ( view source; MetaCPAN )
package SPVM::Builder::Info;

use strict;
use warnings;
use Carp 'confess';
use JSON::PP;
use File::Basename 'basename';

use SPVM::Builder;
use SPVM::Builder::CC;
use SPVM::Builder::Util;
use SPVM::B
quired_resources;
}

sub get_required_resource_json_lines {
  my ($self) = @_;
  
  my $required_resources = $self->get_required_resources;
  
  my @json_lines;
  for my $required_resource (@$required
} = $resource_argv;
    }
    
    my $json_line = JSON::PP->new->utf8->canonical(1)->encode($line);
    
    push @json_lines, $json_line;
  }
  
  return \@json_lines;
}

sub compile {
  my ($self) 
SPVM ( K/KI/KIMOTO/SPVM-0.990188.tar.gz, KIMOTO, 2026; MetaCPAN )
SPVM/lib/SPVM/Builder/Config/Info.pm ( view source; MetaCPAN )
package SPVM::Builder::Config::Info;

use strict;
use warnings;
use Carp 'confess';
use JSON::PP;
use File::Basename 'basename';

use SPVM::Builder;
use SPVM::Builder::CC;
use SPVM::Builder::Util;

# 
SPVM ( K/KI/KIMOTO/SPVM-0.990188.tar.gz, KIMOTO, 2026; MetaCPAN )
SPVM/lib/SPVM/Builder/ScriptInfo.pm ( view source; MetaCPAN )
package SPVM::Builder::ScriptInfo;

use strict;
use warnings;
use Carp 'confess';
use JSON::PP;
use File::Basename 'basename';

use SPVM::Builder;
use SPVM::Builder::CC;
use SPVM::Builder::Util;
use S
SPVM ( K/KI/KIMOTO/SPVM-0.990188.tar.gz, KIMOTO, 2026; MetaCPAN )
SPVM/lib/SPVM/Document/Modules.pm ( view source; MetaCPAN )
tem * L<SPVM::HTTP::Tiny>

=item * L<SPVM::IO>

=item * L<SPVM::IO::Socket::SSL>

=item * L<SPVM::JSON>

=item * L<SPVM::Math>

=item * L<SPVM::MIME::Base64>

=item * L<SPVM::Mojolicious>

=item * L<S
SPVM ( K/KI/KIMOTO/SPVM-0.990188.tar.gz, KIMOTO, 2026; MetaCPAN )
SPVM/lib/SPVM/Builder/Exe.pm ( view source; MetaCPAN )
package SPVM::Builder::Exe;

use strict;
use warnings;
use Carp ();
use JSON::PP;
use File::Basename 'basename', 'dirname', 'fileparse';
use File::Path 'mkpath', 'rmtree';
use File::Find 'find';
use A
SPVM ( K/KI/KIMOTO/SPVM-0.990188.tar.gz, KIMOTO, 2026; MetaCPAN )
SPVM/lib/SPVM/Dist.pm ( view source; MetaCPAN )
lf) = @_;
  
  my $gitignore_content = <<'EOS';
/blib
/Makefile
/Makefile.old
/MYMETA.yml
/MYMETA.json
/pm_to_blib
/core.*
/core
/SPVM-*
*.bak
*.BAK
*.tmp
*.o
*.bs
.tmp
.git
.spvm_build
EOS
  
  # Gen

  my $manifest_skip_content = <<'EOS';
^blib(/|$)
^Makefile$
^Makefile.old$
^MYMETA.yml$
^MYMETA.json$
^pm_to_blib$
^core\.
^core$
^SPVM-
\.bak$
\.BAK$
\.tmp$
\.o$
\.bs$
(^|/)\.tmp(/|$)
(^|/)\.git(/|
SPVM ( K/KI/KIMOTO/SPVM-0.990188.tar.gz, KIMOTO, 2026; MetaCPAN )
SPVM/lib/SPVM/Builder/DependencyAnalyzer.pm ( view source; MetaCPAN )
package SPVM::Builder::DependencyAnalyzer;

use strict;
use warnings;
use Carp 'confess';
use JSON::PP ();
use File::Basename 'basename';

use SPVM::Builder;
use SPVM::Builder::CC;
use SPVM::Builder::
ion_from;
    }
    
    push @$class_infos, $class_info;
  }
  
  return $class_infos;
}

sub to_json {
  my ($self) = @_;
  
  my $script_name = $self->{script_name};
  
  my $with_version = $self->
 $script_name);
  
  my $class_infos = $self->to_class_infos;
  
  my $class_names = [];
  
  my $json = "[\x0A";
  
  for (my $i = 0; $i < @$class_infos; $i++) {
    my $class_info = $class_infos->[$
SPVM ( K/KI/KIMOTO/SPVM-0.990188.tar.gz, KIMOTO, 2026; MetaCPAN )
SPVM/lib/SPVM/Builder/Ninja.pm ( view source; MetaCPAN )
 for the hash
          my $mitme_and_size_json = qq|{mtime":$stat_result[9],"size":$stat_result[7]}|;
          $dependent_file_sha->add($mitme_and_size_json);
        }
      }
      $dependant_file
Dancer2-Plugin-WebService ( M/MP/MPOURASG/Dancer2-Plugin-WebService-4.8.3.tar.gz, MPOURASG, 2025; MetaCPAN )
Dancer2-Plugin-WebService/lib/Dancer2/Plugin/WebService.pm ( view source; MetaCPAN )
t data, multiple in/out formats, IP security, role based access
# Multiple input/output formats : json , xml , yaml, perl , human
#
# George Bouras , george.mpouras@yandex.com
# Joan Ntzougani, ✞

p
anel::JSON::XS; my $JSON = Cpanel::JSON::XS->new; $JSON->utf8(1); $JSON->indent(0); $JSON->canonical(0); $JSON->pretty(0); $JSON->max_size(0); $JSON->space_before(0); $JSON->space_after(1); $JSON->rel
axed(0); $JSON->allow_tags(1); $JSON->allow_unknown(0); $JSON->shrink(0); $JSON->allow_nonref(0); $JSON->allow_blessed(0); $JSON->convert_blessed(0); $JSON->max_depth(1024);
use YAML::XS;         my $
Net-FullAuto ( R/RE/REEDFISH/Net-FullAuto-1.0000832.tar.gz, REEDFISH, 2025; MetaCPAN )
Net-FullAuto/lib/Net/FullAuto/ISets/Amazon/ClipBucket_is.pm ( view source; MetaCPAN )
ter;
our @ISA = qw(Exporter);
our @EXPORT = qw($select_clipbucket_setup);

use File::HomeDir;
use JSON::XS;
use POSIX qw(strftime);
my $home_dir=File::HomeDir->my_home.'/';

use Net::FullAuto::Cloud::
e->cmd(
      'sudo yum -y install php55 php55-curl php55-gd php55-gmp '.
      'php55-intl php55-json php55-opcache php55-mysqlnd '.
      'php55-mbstring php55-devel php55-fpm php55-cli openssl-deve
ub.com/users/gpac/repos';
   ($stdout,$stderr)=$local->cmd($c);
   my @repos=();
   @repos=decode_json($stdout);
   my $default_branch=$repos[0]->[1]->{'default_branch'};
   my $updated=$repos[0]->[1]
Net-FullAuto ( R/RE/REEDFISH/Net-FullAuto-1.0000832.tar.gz, REEDFISH, 2025; MetaCPAN )
Net-FullAuto/lib/Net/FullAuto/ISets/Amazon/OpenLDAP_is.pm ( view source; MetaCPAN )
e_demo_setup}<';

};

my $openldap_setup_summary=sub {

   package openldap_setup_summary;
   use JSON::XS;
   my $region="]T[{awsregions}";
   $region=~s/^"//;
   $region=~s/"$//;
   my $type="]T[{se
Net-FullAuto ( R/RE/REEDFISH/Net-FullAuto-1.0000832.tar.gz, REEDFISH, 2025; MetaCPAN )
Net-FullAuto/lib/Net/FullAuto/ISets/Amazon/Chef_is.pm ( view source; MetaCPAN )
$lrhandle->{_cmd_handle}->print("\003");
         last;
      }
      sleep 1;
   }
   my ($hash,$json,$output,$error)=('','','','');
   my $in_id=$lr_inst->{InstanceId};
   ($hash,$output,$error)=
  
lAuto::FA_Core::cleanup;

};

my $chef_setup_summary=sub {

   package chef_setup_summary;
   use JSON::XS;
   my $region="]T[{awsregions}";
   $region=~s/^"//;
   $region=~s/"$//;
   my $type="]T[{se
Net-FullAuto ( R/RE/REEDFISH/Net-FullAuto-1.0000832.tar.gz, REEDFISH, 2025; MetaCPAN )
Net-FullAuto/lib/Net/FullAuto/ISets/Amazon/Catalyst_is.pm ( view source; MetaCPAN )
X::StrictConstructor 
      MooseX::NonMoose
      Business::ISBN
      App::FatPacker
      JSON
      JSON::XS
      Test::DistManifest
      Term::Size::Any
      Type::Tiny
      File::ReadBackwar
####

   INSTALLING Catalyst::View::JSON

########################################
END
   print $show;
   sleep 1;
   cmd_raw($handle,'sudo cpan Catalyst::View::JSON','__display__');
   $show=<<END;
 
e_demo_setup}<';

};

my $catalyst_setup_summary=sub {

   package catalyst_setup_summary;
   use JSON::XS;
   my $region="]T[{awsregions}";
   $region=~s/^"//;
   $region=~s/"$//;
   my $type="]T[{se

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