Add new serializer for JSON::XS
[catagits/Catalyst-Action-REST.git] / lib / Catalyst / Action / Deserialize.pm
index ed584c6..9daf029 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Catlyst::Action::Deserialize
-# Created by: Adam Jacob, Marchex, <adam@marchex.com>
+# Created by: Adam Jacob, Marchex, <adam@hjksolutions.com>
 #
 # $Id$
 
@@ -11,6 +11,7 @@ use warnings;
 
 use base 'Catalyst::Action::SerializeBase';
 use Module::Pluggable::Object;
+use MRO::Compat;
 
 __PACKAGE__->mk_accessors(qw(plugins));
 
@@ -38,7 +39,7 @@ sub execute {
         }
     }
 
-    $self->NEXT::execute(@_);
+    $self->maybe::next::method(@_);
 
     return 1;
 }