Tuesday, October 2, 2018

Help with Classic ASP and using JSON?

Hello all!

I am by no means an ASP developer. I work with HTML/CSS/JS, but I occasionally maintain ASP. I usually use a combination of previous code and google to get stuff working.

So, I have a classic ASP page that I need to pull in JSON from an external HTML file (let's call it my-json.html). I need to then use that JSON to display something on the page. How can I do this?

Here's a sample of the JSON in the HTML file. It's very simple:

{

"x": "Message Number 1", "y": " Message Number 2", "z": "Message Number 3" 

}

I would very much appreciate your help. Thanks!

An example of what I need to do is to pull this JSON in, read what the message is for "y" and then display that message on the page. If I can just get that message to a variable, I can handle the rest. Thanks again.

I also posted this on the ASP subreddit.

Help with Classic ASP and using JSON? Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team