Both XML and JSON are just specially formatted text files with different syntax. It looks users want's to frequently convert one to each other and thus some programs, like the oXygen XML Editor provide this functionality to its product. There is a dedicated XML to JSON conversion function in oXygen that might help you. You can also find several web pages that offer XML of JSON conversion of some sorts.
We have found 2 software records in our database eligible for .xml to .json file format conversion.
Microsoft Windows software - convert xml to json on Windows
Fully-featured version of Navicat for Windows
Convert from xml file format
The tables with software actions are a good pointer for what a certain program does with various file types and often may give users a good hint how to perform certain file conversion, for example the above-mentioned xml to json. However, it is not perfect and sometimes can show results which are not really usable because of how certain programs work with files and the possible conversion is thus actually not possible at all.
Multiplatform software - convert xml to json on any platform
Integrated development tool and source code editor for Windows, Mac and Linux