how to use RPC call so that client can get all the object fields

0 votes
incase server send returnValue in Object format, which can be many fields inside, so i have to use JSONObject as return data, right?

any other better solution?
asked Oct 29, 2015 in AppWarpS2 by nguyenanhdung (51 points)
edited Oct 29, 2015 by nguyenanhdung

1 Answer

0 votes
 
Best answer
Hi Guyennan,

Yes, In RPC API you can send JsonObject as a response String that can also contain Json Array. This is the best approach if you try, on client side you can easily parse the respective data.

Let me know if it helps.

Thanks & Regards

Vishnu Garg
answered Oct 30, 2015 by Vishnu Garg (674 points)
selected Nov 16, 2015 by nguyenanhdung
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...