ExtJS RESTful service fail to handle json data

后端 未结 2 550
情歌与酒
情歌与酒 2021-01-25 21:08

I implement simple RESTful Service. These are Rest request url and the response json data.

http://localhost:8080/RESTfulTestWeb/rest/services/getJson/aupres



        
相关标签:
2条回答
  • 2021-01-25 21:28

    The rest proxy reader in ExtJs 5 and up looks for a rootProperty: instead of root:.

    0 讨论(0)
  • 2021-01-25 21:29

    HI You can overwrite toString() method of your class . then you can get exact.

    Like you want data on ["id":"aupres","passwd":"aaa","age":45,"name":"joseph"}] or some other format

    0 讨论(0)
提交回复
热议问题