Substitute broken JSON::XS with Cpanel::JSON::XS
[freeside.git] / FS / FS / Mason.pm
index 60e3779..76c3000 100644 (file)
@@ -77,7 +77,8 @@ if ( -e $addl_handler_use_file ) {
   use HTML::TableExtract qw(tree);
   use HTML::FormatText;
   use HTML::Defang;
-  use JSON::XS;
+#  use JSON::XS;        ! Maintainers deployed app-breaking defaults,
+  use Cpanel::JSON::XS; # this is considered safe compatible drop-in replacement
 #  use XMLRPC::Transport::HTTP;
 #  use XMLRPC::Lite; # for XMLRPC::Serializer
   use MIME::Base64;