Rework ::XS serializer and deserializer classes
[catagits/Catalyst-Action-REST.git] / lib / Catalyst / Action / Serialize / JSON / XS.pm
index 6f8f1e0..e60c269 100644 (file)
@@ -6,12 +6,9 @@ use namespace::autoclean;
 extends 'Catalyst::Action::Serialize::JSON';
 use JSON::XS ();
 
-our $VERSION = '0.86';
+our $VERSION = '1.00';
 $VERSION = eval $VERSION;
 
-sub _build_encoder {
-   my $self = shift;
-   return JSON::XS->new->convert_blessed;
-}
+__PACKAGE__->meta->make_immutable;
 
 1;