When i try to convert my list JSON serializer coverts a list into string
with following code
JSON jsonString = JSONSerializer.toJSON(myList);
It give following exception
java.lang.reflect.InvocationTargetException
java.lang.IllegalArgumentException
java.sql.Date.getHours(Date.java:143)
Hope this helps
https://forums.oracle.com/forums/thread.jspa?threadID=83378
Solution is to use java.sql.Time instead of java.sql.Date