F
fatalerror0x00
Guest
I hope I'm posting this in the correct space and if not if someone can move it if they have that ability or just post back with where this belongs I'm happy to post in the correct area!
I have a project I'm working on that I need to pull a member from a JSON file. The file is premade but later will have a random member's values pulled.
My file looks something like this:
{
"Member 0": {
"Date": "Date",
"Name": "First and Last Name",
"Image": "Path to Image",
"Content": "Content"
},
"Member 1": {
"Date": "Date",
"Name": "First and Last Name",
"Image": "Path to Image",
"Content": "Content"
},
"Member 2": {
"Date": "Date",
"Name": "First and Last Name",
"Image": "Path to Image",
"Content": "Content"
}
}
Basically this will have unique data in it once I have it working, it will expand more the the 3 members that are in there it's just like that for testing.
What I want to do exactly with this file is pull a random member and use the Date, Name, Image, and Content string data to insert into my webpage.
I am trying to use version 11 of the built in JSON.NET Framework in ASP.NET Core 2.2 also am using Razor pages.
Continue reading...
I have a project I'm working on that I need to pull a member from a JSON file. The file is premade but later will have a random member's values pulled.
My file looks something like this:
{
"Member 0": {
"Date": "Date",
"Name": "First and Last Name",
"Image": "Path to Image",
"Content": "Content"
},
"Member 1": {
"Date": "Date",
"Name": "First and Last Name",
"Image": "Path to Image",
"Content": "Content"
},
"Member 2": {
"Date": "Date",
"Name": "First and Last Name",
"Image": "Path to Image",
"Content": "Content"
}
}
Basically this will have unique data in it once I have it working, it will expand more the the 3 members that are in there it's just like that for testing.
What I want to do exactly with this file is pull a random member and use the Date, Name, Image, and Content string data to insert into my webpage.
I am trying to use version 11 of the built in JSON.NET Framework in ASP.NET Core 2.2 also am using Razor pages.
Continue reading...