 <p>You need to do it in 2 steps.</p> <p>First, you have to parse your CSV. I recommend <a href="http://supercsv.sourceforge.net/examples_reading.html" rel="nofollow">superCSV</a>. Parsing CSV may be fancy sometimes, so I really recommend you to use a library for that.</p> <p>Second, you can serialize into JSON. Then you can use <a href="https://code.google.com/p/google-gson/" rel="nofollow">GSON</a>, <a href="http://jackson.codehaus.org/" rel="nofollow">jackson</a>, <a href="http://flexjson.sourceforge.net/" rel="nofollow">flexjson</a>, whatever.</p>