|
From: Jeff S. <je...@in...> - 2011-09-08 20:11:23
|
On Thu, Sep 8, 2011 at 12:51 PM, Jeff Schnitzer <je...@in...> wrote:
>
> // Produces 'hello', which produces parse errors in browsers and ObjectMapper
> Object getThing() { return "hello"; }
To make this a little more concrete, I'd like to know how you folks
propose implementing this method:
@Path("/thing")
public class NameResource {
@GET
@Produces(MediaType.APPLICATION_JSON)
public String getNameForThing(@
}
|