Greetings, I am exploring Restlet's JAXRS support and trying the following in a 
Resource class: @[EMAIL PROTECTED]("application/json")public Set<Items> 
getItems() {    ....    return items;} When the call is made, the Resource is 
invoked, however the returned response is not a JSON formatted set but 
something like:{"empty":false,"class":"class java.util.HashSet"} Do I need to 
write some custom code to handle the mime type? I though JAXB, JSON etc were 
pretty much standard and I would have got back a JSON string like [[....] 
[....]]? Please let me know if I am missing something here. Thanks in advance 
for any tips... 
_________________________________________________________________
Your PC, mobile phone, and online services work together like never before.
http://clk.atdmt.com/MRT/go/108587394/direct/01/

Reply via email to