Hi Jürgen, there ist
ERXRouteController.response(ERXRestFormat format, Object value, ERXKeyFilter filter) that should do the trick. Kind regards, Ralf Am 21.11.2014 um 13:12 schrieb Jürgen Simon <si...@webtecc.com>: > Hi, > > I’m having some trouble implementing a simple function with ERRest. I have a > method I wish to return a serialized NSDictionary from, not a serialized > EOObject. Is that possible? The method could look something like this: > > @GET > @Path(“/somepath/{id:Integer}/dailyReport") > public WOActionResults dailyReport(@PathParam(“id") Integer id) > { > NSDictionary<String,Object> report = getDailyReport(); > > ??? > } > > How would I go about building a response for this? Or do I need to implement > another controller not inheriting from ERXRouteController for this? > > Kind Regards, > Jürgen > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/rasc%40gmx.de > > This email sent to r...@gmx.de
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com