Group
Extension

Matches 35358

Acme-CPANModulesBundle-Import-PerlAdvent-2015 ( P/PE/PERLANCAR/Acme-CPANModulesBundle-Import-PerlAdvent-2015-0.001.tar.gz, PERLANCAR, 2018; MetaCPAN )
Acme-CPANModulesBundle-Import-PerlAdvent-2015/lib/Acme/CPANModules/Import/PerlAdvent/2015_12_13.pm ( view source; MetaCPAN )
 (retrieved on 2016-11-06). Visit the URL for the full contents.",
  entries     => [{ module => "JSON::Path" }],
  summary     => "Modules mentioned in Perl Advent Calendar 2015 (day 13)",
};

1;
# A
d on 2016-11-06). Visit the URL for the full contents.

=head1 INCLUDED MODULES

=over

=item * L<JSON::Path>

=back

=head1 HOMEPAGE

Please visit the project's homepage at L<https://metacpan.org/rel
Acme-CPANModulesBundle-Import-PerlAdvent-2015 ( P/PE/PERLANCAR/Acme-CPANModulesBundle-Import-PerlAdvent-2015-0.001.tar.gz, PERLANCAR, 2018; MetaCPAN )
Acme-CPANModulesBundle-Import-PerlAdvent-2015/lib/Acme/CPANModules/Import/PerlAdvent/2015.pm ( view source; MetaCPAN )
{ module => "IO::All" },
                   { module => "JSONY" },
                   { module => "Moo" },
                   { module => "JSON::Path" },
                   { module => "File::Serializ
:Station>

=item * L<DBI>

=item * L<DBIx::Class>

=item * L<IO::All>

=item * L<JSONY>

=item * L<Moo>

=item * L<JSON::Path>

=item * L<File::Serialize>

=item * L<Moose>

=item * L<Stepford>

=item
Pandoc-Elements ( V/VO/VOJ/Pandoc-Elements-0.38.tar.gz, VOJ, 2018; MetaCPAN )
Pandoc-Elements/lib/Pandoc/Elements.pm ( view source; MetaCPAN )
itSubroutinePrototypes)
use warnings;
use 5.010001;

our $VERSION = '0.38';

use Carp;
use JSON qw(decode_json);
use Scalar::Util qw(blessed reftype);
use Pandoc::Walker qw(walk);
use Pandoc::Version;
EXPORT = (
    keys %ELEMENTS,
    qw(Document attributes metadata citation pandoc_version pandoc_json pandoc_query)
);
our @EXPORT_OK = ( @EXPORT, 'element' );

