gpt4 book ai didi

blackberry-10 - 如何在黑莓级联中获取json数据

转载 作者:行者123 更新时间:2023-12-04 20:10:09 25 4
gpt4 key购买 nike

  • 联系人.json

    {“获取类别结果”:
    [
    {"CategoryID":"3","CategoryName":"News","CountryID":"1","Result":"OK"},
    {"CategoryID":"4","CategoryName":"Daily Paper","CountryID":"1","Result":"OK"},
    {"CategoryID":"5","CategoryName":"Thanthi","CountryID":"1","Result":"OK"},
    {"CategoryID":"1","CategoryName":"Newspaper","CountryID":"1","Result":"OK"},
    {"CategoryID":"2","CategoryName":"杂志","CountryID":"1","Result":"OK"}
    ]
    }
  • 主文件

    标题:ListItemData.GetCategoryResult.CategoryName

  • 请告诉如何在 中实现这一行qml --------> 标题:ListItemData。????

    最佳答案

    ListItemData.GetCategoryResult[i] 将在该 json 中的第 i 个位置给出 u 变量

    获得“日报”称号

    使用 ListItemData.GetCategoryResult[1].CategoryName

    关于blackberry-10 - 如何在黑莓级联中获取json数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18583927/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com