I have a domain object marked as Portable, now I want to programmatically marshall it to a string, I guess Errai RPC must some existing API to do so. Can someone shed me a light on this?
Thanks in advance!
Yes, you can marshal/demarshal manually if you want to:
String json = Marshalling.toJSON(someObject);
MyType obj = Marshalling.FromJSON(json, MyType.class);
Retrieving data ...