# create constructor functions
foreach
from_json;
    my $arg = do {
        if ( @_ == 1 ) {
            $from_json = 1;
            my $reftype = reftype $_[0] // '';
            if ( $reftype eq 'ARRAY') {
                # old JSON for
Pandoc-Elements ( V/VO/VOJ/Pandoc-Elements-0.38.tar.gz, VOJ, 2018; MetaCPAN )
Pandoc-Elements/lib/Pandoc/Walker.pm ( view source; MetaCPAN )
uments

=head1 SYNOPSIS

    use Pandoc::Walker;
    use Pandoc::Elements qw(pandoc_json);

    my $ast = pandoc_json(<>);

    # extract all links and image URLs
    my $links = query $ast, 'Link|Ima
Mojo-ACME ( J/JB/JBERGER/Mojo-ACME-0.13.tar.gz, JBERGER, 2018; MetaCPAN )
Mojo-ACME/lib/Mojo/ACME.pm ( view source; MetaCPAN )
se;

our $VERSION = '0.13';
$VERSION = eval $VERSION;

use Mojo::Collection 'c';
use Mojo::JSON qw/encode_json/;
use Mojo::URL;

use Crypt::OpenSSL::PKCS10;
use MIME::Base64 qw/encode_base64url encode
x) = @_;
    my $err;
    if (my $res = $tx->success) {
      $self->challenges->{$token} = $res->json;
    } else {
      $err = $tx->error;
      $err->{token} = $token;
    }
    $self->$cb($err);
l, $req);
  _die_if_error($tx, 'Error requesting challenges', 201);

  my $challenges = $tx->res->json('/challenges') || [];
  die "No http challenge available\n"
    unless my $challenge = c(@$challe
Acme-CPANModulesBundle-Import-PerlDancerAdvent-2010 ( P/PE/PERLANCAR/Acme-CPANModulesBundle-Import-PerlDancerAdvent-2010-0.001.tar.gz, PERLANCAR, 2018; MetaCPAN )
Acme-CPANModulesBundle-Import-PerlDancerAdvent-2010/lib/Acme/CPANModules/Import/PerlDancerAdvent/2010_12_19.pm ( view source; MetaCPAN )
er::UUEncode" },
                   { module => "Data::Dumper" },
                   { module => "JSON" },
                   { module => "Storable" },
                   { module => "XML::Simple" },
erializer::Abstract>

=item * L<Dancer::Serializer::UUEncode>

=item * L<Data::Dumper>

=item * L<JSON>

=item * L<Storable>

=item * L<XML::Simple>

=item * L<YAML>

=item * L<YAML::Tiny>

=back

=he
Pandoc-Elements ( V/VO/VOJ/Pandoc-Elements-0.38.tar.gz, VOJ, 2018; MetaCPAN )
Pandoc-Elements/lib/Pandoc/Filter/Multifilter.pm ( view source; MetaCPAN )
 'Pandoc::Filter';
our @EXPORT_OK = (qw(find_filter apply_filter));

use Pandoc::Elements 'pandoc_json';
use Pandoc;
use IPC::Cmd 'can_run';
use IPC::Run3;

sub new {
    bless { }, shift;
}

sub appl
$name\n");
}

sub apply_filter {
    my ($doc, $format, @filter) = @_;

    my $stdin  = $doc->to_json;
    my $stdout = "";
    my $stderr = "";

    run3 [@filter, $format // ''], \$stdin, \$stdout,
:',@filter)."\n$stderr";
    }

    my $transformed =  eval { pandoc_json($stdout) };
    die join(' ','filter emitted no valid JSON:',@filter)."\n" if $@;

	# modify original document
	$doc->meta($tr
Pandoc-Elements ( V/VO/VOJ/Pandoc-Elements-0.38.tar.gz, VOJ, 2018; MetaCPAN )
Pandoc-Elements/lib/Pandoc/Document/Element.pm ( view source; MetaCPAN )
ocument::VERSION;
use JSON ();
use Scalar::Util qw(reftype blessed);
use Pandoc::Walker ();
use subs qw(walk query transform);    # Silence syntax warnings

sub to_json {
    JSON->new->utf8->canonica
l->convert_blessed->encode( $_[0] );
}

sub TO_JSON {

    # Run everything thru this method so arrays/hashes are cloned
    # and objects without TO_JSON methods are stringified.
    # Required to en
ed ) = @_;
    if ( $maybe_blessed && blessed $ast ) {
        return $ast if $ast->can('TO_JSON');    # JSON.pm will convert
             # may have overloaded stringification! Should we check?
     
Acme-CPANModulesBundle-Import-PerlDancerAdvent-2010 ( P/PE/PERLANCAR/Acme-CPANModulesBundle-Import-PerlDancerAdvent-2010-0.001.tar.gz, PERLANCAR, 2018; MetaCPAN )
Acme-CPANModulesBundle-Import-PerlDancerAdvent-2010/lib/Acme/CPANModules/Import/PerlDancerAdvent/2010_12_08.pm ( view source; MetaCPAN )
,
                   { module => "Dancer::Serializer::Mutable" },
                   { module => "JSON" },
                   { module => "XML::Simple" },
                   { module => "YAML" },
    
Action::REST>

=item * L<Dancer::Plugin::REST>

=item * L<Dancer::Serializer::Mutable>

=item * L<JSON>

=item * L<XML::Simple>

=item * L<YAML>

=back

=head1 HOMEPAGE

Please visit the project's hom
Acme-CPANModulesBundle-Import-PerlDancerAdvent-2016 ( P/PE/PERLANCAR/Acme-CPANModulesBundle-Import-PerlDancerAdvent-2016-0.001.tar.gz, PERLANCAR, 2018; MetaCPAN )
Acme-CPANModulesBundle-Import-PerlDancerAdvent-2016/lib/Acme/CPANModules/Import/PerlDancerAdvent/2016.pm ( view source; MetaCPAN )
             { module => "HTTP::XSHeaders" },
                   { module => "JSON" },
                   { module => "JSON::MaybeXS" },
                   { module => "Plack::Request" },
            
el::JSON::XS" },
                   { module => "Crypt::URandom" },
                   { module => "EV" },
                   { module => "HTTP::Parser::XS" },
                   { module => "JSON::XS
 "Dancer2::Core::Role::SessionFactory::File" },
                   { module => "Dancer2::Session::JSON" },
                   { module => "Dancer2::Session::YAML" },
                   { module => "Da
Stor ( J/JA/JASEI/Stor-1.5.2.tar.gz, JASEI, 2018; MetaCPAN )
Stor/lib/Stor.pm ( view source; MetaCPAN )
    $self->statsite->increment('success.post.duplicate.count');
        $c->render(status => 200, json => \@paths);
        return
    }

    my $file = $c->req->content->asset;
    my $content_sha = 
        $self->statsite->increment('success.post.write.count');
        $c->render(status => 201, json => $paths);
    }
    catch {
        if ($@->$_isa('failure::stor')) {
            $self->statsi
.json.example:/etc/stor.conf -e CONFIG_FILE=/etc/stor.conf avastsoftware/stor:TAG

=head3 perl way (development)

    #local install dependency
    carton install

    #run
    CONFIG_FILE=config.json
Acme-CPANModulesBundle-Import ( P/PE/PERLANCAR/Acme-CPANModulesBundle-Import-0.001.tar.gz, PERLANCAR, 2018; MetaCPAN )
Acme-CPANModulesBundle-Import/lib/Acme/CPANModules/Import/JSONDecoders.pm ( view source; MetaCPAN )
 Sep 22 06:05:03 2018 from module list in Acme::CPANLists::Import::JSONDecoders version 0.03.

package Acme::CPANModules::Import::JSONDecoders;

our $DATE = '2018-09-22'; # DATE
our $VERSION = '0.001'
d-of-json-decoders] (retrieved on 2016-07-19). For the full article, visit the URL.",
  entries     => [
                   { module => "Benchmark" },
                   { module => "Cpanel::JSON::XS"
                 { module => "JSON" },
                   { module => "JSON::MaybeXS" },
                   { module => "JSON::PP" },
                   { module => "JSON::XS" },
                   { 
RocksDB ( J/JI/JIRO/RocksDB-0.05.tar.gz, JIRO, 2018; MetaCPAN )
RocksDB/vendor/rocksdb/include/rocksdb/utilities/json_document.h ( view source; MetaCPAN )
#include <vector>

#include "rocksdb/slice.h"

// We use JSONDocument for DocumentDB API
// Implementation inspired by folly::dynamic, rapidjson and fbson

namespace fbson {
  class FbsonValue;
  clas


// NOTE: none of this is thread-safe
class JSONDocument {
 public:
  // return nullptr on parse failure
  static JSONDocument* ParseJSON(const char* json);

  enum Type {
    kNull,
    kArray,
    
  /* implicit */ JSONDocument();  // null
  /* implicit */ JSONDocument(bool b);
  /* implicit */ JSONDocument(double d);
  /* implicit */ JSONDocument(int8_t i);
  /* implicit */ JSONDocument(int16_t
RocksDB ( J/JI/JIRO/RocksDB-0.05.tar.gz, JIRO, 2018; MetaCPAN )
RocksDB/vendor/rocksdb/util/event_logger.h ( view source; MetaCPAN )
o>

#include "rocksdb/env.h"
#include "util/log_buffer.h"

namespace rocksdb {

class JSONWriter {
 public:
  JSONWriter() : state_(kExpectKey), first_element_(true), in_array_(false) {
    stream_ <<
tream_.str(); }

  JSONWriter& operator<<(const char* val) {
    if (state_ == kExpectKey) {
      AddKey(val);
    } else {
      AddValue(val);
    }
    return *this;
  }

  JSONWriter& operator<<(

  }

  template <typename T>
  JSONWriter& operator<<(const T& val) {
    assert(state_ != kExpectKey);
    AddValue(val);
    return *this;
  }

 private:
  enum JSONWriterState {
    kExpectKey,
  
Dancer2-Session-DBIC ( H/HO/HORNBURG/Dancer2-Session-DBIC-0.120.tar.gz, HORNBURG, 2018; MetaCPAN )
Dancer2-Session-DBIC/lib/Dancer2/Session/DBIC.pm ( view source; MetaCPAN )
 engine for Dancer2 by serializing the session,
and storing it in a database via L<DBIx::Class>.

JSON was chosen as the default serialization format, as it is fast, terse,
and portable.

=head1 SYNOP
olumn: "my_session_data" # defaults to session_data
          serializer: "YAML"    # defaults to JSON

Or if you are already using L<Dancer2::Plugin::DBIC> and want to use its
existing configuration 
Serializer to use, defaults to JSON.

L<Dancer2::Session::DBIC> provides the following serializer classes:

=over

=item JSON - L<Dancer2::Session::DBIC::Serializer::JSON>

=item Sereal - L<Dancer2::S
Data-Context-BEM ( I/IV/IVANWILLS/Data-Context-BEM-v0.1.1.tar.gz, IVANWILLS, 2018; MetaCPAN )
Data-Context-BEM/lib/Data/Context/BEM.pm ( view source; MetaCPAN )
ext::BEM::Instance;
use Template;
use File::ShareDir qw/module_dir dist_dir/;
use Path::Tiny;
use JSON::XS;

our $VERSION = version->new('0.1.1');

extends 'Data::Context';

has '+action_class' => (
 

}

sub json {
    my ($self, $block) = @_;
    my $json = eval { JSON::XS->new->utf8->relaxed->shrink->encode($block); };
    if ($@) {
        $json = qq/{error:"$@"}/;
    }
    return $json;
}

su
e log file

=head3 C<class ($block)>

Returns the classes for a block.

=head3 C<json ($block)>

Returns the block JSON encoded

=head1 DIAGNOSTICS

=head1 CONFIGURATION AND ENVIRONMENT

=head1 DEPEND
RocksDB ( J/JI/JIRO/RocksDB-0.05.tar.gz, JIRO, 2018; MetaCPAN )
RocksDB/vendor/rocksdb/include/rocksdb/utilities/document_db.h ( view source; MetaCPAN )
tring>
#include <vector>

#include "rocksdb/utilities/stackable_db.h"
#include "rocksdb/utilities/json_document.h"
#include "rocksdb/db.h"

namespace rocksdb {

// IMPORTANT: DocumentDB is a work in p
p of RocksDB that provides a very simple JSON API.
// When creating a DB, you specify a list of indexes you want to keep on your
// data. You can insert a JSON document to the DB, which is automatical
d and is an unique primary key. All other indexes are
// non-unique.

// NOTE: field names in the JSON are NOT allowed to start with '$' or
// contain '.'. We don't currently enforce that rule, but wi
RocksDB ( J/JI/JIRO/RocksDB-0.05.tar.gz, JIRO, 2018; MetaCPAN )
RocksDB/vendor/rocksdb/third-party/fbson/FbsonUtil.h ( view source; MetaCPAN )
/*
 * FbsonToJson converts an FbsonValue object to a JSON string.
 */
class FbsonToJson {
 public:
  FbsonToJson() : os_(buffer_, OUT_BUF_SIZE) {}

  // get json string
  const char* json(const FbsonV
0);

    if (pval) {
      intern_json(pval);
    }

    os_.put(0);
    return os_.getBuffer();
  }

 private:
  // recursively convert FbsonValue
  void intern_json(const FbsonValue* val) {
    swit
    }
    case FbsonType::T_Object: {
      object_to_json((ObjectVal*)val);
      break;
    }
    case FbsonType::T_Array: {
      array_to_json((ArrayVal*)val);
      break;
    }
    default:
    
RocksDB ( J/JI/JIRO/RocksDB-0.05.tar.gz, JIRO, 2018; MetaCPAN )
RocksDB/vendor/rocksdb/third-party/fbson/FbsonJsonParser.h ( view source; MetaCPAN )
* This file defines FbsonJsonParserT (template) and FbsonJsonParser.
 *
 * FbsonJsonParserT is a template class which implements a JSON parser.
 * FbsonJsonParserT parses JSON text, and serialize it t
o FBSON binary format
 * by using FbsonWriterT object. By default, FbsonJsonParserT creates a new
 * FbsonWriterT object with an output stream object.  However, you can also
 * pass in your FbsonWrite
h).
 *
 * FbsonJsonParser specializes FbsonJsonParserT with FbsonOutStream type (see
 * FbsonStream.h). So unless you want to provide own a different output stream
 * type, use FbsonJsonParser object.
JavaScript-Duktape ( M/MA/MAMOD/JavaScript-Duktape-2.5.0.tar.gz, MAMOD, 2018; MetaCPAN )
JavaScript-Duktape/lib/JavaScript/Duktape.pm ( view source; MetaCPAN )
'JavaScript::Duktape::Bool'  => 1,
    'boolean'                    => 1,
    'JSON::PP::Boolean'          => 1,
    'JSON::Tiny::_Bool'          => 1,
    'Data::MessagePack::Boolean' => 1
};

BEGIN 
 'JavaScript::Duktape::Bool';
    }

    sub true  { $true }
    sub false { $false }

    sub TO_JSON { ${$_[0]} ? \1 : \0 }
}

package JavaScript::Duktape::NULL;
{
    use warnings;
    use strict;

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