[Building Sakai] Returning JSON from createEntity

Nguni Phakela nguni52 at gmail.com
Wed Mar 13 03:35:34 PDT 2013


Hi Adrian,

I'm not sure if this is possible to do using the framework, but I use GSON (
https://code.google.com/p/google-gson/). It converts between POJO's (or
list of)  and JSON.

Cheers,
Nguni


On Wed, Mar 13, 2013 at 11:28 AM, Adrian Fish <adrian.r.fish at gmail.com>wrote:

> Hi all,
>
> Does anybody know how to return JSON from createEntity in an entity
> provider? I know you can craft it; I mean by returning a POJO and having it
> serialized by the framework.
>
> Cheers,
> Adrian.
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>



-- 
Nguni Phakela
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130313/d9d7adcf/attachment.html 


More information about the sakai-dev mailing list