X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FTaxEngine%2Fsuretax.pm;h=073d19bb464596d8d06bf41446f3f74bb0bb7093;hb=72b59219418476ef2fa42dac5456d736b76f5810;hp=4e7edd575e14e79058cb2569260e8f6e9628e653;hpb=32eacfe9022ab9edb6fd986618ac2d3949fc7dcd;p=freeside.git diff --git a/FS/FS/TaxEngine/suretax.pm b/FS/FS/TaxEngine/suretax.pm index 4e7edd575..073d19bb4 100644 --- a/FS/FS/TaxEngine/suretax.pm +++ b/FS/FS/TaxEngine/suretax.pm @@ -4,7 +4,7 @@ use strict; use base 'FS::TaxEngine'; use FS::Conf; use FS::Record qw(qsearch qsearchs dbh); -use JSON; +use Cpanel::JSON::XS; use XML::Simple qw(XMLin); use LWP::UserAgent; use HTTP::Request::Common; @@ -14,7 +14,7 @@ our $DEBUG = 1; # prints progress messages # $DEBUG = 2; # prints decoded request and response (noisy, be careful) # $DEBUG = 3; # prints raw response from the API, ridiculously unreadable -our $json = JSON->new->pretty(1); +our $json = Cpanel::JSON::XS->new->pretty(1); our %taxproduct_cache;