NAME
DBIx::DataModel::Schema::ResultAs::Json - result in JSON format
SYNOPSIS
$source->select(..., $result_as => 'json');
# or
$source->select(..., $result_as => [json => %json_options]);
DESCRIPTION
Converts all rows to JSON format, using JSON::MaybeXS. Default options to the JSON converter are
pretty => 1,
allow_blessed => 1,
convert_blessed => 1,
but they can be overridden by passing a non-empty hash as argument to the constructor.