Group
Extension

Matches 35358

Neo4j-Driver ( A/AJ/AJNN/Neo4j-Driver-1.02.tar.gz, AJNN, 2024; MetaCPAN )
Neo4j-Driver/lib/Neo4j/Driver.pm ( view source; MetaCPAN )
tions will use B<Jolt> (JSON Bolt) when offered by the server.
For older Neo4j servers (before S<version 4.2>), the driver
will automatically fall back to slower REST-style JSON.

The driver also supp
Neo4j-Driver ( A/AJ/AJNN/Neo4j-Driver-1.02.tar.gz, AJNN, 2024; MetaCPAN )
Neo4j-Driver/lib/Neo4j/Driver/Result.pm ( view source; MetaCPAN )
elf->{attached} = $fake_attached;
	return $self if $fake_attached;  # (only used in testing)
	
	# JSON results are completely available immediately and can be fully
	# buffered right away, avoiding th
lf) = @_;
	
	# simulate a JSON-backed result stream (only used in testing, $fake_attached 1)
	$self->{json_cursor} //= 0;
	my $record = $self->{result}->{data}->[ $self->{json_cursor}++ ];
	return und
 ge v5.36 ) {
		return builtin::false(), builtin::true();
	}
	else {
		require JSON::PP;
		return JSON::PP::false(), JSON::PP::true();
	}
}


1;

__END__

=pod

=encoding UTF-8

=head1 NAME

