Hi Jerome, thank you for your reply..
I'm new to Restlet but I appreciate it very much...
My portlet application (based on Liferay) read contents from an Alfresco server
- I receive folder contents in JSON format then I need to convert it in a Java
List object... Whit Restlet I obtain the "jsonContent" object, then transform
it in a Java List with the below code: "List<AlfContent> alfContents = new
Gson().fromJson(jsonContent.toString(), new TypeToken<List<AlfContent>>()
{}.getType());"
I'm using the Gson library from Google.
Please, could you translate the above code using Restlet API (using
org.restlet.ext.jackson extension) ?
I need the same example in the case I have a "Document" object and I'll convert
it in a Java List object (using org.restlet.ext.xstream) for XML conversion...
Thank you in advance for your help!
Ivano C.
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2840231