|Re: [Texo] usage of other JSON/WS [message #1073781 is a reply to message #1073716]
||Thu, 25 July 2013 13:20
| Martin Taal
Registered: July 2009
Yes for sure, see the JSONModelConverter or the JSONEMFConverter and the convert methods on these converter classes.
Maybe you have to create your own subclasses and override some methods to handle resolving of types etc.
If you need to read the database during de-serialization so that the data is read from the database and updated from
json then you need to set an EntityManagerObjectStore instance as the ObjectResolver.
Btw, if it works for you it can be great to share some code with me, if possible, then I will/can blog about it.
On 07/25/2013 01:07 PM, peter meyer wrote:
> i have an existing JSON/WS and want to use it in a RCP-CLient application.
> My idea is to generate an EMF Model for my WS classes and to use Texo for WS calls and for marshalling JSON to EMF.
> Is there a possibility to use TEXO, respectively some of the TEXO components for this use case?
With Regards, Martin Taal
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Powered by FUDForum
. Page generated in 0.02277 seconds