Home  >  Article  >  Web Front-end  >  ASP Json Parser revised version_json

ASP Json Parser revised version_json

WBOY
WBOYOriginal
2016-05-16 18:40:091140browse

But when I used it later, I found a problem. If json was relatively simple, there would be no problem. If json contained an array, vbs could not directly reference the array elements in js, so the array elements in the json object could not be accessed. I have tried many methods, including pop, etc., but nothing works. Further searches on the Internet yielded no results.
I was depressed for a long time, so I searched for "vbscript how to access javascript array" and found an article by a foreigner. After debugging, I found that the foreigner's method is good. The reason why it cannot be accessed is that the corresponding get method is not defined. Instead, I added his get indexer, tried it, and it was ok.
The code is as follows:
asp json parser
Code

Copy code The code is as follows:


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn