语法:[JSON].remove( keyPath )
返回:无
说明:移除指定路径的键
示例:
Set jsonObj = toJson("{div:{'#text-1': 'is text!', 'span':'hooo!'}}") jsonObj.remove "div.span" Response.Write jsonObj.toString() ' 移除了span键,结果为:{"div" : {"#text-1" : "is text!"}}
返回:无
说明:移除指定路径的键
示例:
Set jsonObj = toJson("{div:{'#text-1': 'is text!', 'span':'hooo!'}}") jsonObj.remove "div.span" Response.Write jsonObj.toString() ' 移除了span键,结果为:{"div" : {"#text-1" : "is text!"}}
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。