Neo4j::Dr
Daje-Plugin-GenerateSQL ( J/JA/JANESKIL/Tools/Daje-Plugin-GenerateSQL-0.03.tar.gz, JANESKIL, 2024; MetaCPAN )
Daje-Plugin-GenerateSQL/lib/Daje/Plugin/SQL/Script/Sql.pm ( view source; MetaCPAN )
y $sql = "";
    my $json = $self->json->{sql};
    my $length = scalar @{$json};
    for (my $i = 0; $i < $length; $i++) {
        my $type = $self->template->get_section(@{$json}[$i]->{type});
     
f->tablename()/ig;
                $template =~ s/<<fields>>/@{$json}[$i]->{fields}/ig;
                $template =~ s/<<values>>/@{$json}[$i]->{values}/ig;
            }
            default { $templa
Neo4j-Driver ( A/AJ/AJNN/Neo4j-Driver-1.02.tar.gz, AJNN, 2024; MetaCPAN )
Neo4j-Driver/lib/Neo4j/Driver/Events.pm ( view source; MetaCPAN )
@CARP_NOT = qw(
	Neo4j::Driver::Result::Bolt
	Neo4j::Driver::Result::Jolt
	Neo4j::Driver::Result::JSON
	Neo4j::Driver::Result::Text
);

use Scalar::Util qw(weaken);


our $STACK_TRACE = 0;  # die with
App-Chart ( K/KR/KRYDE/App-Chart-275.tar.gz, KRYDE, 2024; MetaCPAN )
App-Chart/unused/Yahoo-v7.pm ( view source; MetaCPAN )
Data Format:
#
# Each of these methods can apparently return results in either CSV or
# JSON format.
#
# The JSON form, maybe CSV too, has prices put through
# single-precision floats, ie. 24 bit mant
o.com/v1/finance/search?q=CSCO&enableFuzzyQuery=false
# 
# which is a JSON format of various company information etc.
# 
# The JSON looks like
#     {"explains":[],
#      "count":7,
#      "quotes":[
;
  my $h = { source    => __PACKAGE__,
            info      => \@info };
  require JSON;
  my $J = JSON::from_json($content) // {};
  my $quotes = $J->{'quotes'} // [];
  if (my $e = $quotes->[0]) {
Authen-WebAuthn ( M/MB/MBESSON/Authen-WebAuthn-0.005.tar.gz, MBESSON, 2024; MetaCPAN )
Authen-WebAuthn/lib/Authen/WebAuthn.pm ( view source; MetaCPAN )
 warnings;
use Mouse;
use MIME::Base64 qw(encode_base64url decode_base64url);
use JSON qw(decode_json from_json to_json);
use Digest::SHA qw(sha256);
use Crypt::PK::ECC;
use Crypt::PK::RSA;
use Crypt:
%params ) = @_;

    my (
        $challenge_b64,             $requested_uv,
        $client_data_json_b64,      $attestation_object_b64,
        $token_binding_id_b64,      $trust_anchors,
        $a
t,
      )
      = @params{ qw(
          challenge_b64        requested_uv
          client_data_json_b64 attestation_object_b64
          token_binding_id_b64 trust_anchors
          allowed_attesta
Neo4j-Driver ( A/AJ/AJNN/Neo4j-Driver-1.02.tar.gz, AJNN, 2024; MetaCPAN )
Neo4j-Driver/lib/Neo4j/Driver/Result/Bolt.pm ( view source; MetaCPAN )
j::Driver::Net::Bolt;


our $gather_results = 0;  # 1: detach from the stream immediately (yields JSON-style result; used for testing)


sub new {
	# uncoverable pod (private method)
	my ($class, $par
Neo4j-Driver ( A/AJ/AJNN/Neo4j-Driver-1.02.tar.gz, AJNN, 2024; MetaCPAN )
Neo4j-Driver/lib/Neo4j/Driver/Net/HTTP/LWP.pm ( view source; MetaCPAN )
se JSON::MaybeXS 1.003003 qw();
use LWP::UserAgent 6.04 qw();
use URI 1.31;

my $CONTENT_TYPE = 'application/json';


sub new {
	my ($class, $driver) = @_;
	
	my $self = bless {
		json_coder => JSON::
;
	}
	
	return $self;
}


sub ua { shift->{agent} }

sub uri { shift->{uri_base} }

sub json_coder { shift->{json_coder} }

sub http_reason { shift->{response}->message // '' }

sub date_header { scal
{
	my ($self, $method, $url, $json, $accept, $mode) = @_;
	
	$self->{buffer} = undef;
	
	$url = URI->new_abs( $url, $self->{uri_base} );
	$method = lc $method;
	if ($json) {
		$self->{response} = $sel
Neo4j-Driver ( A/AJ/AJNN/Neo4j-Driver-1.02.tar.gz, AJNN, 2024; MetaCPAN )
Neo4j-Driver/lib/Neo4j/Driver/Result/Jolt.pm ( view source; MetaCPAN )
lt';

use Carp qw(croak);
our @CARP_NOT = qw(Neo4j::Driver::Net::HTTP Neo4j::Driver::Result);
use JSON::MaybeXS 1.002004 ();

use Neo4j::Driver::Type::Bytes;
use Neo4j::Driver::Type::DateTime;
use Neo
= "$MEDIA_TYPE-v2+json-seq";
my $ACCEPT_HEADER_V1 = "$MEDIA_TYPE+json-seq";
my $ACCEPT_HEADER_STRICT = "$MEDIA_TYPE+json-seq;strict=true";
my $ACCEPT_HEADER_SPARSE = "$MEDIA_TYPE+json-seq;strict=false
";
my $ACCEPT_HEADER_NDJSON = "$MEDIA_TYPE";

my @CYPHER_TYPES = (
	{  # Types with legacy numeric ID (Jolt v1)
		node => 'Neo4j::Driver::Type::V1::Node',
		relationship => 'Neo4j::Driver::Type::V1::R
Neo4j-Driver ( A/AJ/AJNN/Neo4j-Driver-1.02.tar.gz, AJNN, 2024; MetaCPAN )
Neo4j-Driver/lib/Neo4j/Driver/Plugin.pm ( view source; MetaCPAN )
b/Neo4j/Driver/Net.pod>
for more information.

 $adapter->request('GET', '/', undef, 'application/json');
 $status  = $adapter->http_header->{status};
 $type    = $adapter->http_header->{content_type}
st.

A future version of this driver will likely replace this method
with something that performs JSON decoding on the event before
returning it; this change may allow for better optimisation of
Jolt 
ders and status of the last response.

=over

=item * C<content_type> – S<e. g.> C<"application/json">

=item * C<location> – URI reference

=item * C<status> – status code, S<e. g.> C<"404">

=
Daje-Plugin-GenerateSQL ( J/JA/JANESKIL/Tools/Daje-Plugin-GenerateSQL-0.03.tar.gz, JANESKIL, 2024; MetaCPAN )
Daje-Plugin-GenerateSQL/lib/Daje/Plugin/SQL/Base/Common.pm ( view source; MetaCPAN )
package Daje::Plugin::SQL::Base::Common;
use Mojo::Base -base, -signatures;

has 'json';
has 'template';
has 'sql';
has 'index';
has 'version';

our $VERSION = "0.01";

sub shift_section ($self, $arra
Neo4j-Driver ( A/AJ/AJNN/Neo4j-Driver-1.02.tar.gz, AJNN, 2024; MetaCPAN )
Neo4j-Driver/lib/Neo4j/Driver/Net/HTTP.pm ( view source; MetaCPAN )


use Neo4j::Driver::Net::HTTP::Tiny;
use Neo4j::Driver::Result::Jolt;
use Neo4j::Driver::Result::JSON;
use Neo4j::Driver::Result::Text;
use Neo4j::Driver::ServerInfo;


my $DISCOVERY_ENDPOINT = '/';
ENDPOINT = 'commit';

my @RESULT_MODULES = qw( Neo4j::Driver::Result::Jolt Neo4j::Driver::Result::JSON );
my $RESULT_FALLBACK = 'Neo4j::Driver::Result::Text';

my $RFC5322_DATE = '%a, %d %b %Y %H:%M:%
ransaction_endpoint => shift @discovery_queue,
		};
		my $service = $self->_request($tx, 'GET')->_json;
		
		$neo4j_version = $service->{neo4j_version};
		$tx_endpoint = $service->{transaction};
		las
Daje-Plugin-GenerateSchema ( J/JA/JANESKIL/Tools/Daje-Plugin-GenerateSchema-0.01.tar.gz, JANESKIL, 2024; MetaCPAN )
Daje-Plugin-GenerateSchema/lib/Daje/Plugin/GenerateSchema.pm ( view source; MetaCPAN )
jo::JSON qw{to_json};
use Daje::Plugin::Schema::Create;
use Mojo::Pg;

sub process ($self) {
    $self->_load_config();
    my $schema = $self->_load_db_schema();
    my $json = $self->_build_json($sc
hema);
    $self->_save_json($json);

    return 1;
}

sub _load_db_schema($self) {
    my $connection = $self->config->{DATABASE}->{connection};
    my $pg = Mojo::Pg->new->dsn($connection);

    my 
'public');

    return $dbschema;
}

sub _build_json($self, $schema) {
    my $json = to_json($schema);

    return $json;
}

sub _save_json($self, $json) {

    my $path = $self->config->{DATABASE}->
Daje-Plugin-GeneratePerl ( J/JA/JANESKIL/Tools/Daje-Plugin-GeneratePerl-0.03.tar.gz, JANESKIL, 2024; MetaCPAN )
Daje-Plugin-GeneratePerl/lib/Daje/Plugin/GeneratePerl.pm ( view source; MetaCPAN )
eratePerl;
use Mojo::Base 'Daje::Plugin::Base::Perl::Common', base, -signatures;

use Mojo::JSON qw{from_json};
use Mojo::File;
use Daje::Plugin::Perl::Manager;

# NAME
# ====
#
# Daje::Plugin::Genera
ub process($self) {
    $self->_load_config();
    my $json = $self->_get_json();
    $self->_create_perl($json);
}

sub _create_perl($self, $json) {
    my $template = $self->_load_templates(
       
plate,
        json        => $json,
    )->generate_classes();

    return $manager->success()
}

sub _get_json($self) {
    my $path = $self->config->{PATH}->{schema_dir};
    my $json_txt = Mojo::F
Neo4j-Driver ( A/AJ/AJNN/Neo4j-Driver-1.02.tar.gz, AJNN, 2024; MetaCPAN )
Neo4j-Driver/jolt.pl ( view source; MetaCPAN )
 ref($v) if ref($v);
	$t .= " (core bool)" if builtin::is_bool($v);
	$t .= " \\$v" if ref($v) eq 'JSON::PP::Boolean';
	$t .= " " . $v->type if blessed $v && $v->isa('Neo4j::Types::DateTime');
	$t .= s
URN n.test')->single->get;
# Byte array in JSON:
# { meta => [undef], rest => [[70, 111, 111]], row => [[70, 111, 111]] }
#   at lib/Neo4j/Driver/Result/JSON.pm line 139
# Byte array in Jolt:
# { "#" 
cert');  # 4
my $m = Neo4j::Driver::Net::HTTP::AnyEvent->new($d);

my $type;
$type = 'application/json';
#$type = 'text/html';
$m->request('GET', 'http://localhost:7474/', undef, $type);
YYY $m->http_
App-Chart ( K/KR/KRYDE/App-Chart-275.tar.gz, KRYDE, 2024; MetaCPAN )
App-Chart/unused/YahooOld.pm ( view source; MetaCPAN )
.com
#
# and contains buried within 1.5 mbytes of hideous script
#
#    <script type="application/json" data-sveltekit-fetched data-url="https://query1.finance.yahoo.com/v1/test/getcrumb?lang=en-US&am
te,Stock Splits
#     2017-05-22,1/5
#
#----------------
# For reference, there's a "v8" which is json format (%7C = "|")
#
#     https://query2.finance.yahoo.com/v8/finance/chart/IBM?formatted=true&l
App-Chart ( K/KR/KRYDE/App-Chart-275.tar.gz, KRYDE, 2024; MetaCPAN )
App-Chart/misc/t-nz.pl ( view source; MetaCPAN )
sep18.html");
  # new sep 24
  my $content = slurp ("$ENV{HOME}/chart/samples/nzx/dividends-sep24-json.html");

  my $resp = HTTP::Response->new
    (200, 'OK',
     ['Content-Type' => 'text/html; cha
App-Chart ( K/KR/KRYDE/App-Chart-275.tar.gz, KRYDE, 2024; MetaCPAN )
App-Chart/misc/t-yahoo.pl ( view source; MetaCPAN )
ited recent data)
#


{
  # json v7 latest parse

  my $filename = "$ENV{HOME}/chart/samples/yahoo/GXY-v7.json";
  $filename = "$ENV{HOME}/chart/samples/yahoo/NOSUCH-v7.json";
  $filename = "$ENV{HOME
SPC-v7.json";
  $filename = "$ENV{HOME}/chart/samples/yahoo/RMX-v7.json";
  $filename = "$ENV{HOME}/chart/samples/yahoo/SCG-v7.json";
  $filename = "$ENV{HOME}/chart/samples/yahoo/WDC.AX-v7.json";
  $
 my $decoded = JSON::from_json($content);
  print JSON->new->pretty->encode($decoded);
  exit 0;
}
{
  # v1 info parse
  my $filename = "$ENV{HOME}/chart/samples/yahoo/v1-info-CSCO.json";
  $filename 
Authen-WebAuthn ( M/MB/MBESSON/Authen-WebAuthn-0.005.tar.gz, MBESSON, 2024; MetaCPAN )
Authen-WebAuthn/lib/Authen/WebAuthn/Test.pm ( view source; MetaCPAN )
e Digest::SHA qw(sha256);
use Crypt::PK::ECC;
use Hash::Merge::Simple qw/merge/;
use JSON qw(encode_json decode_json);
use Authen::WebAuthn;
use utf8;

has origin => ( is => 'rw' );
has rp_id  => ( is
clientDataJSON
    if ( $credential->{response}->{clientDataJSON} ) {
        $credential->{response}->{clientDataJSON} =
          encode_base64url( $credential->{response}->{clientDataJSON} );
    }
d} ) {
        $credential->{rawId} = encode_base64url( $credential->{rawId} );
    }

    return JSON->new->utf8->pretty->encode($credential);
}

sub encode_cosekey {

    my ($self) = @_;

    my $k
Daje-Plugin-GenerateSQL ( J/JA/JANESKIL/Tools/Daje-Plugin-GenerateSQL-0.03.tar.gz, JANESKIL, 2024; MetaCPAN )
Daje-Plugin-GenerateSQL/lib/Daje/Plugin/Output/Table.pm ( view source; MetaCPAN )
nfig->{PATH}->{sql_target_dir} . Mojo::File->new($self->file)->basename();
        $filename =~ s/json/sql/ig;
    };
    die "create_new_filename failed '$@'" if $@;

    return $filename;
}
1;

####

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