package DBIx::Class::Helper::Row::ToJSON;
$DBIx::Class::Helper::Row::ToJSON::VERSION = '2.037000';
# ABSTRACT: Remove the boilerplate from your TO_JSON functions
use strict;
use warnings;
use parent
$self->result_source->columns
]);
}
return $self->_serializable_columns;
}
sub TO_JSON {
my $self = shift;
my $columns_info = $self->columns_info($self->serializable_columns);
e_data_types;
}
1;
__END__
=pod
=head1 NAME
DBIx::Class::Helper::Row::ToJSON - Remove the boilerplate from your TO_JSON functions
=head1 SYNOPSIS
package MyApp::Schema::Result::KittenRobot;