For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:perl/openSUSE_Tumbleweed/devel:languages:perl.repo
zypper refresh
zypper install perl-JSON
For 15.6 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:perl/15.6/devel:languages:perl.repo
zypper refresh
zypper install perl-JSON
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:perl/15.5/devel:languages:perl.repo
zypper refresh
zypper install perl-JSON