What API should I use to convert Java object to CSV. Can I use google-gson for java object conversion to CSV format?
Jackson provides for easy conversion to/from CSV (with Java and/or JSON).
The post at http://www.cowtowncoder.com/blog/archives/2012/03/entry_468.html describes well how to use it.