Group
Extension

Matches 1

DBIx-JSON ( Y/YO/YOSTY/DBIx-JSON-0.05.tar.gz, YOSTY, 2018; MetaCPAN )
DBIx-JSON/lib/DBIx/JSON.pm ( view source; MetaCPAN )
package DBIx::JSON;

use warnings;
use strict;

=head1 NAME

DBIx::JSON - JSON serialization plugin for DBIx

=head1 DESCRIPTION

This module is a DBIx extension to fetch data in JSON format from 
dat
Ix::JSON->new( $dsn, "mysql", $dbusername, $dbpasswd )
        ->do_select("select * from table;")->get_json;

    or

    my $dsn = "dbname=$dbname;host=$host;port=$port";
    my $obj = DBIx::JSON->n
n1", 1);
    $obj->err && die $obj->errstr;
    print $obj->get_json;

=head1 EXPORT

None.

=cut

use DBI 1.15 ();
use Carp ();
use JSON::Syck;

sub new {
    my $class = shift;
    my $self  = {};
 

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