ct;
use utf8;
use Carp qw[carp croak];
use Data::UUID;
use Digest::MD5 qw[md5_hex];
use DBI;
use JSON qw[];
use overload qw[];
use RDF::Trine qw[statement blank literal];
use RDF::Trine::Namespace qw
my $rv;
unless ($options{no_json})
{
my $json = $self->to_json(canonical=>1, pretty=>1);
$json =~ s/^/# /gm;
$json = "# MAPPING\n#\n${json}\n";
$rv .= $json;
}
$rv .= $self->SUPER::pro
) },
};
}
*TO_JSON = \&to_hashref;
sub to_json
{
my ($self, %opts) = (exists $_[1] and ref $_[1] eq 'HASH') ? ($_[0], %{ $_[1] }) : @_;
$opts{convert_blessed} = 1;
JSON::to_json($self, {%opts})