use namespace::autoclean;
extends 'Catalyst::Action';
-use JSON ();
-
-our $VERSION = '0.81';
-$VERSION = eval $VERSION;
+use JSON::MaybeXS qw(JSON);
has encoder => (
is => 'ro',
$self->encoder->encode( $data );
}
+__PACKAGE__->meta->make_immutable;
+
1;