Is there any java utility or library available that can help me convert file data in CSV, JSON or XML to any other type.
e.g:
CSV -> JSON
CSV -> XML
JSON -> CSV
JSON -> XML
XML -> CSV
XML -> JSON
Any idea how I can go about this? File size will be a minimum of 100mb so looking at the most process efficient solution.
解决方案
FasterXML (Jackson) has the support to read and write to CSV,XML and JSON.
If the format of the data is fixed, it could be read into Java objects, and then output for the different type could be generated by defining annotations
Else, a generic solution mentioned by Programmer Bruce at Parsing XML into JSON could be used.