I have a ResultSet object as a result of request to a table:
ResultSet result = stat.executeQuery("SELECT * FROM Greetings");
I need to return it to browser in json format. Is it possible to use some Restlet tool to convert the variable of ResultSet type to json object and send it to web client?