This is a simple Ruby app that parses an xml data type file to its equivalent json data type file.
Ruby must be installed and available globally
Ruby v2.7
This app basically requires json
Ruby gem and activeSupport
Ruby gem.
Make sure Required dependencies are available.
If not, run bundler install
in project directory to get all dependencies installed
Once all dependencies required are installed and set, run ruby convert.rb
Running the command above will parse the hr_test_1.xml
file in the root directory and output it as hr_test_1.json
to the root directory. The new json file will be a json version of the parsed xml equivalent