How to convert object to / from JSON using Gson

  • 15 June 2016
  • ADM

How to convert Java object to / from JSON string using Gson library. Simple example including embedded object.


How to read CSV file in Java

  • 27 May 2016
  • ADM

How to parse CSV file in Java and display all the value.The solution treats the case when a column contains the delimiter and the double quote character.


How to format XMLGregorianCalendar

  • 10 May 2016
  • ADM

How to format XMLGregorianCalendar object output using SimpleDateFormat class in Java. Simple tested example.


How to read and write JSON with json-simple

  • 21 April 2016
  • ADM

How to read and write JSON with json-simple library. Full example how to create an object, write it to a file, read it and use it.


How to install Apache Ant on Mac OS X

  • 24 May 2016
  • ADM

How to install Apache Ant on Mac OS X in 4 easy steps:download, extract, move to destination folder and edit the environment variables.


How to include library into Maven local repository

  • 06 July 2017
  • ADM

How to include library into maven local repository using mvn install command. Useful for libraries that are not available in public repositories.