|

本帖最后由 初夏喔 于 2022-2-9 11:33 编辑
|
解析 | 逻辑型 | | |
JSON文本 | 文本型 | | | | 为对象 | 逻辑型 | | | | 错误原因 | JsonError | | | | 回调函数 | 文本型 | | | |
变量名 | 类 型 | 静态 | 数组 | 备 注 | 局_JSON文本 | 文本型 | | | 局_JsonError | 对象 | | | 如果真 (JsonStr. 是否为空 () = 假) JsonStr. 清除 () 初始化 () 如果真 (JsonStr. 是否为空 ()) 返回 (假)JsonStr.逻辑方法 (“Eval”, “var ” + dataName + “ = null”)局_JSON文本 = JSON文本 如果真 (回调函数 ≠ “”) JsonStr. 文本方法 (“Eval”, “function ” + 回调函数 + “(obj){return JSON.stringify(obj); }”) 局_JSON文本 = JsonStr. 文本方法 (“Eval”, JSON文本 ) 如果 (为对象 ) JsonStr. 逻辑方法 (“AddCode”, “var ” + dataName + “ = ” + 局_JSON文本 ) JsonStr. 逻辑方法 (“AddCode”, “var ” + dataName + “ = eval(” + 局_JSON文本 + “)”) 如果真 (是否为空 (错误原因 ) = 假) 局_JsonError = JsonStr. 对象型方法 (“Error”, ) 错误原因.Number = 局_JsonError. 读数值属性 (“Number”, ) 错误原因.Source = 局_JsonError. 读文本属性 (“Source”, ) 错误原因.Description = 局_JsonError. 读文本属性 (“Description”, ) 错误原因.HelpFile = 局_JsonError. 读文本属性 (“HelpFile”, ) 错误原因.HelpContext = 局_JsonError. 读数值属性 (“HelpContext”, ) 错误原因.Text = 局_JsonError. 读文本属性 (“Text”, ) 错误原因.Line = 局_JsonError. 读数值属性 (“Line”, ) 错误原因.Column = 局_JsonError. 读数值属性 (“Column”, )返回 (JsonStr.逻辑方法 (“Eval”, dataName + “ != null”))
来自群组: 热心网友 |
评分
-
查看全部评分
|