Hi all, Doesn't the Jaggery/MS/GS folks already have a way of doing this?
Thanks, Senaka. On Wed, Mar 28, 2012 at 3:24 PM, Sanjaya Vithanagama <[email protected]>wrote: > Hi Suho, > > We have simple-json[1] but it doesn't allow direct conversions. So you'd > have to create json objects ground up. But if your Java objects are > serializable and type safe, Gson should be the correct approach as it > allows one line conversion using #toJson(object). In that case +1 for > adding it to orbit . > > [1] https://svn.wso2.org/repos/wso2/carbon/orbit/trunk/json-simple > <https://svn.wso2.org/repos/wso2/carbon/orbit/trunk/json-simple%20> > > Regards, > SanjayaV. > > On Wed, Mar 28, 2012 at 3:06 PM, Suhothayan Sriskandarajah > <[email protected]>wrote: > >> Hi >> >> I have a use case in which I need to convert json to java object and >> vice-versa. >> I found google gson[1] is capable of doing this conversion. But currently >> its not used in our platform >> Are we using any alternatives to this? else I can go ahead and include >> google gson. >> >> [1] http://code.google.com/p/google-gson/ >> >> Thanks >> Suho >> >> -- >> *S. Suhothayan >> * >> Software Engineer, >> Data Technologies Team, >> *WSO2, Inc. **http://wso2.com >> <http://wso2.com/>* >> *lean.enterprise.middleware.* >> >> *email: **[email protected]* <[email protected]>* cell: (+94) 779 756 757 >> blog: **http://suhothayan.blogspot.com/*<http://suhothayan.blogspot.com/> >> * >> twitter: **http://twitter.com/suhothayan* <http://twitter.com/suhothayan> >> * >> linked-in: **http://lk.linkedin.com/in/suhothayan* >> * >> * >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Sanjaya Vithanagama > WSO2, Inc.; http://wso2.com > lean.enterprise.middleware > > cell: +94 71 342 2881 > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
