Para openSUSE Tumbleweed execute o seguinte como root:
zypper addrepo https://download.opensuse.org/repositories/home:lrupp/openSUSE_Tumbleweed/home:lrupp.repo
zypper refresh
zypper install xml2json
Para openSUSE Factory execute o seguinte como root:
zypper addrepo https://download.opensuse.org/repositories/home:lrupp/openSUSE_Factory/home:lrupp.repo
zypper refresh
zypper install xml2json
Para 15.6 execute o seguinte como root:
zypper addrepo https://download.opensuse.org/repositories/home:lrupp/15.6/home:lrupp.repo
zypper refresh
zypper install xml2json
Para 15.5 execute o seguinte como root:
zypper addrepo https://download.opensuse.org/repositories/home:lrupp/15.5/home:lrupp.repo
zypper refresh
zypper install xml2json
Para 15.4 execute o seguinte como root:
zypper addrepo https://download.opensuse.org/repositories/home:lrupp/15.4/home:lrupp.repo
zypper refresh
zypper install xml2json