So I have a server that Runs 24/7 and I have a
.JSON
file on it I have defined everything but what I need to know is how can my
.html
file find that one
.JSON
file read it, compare the current json to the new json, and display it.
Here is what I am trying to do.
I have 1 server That hosts a
.JSON
file then I have a computer that has a
.JSON
file now when someone opens the html I made I want it to display the version number of the JSON file on the computer and the one on the server.
So How do I do it?!?!
And For Help Here Are my
.JSON
files.
SERVER SIDE:
manifest.json:
{
"manifest_version": 2,
"name": "-",
"version": "1.2.2"
}
COMPUTER SIDE:
manifest.json:
{
"manifest_version": 2,
"name": "-",
"version": "1.2.0"
}
And here is what I want to happen in the html:
Your Version: 1.2.0
Actual/Current Version: 1.2.2
So How do I do this?!