Now I'm interacting with a existed web service. The web service reture a JSON object like this :
I'm using GWT java overlay object to process the return JSON. So I have a java overlay object named product which is mapped to product of result property.
Now this is my question. How can I build a smartgwt datasource from the products JSArray?
BTW, I can not rebuild the server side web service code in order to generate a smartgwt standard JSON reponse.
Thanks in advance!
{"success":true,"
result":[{"manufacturer":"aaaa","productname":"bbbb","id":"8888"},
{"manufacturer":"cccc","productname":"dddd","id":"9999"},
..............
{"manufacturer":"xxxx","productname":"xxxx","id":"nnnn"},
]
}
result":[{"manufacturer":"aaaa","productname":"bbbb","id":"8888"},
{"manufacturer":"cccc","productname":"dddd","id":"9999"},
..............
{"manufacturer":"xxxx","productname":"xxxx","id":"nnnn"},
]
}
Now this is my question. How can I build a smartgwt datasource from the products JSArray?
BTW, I can not rebuild the server side web service code in order to generate a smartgwt standard JSON reponse.
Thanks in advance!
Comment