Hi,
I'm using POJOs and annotations with json. Using a arraylist in @Get (public 
ArrayList<T> myGet()), jackson serialize that as 
{"name":"DITest8","siteOwnerId":255,"siteId":8,"loca....},{...} (using my 
webbrowser)

On the clientside i therefore get the values in an arraylist with LinkedHashMap 
instead of my actual object type.

To solve this and add some more info I annotate my serverobject class with 
@JsonTypeInfo(use=JsonTypeInfo.Id.NAME, include=JsonTypeInfo.As.WRAPPER_OBJECT) 
BUT the response is exactly the same.

What i'm I missing?

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3071286

Reply via email to