开启辅助访问 切换到宽版

精易论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

用微信号发送消息登录论坛

新人指南 邀请好友注册 - 我关注人的新帖 教你赚取精币 - 每日签到


求职/招聘- 论坛接单- 开发者大厅

论坛版规 总版规 - 建议/投诉 - 应聘版主 - 精华帖总集 积分说明 - 禁言标准 - 有奖举报

查看: 1077|回复: 7
收起左侧

[完成] 有老哥看下这个json数组怎么取的么

 关闭 [复制链接]
结帖率:83% (19/23)
发表于 2022-4-22 19:41:06 | 显示全部楼层 |阅读模式   湖北省咸宁市
60精币
{"count":"67","rows":[{"presale_contract":"0x3c338296d657c4cF051044dB86F04378F2DF4250","stage":0,"start_block":17166901,"profit":0,"icon_url":"https://i.imgur.com/EoByEa2.jpg?1","website_url":"https://t.me/akainu1000x","telegram_url":"https://t.me/akainu1000x","twitter_url":"https://twitter.com/AkainuInux1000","hot":0,"b_token":{"address":"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c","name":"Wrapped BNB","symbol":"WBNB","total_supply":"5796113505578553223178604","decimals":18},"s_token":{"address":"0xC9d6dFCC1e2307424Cb9C71871B012620d18AfeF","name":"AKAINU INU","symbol":"AKAINU","total_supply":"1000000000000000000000000000","decimals":18},"audit_rating":null,"kyc_rating":null,"info":{},"status":{}},{"presale_contract":"0x716c637F1822646DA03f4105687564cE15Adf009","stage":0,"start_block":17255810,"profit":0,"icon_url":"https://i.imgur.com/RGwmaMi.png","website_url":"https://www.vipdoge.fun/","telegram_url":"https://t.me/VipDogeEN","twitter_url":"https://twitter.com/VipDogeCoin","hot":0,"b_token":{"address":"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c","name":"Wrapped BNB","symbol":"WBNB","total_supply":"5796113505578553223178604","decimals":18},"s_token":{"address":"0xAdE836EE8CcDd641e0D6A2781BC5a8B5eb9c6B4A","name":"VipDoge","symbol":"VipDoge","total_supply":"1000000000000000000000000000000","decimals":18},"audit_rating":null,"kyc_rating":null,"info":{},"status":{}},{"presale_contract":"0xE4BeF7c86c503ca1eeBc67c580BB34Bb03326321","stage":0,"start_block":17172749,"profit":0,"icon_url":"https://i.imgur.com/hT4I5bt.gif","website_url":"https://www.8bitbots.org/","telegram_url":"https://t.me/eightbitbotsBSC","twitter_url":"https://t.me/eightbitbotsBSC","hot":0,"b_token":{"address":"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c","name":"Wrapped BNB","symbol":"WBNB","total_supply":"5796113505578553223178604","decimals":18},"s_token":{"address":"0x5556d27ed520bFb0D47Ff338bb10E427c200b3f8","name":"8Bit Bots","symbol":"8BB","total_supply":"101010101010101010000000000000000000","decimals":18},"audit_rating":null,"kyc_rating":0,"info":{},"status":{}},{"presale_contract":"0xFD7bb529dDeE628d867AAcb56eF844D9C8fbF36F","stage":0,"start_block":17312209,"profit":0,"icon_url":"https://pbs.twimg.com/profile_images/1515283371525836802/cUcsK1cf.jpg","website_url":"https://www.suncats.top/","telegram_url":"https://t.me/SunCats_En","twitter_url":"https://twitter.com/Suncats_coin","hot":0,"b_token":{"address":"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c","name":"Wrapped BNB","symbol":"WBNB","total_supply":"5796113505578553223178604","decimals":18},"s_token":{"address":"0xB2233e967C12ed2aB41d6D38D634f05020c251A4","name":"SunCats","symbol":"SCAT","total_supply":"1000000000000000000","decimals":9},"audit_rating":null,"kyc_rating":null,"info":{},"status":{}},{"presale_contract":"0x0cB55dF0a5D46808Aab2c2bCc334186c4b81ce45","stage":0,"start_block":17258399,"profit":0,"icon_url":"https://imgur.com/bCG2kVe.png","website_url":"https://www.unicryptonians.club","telegram_url":"https://t.me/CryptoniansClub_Global","twitter_url":"https://twitter.com/CryptoniansClub","hot":0,"b_token":{"address":"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c","name":"Wrapped BNB","symbol":"WBNB","total_supply":"5796113505578553223178604","decimals":18},"s_token":{"address":"0x7fbFCCAd4bB514beF0663bEBF9f2cBc68E5C84f5","name":"CRYPTONIANS","symbol":"$CYPT","total_supply":"1000000000000000000000000000","decimals":18},"audit_rating":0,"kyc_rating":1,"info":{},"status":{}},{"presale_contract":"0x20DC4928B6D232Df7971753DBacE9700e5a20632","stage":0,"start_block":17250232,"profit":0,"icon_url":"https://i.imgur.com/DhIWcSg.png","website_url":"https://slyvania.finance/","telegram_url":"https://t.me/SylvaniaFinance","twitter_url":"https://twitter.com/SylvaniaFinance","hot":0,"b_token":{"address":"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c","name":"Wrapped BNB","symbol":"WBNB","total_supply":"5796113505578553223178604","decimals":18},"s_token":{"address":"0xa12D7B0F6AEb729bc5e78666b788F93357Ac717f","name":"Sylvania Finance","symbol":"SYL","total_supply":"1000000000000000000000","decimals":9},"audit_rating":0,"kyc_rating":0,"info":{},"status":{}}]}


