When I originally started this project, I did not known JSON or XML libraries existed, so I hacked together my own methods to read XML and JSON files. It worked well for a long while. However, currently, I am facing an issues. Some parameters that you can get from the users or image MW API's return XML/JSON objects instead of the normal String or int. My hacked together methods cannot handle this, at least not without mimicking an XML or JSON library.
As such, I would rather go with something trustworthy, proper XML and JSON libraries, then my hacked together methods.
To add and implement:
I think I will start with JSON because it will be the least used, and hence will be the easiest to implement.
When I originally started this project, I did not known JSON or XML libraries existed, so I hacked together my own methods to read XML and JSON files. It worked well for a long while. However, currently, I am facing an issues. Some parameters that you can get from the users or image MW API's return XML/JSON objects instead of the normal String or int. My hacked together methods cannot handle this, at least not without mimicking an XML or JSON library.
As such, I would rather go with something trustworthy, proper XML and JSON libraries, then my hacked together methods.
To add and implement:
I think I will start with JSON because it will be the least used, and hence will be the easiest to implement.