|
下面输出的是完整的json格式文本.
之后想这要如何处理, 取什么, 自己再按json的方式来就行了:
窗口程序集名 | 保 留 | 保 留 | 备 注 | 窗口程序集_启动窗口 | | | |
变量名 | 类 型 | 静态 | 数组 | 备 注 | 文本 | 文本型 | | | json | 类_json | | | 数量 | 整数型 | | | 数 | 整数型 | | | 名称 | 文本型 | | |
文本 = #常量1 json. 解析 (文本 )调试输出 (json. 取数据文本 ()) 数量 = json. 成员数 () 计次循环首 (数量, 数 ) 名称 = json. 取通用属性 (“[” + 到文本 (数 - 1 ) + “].text”) 如果真 (名称 = “文档” 或 名称 = “图片”) 调试输出 (json. 取属性 (“[” + 到文本 (数 - 1 ) + “]”). 取数据文本 ())   计次循环尾 ()
* “[{"text":"文档","rect":[2,2,30,21],"score":0.9952,"single":[{"text":"文","score":0.9974,"position":[9,12]},{"text":"档","score":0.993,"position":[24,12]}]},{"text":"图片","rect":[2,26,30,21],"score":0.8362,"single":[{"text":"图","score":0.6729,"position":[9,36]},{"text":"片","score":0.9996,"position":[24,36]}]}]”
* “{"text":"文档","rect":[2,2,30,21],"score":0.9952,"single":[{"text":"文","score":0.9974,"position":[9,12]},{"text":"档","score":0.993,"position":[24,12]}]}”
* “{"text":"图片","rect":[2,26,30,21],"score":0.8362,"single":[{"text":"图","score":0.6729,"position":[9,36]},{"text":"片","score":0.9996,"position":[24,36]}]}”
被调试易程序运行完毕
|
|