gpt4 book ai didi

swift - 使用 Swiftyjson 从数组访问数据

转载 作者:行者123 更新时间:2023-11-28 08:39:28 25 4
gpt4 key购买 nike

No logro acceder a los valores de las llaves que se muestran en la imagen。我尝试使用 json[nombre_uco].stringValue 并收到 nil 值

enter image description here

最佳答案

看起来 json 是一个 JSON字典数组。这个怎么样:

json[0]["nombre_uco"].stringValue

关于swift - 使用 Swiftyjson 从数组访问数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36757850/

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