Group
Extension

Matches 35358

Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/blib/lib/App/Yath/Schema/Overlay/Event.pm ( view source; MetaCPAN )
nflate => DBIx::Class::InflateColumn::Serializer::JSON->get_unfreezer('rendered', {}),
        deflate => DBIx::Class::InflateColumn::Serializer::JSON->get_freezer('rendered', {}),
    },
);

__PACKAG
inflate => DBIx::Class::InflateColumn::Serializer::JSON->get_unfreezer('facets', {}),
        deflate => DBIx::Class::InflateColumn::Serializer::JSON->get_freezer('facets', {}),
    },
);

sub run  { 
 = shift;
    return App::Yath::Schema::ImportModes::event_in_mode(event => $self, @_);
}

sub TO_JSON {
    my $self = shift;
    my %cols = $self->get_all_fields;
    return \%cols;
}

sub st_line_d
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/blib/lib/App/Yath/Schema/SQLite/SourceFile.pm ( view source; MetaCPAN )
onents(
  "InflateColumn::DateTime",
  "InflateColumn::Serializer",
  "InflateColumn::Serializer::JSON",
);
__PACKAGE__->table("source_files");
__PACKAGE__->add_columns(
  "source_file_id",
  { data_t
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/blib/lib/App/Yath/Schema/SQLite/Permission.pm ( view source; MetaCPAN )
onents(
  "InflateColumn::DateTime",
  "InflateColumn::Serializer",
  "InflateColumn::Serializer::JSON",
);
__PACKAGE__->table("permissions");
__PACKAGE__->add_columns(
  "permission_id",
  { data_typ
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/blib/lib/App/Yath/Schema/SQLite/Version.pm ( view source; MetaCPAN )
onents(
  "InflateColumn::DateTime",
  "InflateColumn::Serializer",
  "InflateColumn::Serializer::JSON",
);
__PACKAGE__->table("versions");
__PACKAGE__->add_columns(
  "version_id",
  { data_type => "
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/blib/lib/App/Yath/Schema/SQLite/TestFile.pm ( view source; MetaCPAN )
onents(
  "InflateColumn::DateTime",
  "InflateColumn::Serializer",
  "InflateColumn::Serializer::JSON",
);
__PACKAGE__->table("test_files");
__PACKAGE__->add_columns(
  "test_file_id",
  { data_type 
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/blib/lib/App/Yath/Renderer/Default.pm ( view source; MetaCPAN )
::Harness::Util qw/hub_truth apply_encoding mod2file fqmod/;
use Test2::Harness::Util::JSON qw/encode_pretty_json/;

use File::Spec();
use IO::Handle;
use Scalar::Util qw/blessed/;
use Storable qw/dcl
sh @{$f->{info}} => {
            tag       => 'RUN INFO',
            details   => encode_pretty_json($run),
        };
    }

    if ($self->{+SHOW_RUN_FIELDS}) {
        if (my $fields = $f->{harne
fo}} => {
                    tag     => 'RUN  FLD',
                    details => encode_pretty_json($field),
                };
            }
        }
    }

    if ($f->{harness_job_launch}) {
  
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/blib/lib/App/Yath/Server/Controller/Lookup.pm ( view source; MetaCPAN )
h::Util qw/share_dir/;
use App::Yath::Schema::Util qw/find_job/;
use Test2::Harness::Util::JSON qw/encode_json/;


use parent 'App::Yath::Server::Controller';
use Test2::Harness::Util::HashBase qw/-ti
out;

    $res->stream(
        env          => $req->env,
        content_type => 'application/x-jsonl; charset=utf-8',

        done => sub {
            return 0 if @out;
            return 0 if @s
 $run = $rs->find_by_id_or_uuid($lookup);

    return () unless $run;
    return (
        encode_json({type => 'run', data => $run }) . "\n",
    );
}

sub lookup_job {
    my $self = shift;
    my (
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/blib/lib/App/Yath/Renderer/Notify.pm ( view source; MetaCPAN )
::Notify;
use strict;
use warnings;

our $VERSION = '2.000004';

use Test2::Harness::Util::JSON qw/encode_json/;
use Test2::Harness::Util qw/mod2file/;

use Sys::Hostname qw/hostname/;

use Carp qw/cr
rl,
            {
                headers => {'content-type' => 'application/json'},
                content => encode_json({channel => $dest, text => $text}),
            },
        );
        warn "
Cache-FastMmap ( R/RO/ROBM/Cache-FastMmap-1.60.tar.gz, ROBM, 2025; MetaCPAN )
Cache-FastMmap/lib/Cache/FastMmap.pm ( view source; MetaCPAN )
alues are:

  ''         for none
  'storable' for 'Storable'
  'sereal'   for 'Sereal'
  'json'     for 'JSON'
  [ $s, $d ] for custom serializer/de-serializer

If this parameter has a value the modu
 eq 'json') {
      eval "require JSON;"
        || die "Could not load serialization package: JSON : $@";
      my $JSON = JSON->new->utf8->allow_nonref;
      $Self->{serialize}   = sub { $JSON->enc
ode(${$_[0]}); };
      $Self->{deserialize} = sub { \$JSON->decode($_[0]); };
    } else {
      die "Unrecognized value >$serializer< for `serializer` parameter";
    }
  }

  # Compress stored valu
JMAP-Tester ( R/RJ/RJBS/JMAP-Tester-0.104.tar.gz, RJBS, 2025; MetaCPAN )
JMAP-Tester/lib/JMAP/Tester/Role/SentenceCollection.pm ( view source; MetaCPAN )
 for my $m (qw(
    client_ids_for_items
    sentence_for_item
    paragraph_for_items

    strip_json_types

    abort
  )) {
    my $sub = sub {
      my $self = shift;
      $self->sentence_broker-
he data returned by the
#pod JMAP server.  With C<as_triples>, some of the JSON data may be in objects
#pod provided by L<JSON::Typist>. If you'd prefer raw data, use the
#pod C<as_stripped_triples> f
le }
    $self->items
  ];
}

sub as_stripped_triples {
  my ($self) = @_;

  return $self->strip_json_types($self->as_triples);
}

#pod =method as_pairs
#pod
#pod =method as_stripped_pairs
#pod
#pod 
JMAP-Tester ( R/RJ/RJBS/JMAP-Tester-0.104.tar.gz, RJBS, 2025; MetaCPAN )
JMAP-Tester/lib/JMAP/Tester/Response/Sentence/Set.pm ( view source; MetaCPAN )
  $self->_strip_json_types( $self->create_errors )
    );
  }

  if (keys %{ $self->update_errors }) {
    push @errors, "notUpdated: " .  Data::Dumper::Dumper(
      $self->_strip_json_types( $self->
stroy_errors }) {
    push @errors, "notDestroyed: " .  Data::Dumper::Dumper(
      $self->_strip_json_types( $self->destroy_errors )
    );
  }

  return $self unless @errors;

  $self->sentence_brok
JMAP-Tester ( R/RJ/RJBS/JMAP-Tester-0.104.tar.gz, RJBS, 2025; MetaCPAN )
JMAP-Tester/lib/JMAP/Tester/Role/SentenceBroker.pm ( view source; MetaCPAN )
nt_ids_for_items';
requires 'sentence_for_item';
requires 'paragraph_for_items';

requires 'strip_json_types';

requires 'abort';

1;

__END__

=pod

=encoding UTF-8

=head1 NAME

JMAP::Tester::Role::
ClearPress ( R/RP/RPETTETT/ClearPress-v2025.6.7.tar.gz, RPETTETT, 2025; MetaCPAN )
ClearPress/lib/ClearPress/controller.pm ( view source; MetaCPAN )
'  => q[_jpg]},
	  {'.rss'  => q[_rss]},
	  {'.atom' => q[_atom]},
	  {'.js'   => q[_json]},
	  {'.json' => q[_json]},
	  {'.ical' => q[_ical]},
	  {'.txt'  => q[_txt]},
	  {'.xls'  => q[_xls]},
	  {'
,
	 ];
}

sub accept_headers {
  return [
#	  {'text/html'        => q[]},
	  {'application/json' => q[_json]},
	  {'text/xml'         => q[_xml]},
	 ];
}

sub new {
  my ($class, $self) = @_;
  $self
ceptedExtensions = $oController->accept_extensions();

 [
  {'.ext' => '_aspect'},
  {'.js'  => '_json'},
 ]

=head2 accept_headers - data structure of accept_header-to-aspect mappings  (e.g. 'text/xm
JMAP-Tester ( R/RJ/RJBS/JMAP-Tester-0.104.tar.gz, RJBS, 2025; MetaCPAN )
JMAP-Tester/lib/JMAP/Tester/UA/LWP.pm ( view source; MetaCPAN )
serAgent->new;
    $lwp->cookie_jar({});

    $lwp->default_header('Content-Type' => 'application/json');

    if ($ENV{IGNORE_INVALID_CERT}) {
      $lwp->ssl_opts(SSL_verify_mode => 0, verify_hostna
ClearPress ( R/RP/RPETTETT/ClearPress-v2025.6.7.tar.gz, RPETTETT, 2025; MetaCPAN )
ClearPress/lib/ClearPress/model.pm ( view source; MetaCPAN )
(PL);
use Lingua::EN::PluralToSingular qw(to_singular);
use POSIX qw(strftime);
use Readonly;
use JSON;

our $VERSION = q[2025.06.07];

Readonly::Scalar our $DBI_CACHE_OVERWRITE => 3;

our $EXPERIMENT

}

sub as_json {
  my ($self, $cb) = @_;
#  $self->read;
  my $obj = {
             map { $_ => $self->{$_} } ($self->fields)
            };
  if($cb) {
    $cb->($obj);
  }

  return JSON->new->enco
:SS for gmtime

  my $sISODate = $oModel->isodate();

=head2 as_json - JSON representation of this object

  my $sJSON = $oModel->as_json();

=head2 as_xml - XML representation of this object

  my $o
ClearPress ( R/RP/RPETTETT/ClearPress-v2025.6.7.tar.gz, RPETTETT, 2025; MetaCPAN )
ClearPress/lib/ClearPress/view.pm ( view source; MetaCPAN )
ML::Simple qw(XMLin);
use utf8;
use ClearPress::Localize;
use MIME::Base64 qw(encode_base64);
use JSON;
use Readonly;

our $VERSION = q[2025.06.07];

our $DEBUG_OUTPUT        = 0;
our $DEBUG_L10N     
s|atom|ajax|xml)$/smx)?'text/xml':q[];
  $self->{content_type} ||= ($aspect =~ /(?:js|json)$/smx)?'application/json':q[];
  $self->{content_type} ||= ($aspect =~ /_svg$/smx)?'image/svg+xml':q[];
  $se
);

  if($reqdata) {
    utf8::decode($reqdata);
    eval {
      my $json = JSON->new->utf8;
      eval {
        $params = $json->decode($reqdata);
        1;

      } or do {
        $params = XMLi
JMAP-Tester ( R/RJ/RJBS/JMAP-Tester-0.104.tar.gz, RJBS, 2025; MetaCPAN )
JMAP-Tester/lib/JMAP/Tester/Response/Sentence.pm ( view source; MetaCPAN )
 sentence_broker => (is => 'ro', required => 1);

sub _strip_json_types {
  my ($self, $whatever) = @_;
  $self->sentence_broker->strip_json_types($whatever);
}

#pod =method as_triple
#pod
#pod =meth
od as_stripped_triple
#pod
#pod C<as_triple> returns the underlying JSON data of the sentence, which may
#pod include objects used to convey type information for booleans, strings, and
#pod numbers.
#
 $_[0]->arguments, $_[0]->client_id ] }

sub as_stripped_triple {
  $_[0]->sentence_broker->strip_json_types($_[0]->as_triple);
}

#pod =method as_pair
#pod
#pod =method as_stripped_pair
#pod
#pod C<a
App-orgadb ( P/PE/PERLANCAR/App-orgadb-0.020.tar.gz, PERLANCAR, 2025; MetaCPAN )
App-orgadb/lib/App/orgadb/Select/Shell/Commands.pm ( view source; MetaCPAN )
ne option. An example (the lines below are writen in configuration
file in IOD syntax, as rows of JSON hashes):

 ; remove all comments in field values when 'hide_field_name' option is set
 ; (which u
, {ARG1NAME => ARG1VAL, ...}]

If formatter name begins with C<[> character, it will be parsed as JSON. Example:

 ['Str::remove_comment', {'style':'cpp'}]

Note that this option overrides C<--field-v
Travel-Status-MOTIS ( D/DE/DERF/Travel-Status-MOTIS-0.03.tar.gz, DERF, 2025; MetaCPAN )
Travel-Status-MOTIS/lib/Travel/Status/MOTIS/TripAtStopover.pm ( view source; MetaCPAN )
 = @_;

	my $json      = $opt{json};
	my $time_zone = $opt{time_zone};

	my $ref = {
		id               => $json->{tripId},
		mode             => $json->{mode},
		agency           => $json->{agencyNam
       => $json->{routeShortName},
		route_color      => $json->{routeColor},
		route_text_color => $json->{routeTextColor},
		headsign         => $json->{headsign},

		is_cancelled => $json->{cancell
$json->{realTime},

		stopover => Travel::Status::MOTIS::Stopover->new(
			json => $json->{place},

			# NOTE: $json->{place}->{cancelled} isn't set, we just override this here.
			cancelled => $json-
Travel-Status-MOTIS ( D/DE/DERF/Travel-Status-MOTIS-0.03.tar.gz, DERF, 2025; MetaCPAN )
Travel-Status-MOTIS/lib/Travel/Status/MOTIS.pm ( view source; MetaCPAN )
 Carp qw(confess);
use DateTime;
use DateTime::Format::ISO8601;
use Encode qw(decode encode);
use JSON;

use LWP::UserAgent;

use URI;

use Travel::Status::MOTIS::Services;
use Travel::Status::MOTIS::
p_id / trip_id / stops_by_coordinate / stops_by_query must be specified'
		);
	}

	my $json = $self->{json} = JSON->new->utf8;

	$request_url
	  = $request_url->abs( $motis_instance->{$service}{endpoi
nc} ) {
		$self->{request_url} = $request_url;
		return $self;
	}

	if ( $conf{json} ) {
		$self->{raw_json} = $conf{json};
	}
	else {
		if ( $self->{developer_mode} ) {
			say "requesting $request_ur

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