Livebinding JSON objects and arrays

三世轮回 提交于 2019-12-06 08:40:04

I figured it out;

  • Set up your REST components
  • For the TRESTResponseDataSetAdapter, set it's RootElement property to response.ips
  • Then, add the fields ip, classification, hits, latitude, longitude, and zone_name as it's FieldDefs
  • Right-click the TRESTResponseDataSetAdapter and select 'Update DataSet'
  • Livebind one of the fields from the TRESTResponseDataSetAdapter to the item.text property of the TListView

The application then worked correctly and reflects the data properly.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!