Subject: | JSON -> JSON::MaybeXS or JSON::PP? |
JSON.pm is a discouraged module now, due to its somewhat broken backend handling and lack of support for Cpanel::JSON::XS. Would you consider switching to JSON::MaybeXS or perhaps just JSON::PP?
You only seem to use JSON.pm directly in a few places, so JSON::PP (in core) should do just as well.
Additionally, you probably should also check for Cpanel::JSON::XS::Boolean in your bool checks.
(I noticed you use JSON.pm in a few other distributions as well, e.g. Data::Sah, Perinci::Access::HTTP::Client, etc.)