Convert Java Object List to Json Array

Code for demonstrating the Conversion of Java Object to Json Array Jars Required: http://central.maven.org/maven2/com/google/code/gson/gson/2.3.1/gson-2.3.1.jar http://repo.grails.org/grails/repo/org/immutables/gson/2.1.0.alpha/gson-2.1.0.alpha.jar Conversion of Java Object to Json Array