取出每个数组的.address跟 name 还有价格  在线等 秒结帖
取出每个数组的.address跟 name 还有价格  在线等 秒结帖
取出每个数组的.address跟 name 还有价格  在线等 秒结帖

最佳答案

查看完整内容

[e=1].版本 2 .支持库 spec .子程序 子程序1 .局部变量 json, 类_json .局部变量 i, 整数型 json.解析 (#常量2) ' 常量2就是你发出来得文本 .计次循环首 (json.成员数 (“rows”), i) 调试输出 (json.取通用属性 (“rows[” + 到文本 (i - 1) + “]['s_token'].address”)) 调试输出 (json.取通用属性 (“rows[” + 到文本 (i - 1) + “]['s_token'].name”)) 调试输出 (json.取通用属性 (“rows[” + 到文 ...

结帖率:95% (56/59)

签到天数: 20 天

发表于 2022-4-22 19:41:07 | 显示全部楼层   福建省福州市
  
子程序名返回值类型公开备 注
子程序1  
变量名类 型静态数组备 注
json类_json 
i整数型 
json.解析 ( #常量2 )  ' 常量2就是你发出来得文本
计次循环首 (json.成员数 (“rows”), i)
调试输出 (json.取通用属性 (“rows[”到文本 (i - 1)“]['s_token'].address”))
调试输出 (json.取通用属性 (“rows[”到文本 (i - 1)“]['s_token'].name”))
调试输出 (json.取通用属性 (“rows[”到文本 (i - 1)“]['s_token'].decimals”))
调试输出 (json.取通用属性 (“rows[”到文本 (i - 1)“]['b_token'].address”))
调试输出 (json.取通用属性 (“rows[”到文本 (i - 1)“]['b_token'].name”))
调试输出 (json.取通用属性 (“rows[”到文本 (i - 1)“]['b_token'].decimals”))
计次循环尾 ()


i支持库列表   支持库注释   
spec特殊功能支持库

点评

是我看错了,尴尬   浙江省温州市  发表于 2022-4-22 20:57
b_token,里也有address和name   浙江省温州市  发表于 2022-4-22 20:55

评分

参与人数 2好评 +1 荣誉 +1 收起 理由
笨潴 + 1 热心帮助他人,荣誉+1,希望继续努力(*^__^*) 嘻嘻!
大道宽又长 + 1 共同努力,共同进步

查看全部评分

回复

使用道具 举报

结帖率:83% (19/23)

签到天数: 6 天

 楼主| 发表于 2022-4-22 19:41:31 | 显示全部楼层   湖北省咸宁市
盖楼盖楼  盖楼盖楼  盖楼盖楼  
回复

使用道具 举报

结帖率:99% (87/88)

签到天数: 5 天

发表于 2022-4-22 22:02:07 | 显示全部楼层   海南省海口市
json调试.e (872.78 KB, 下载次数: 11)
回复

使用道具 举报

结帖率:88% (22/25)

签到天数: 6 天

发表于 2022-4-22 22:02:18 | 显示全部楼层   浙江省台州市
格式都不规范
回复

使用道具 举报

结帖率:100% (58/58)

签到天数: 19 天

发表于 2022-4-22 22:10:51 | 显示全部楼层   广西壮族自治区玉林市
全部解剖!!!!!!!!!!

json解析.e

925.61 KB, 下载次数: 8, 下载积分: 精币 -1 枚

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 致发广告者

发布主题 收藏帖子 返回列表

sitemap| 易语言源码| 易语言教程| 易语言论坛| 易语言模块| 手机版| 广告投放| 精易论坛
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论,本站内容均为会员发表,并不代表精易立场!
论坛帖子内容仅用于技术交流学习和研究的目的,严禁用于非法目的,否则造成一切后果自负!如帖子内容侵害到你的权益,请联系我们!
防范网络诈骗,远离网络犯罪 违法和不良信息举报电话0663-3422125,QQ: 793400750,邮箱:wp@125.la
Powered by Discuz! X3.4 揭阳市揭东区精易科技有限公司 ( 粤ICP备12094385号-1) 粤公网安备 44522102000125 增值电信业务经营许可证 粤B2-20192173

快速回复 返回顶部 返回列表