NOMIS SOLUTIONS interview question

How can you parse a CSV file in Java and return it as a JSON object?