如何将 sencha 中的 REST Web 服务调用返回 xml 转换为 json
Web 服务请求返回 XML。如何在 sencha touch 中将其转换为 JSON,然后将数据加载到列表中?我怎样才能选择哪些信息可以存储在本地存储中?
Webservice request returns XML. How do I convert this into JSON in sencha touch and then load the data into a list? How can I also choose which information could be stored in the local storage?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先,您需要为此创建模型并存储。
您可以像这样创建模型,
并像这样存储
,并且需要在 Xml 响应的帮助下使用数组将数据传递到此存储中。
first you need to create model and store for that.
you can create model like this,
and stor like this
and you need to pass the data into this store by using arrays with the help of Xml response.