Is there an open source java library to convert a CSV (or XLS) file to a JSON object?
I tried using json.cdl, but somehow it does not seem to work for large CSV stri
If your CSV is simple, then this is easy to write by hand - but CSV can include nasty edge cases with quoting, missing values, etc.
BufferedReader.readLine()String.split(",") to get the value from each line - NB this approach will only work correctly if your values don't have commas in!BufferedWriter
You might want to use a CSV library, then convert to JSON 'by hand'