So I’m simply trying to read the results of a political election from a JSON file, and make that into a StructArray that I can use to populate information on a bar-graph.
I thought this would be relatively simple. Worlds easiest JSON file and simple unified data.
{
"Parties": [
{
"PartyName": "Arbeiderpartiet",
"PartyShort": "AP",
"Percentage": 26.3,
"PartyColor": "#d62828",
"IdeologyScore": -0.3
},
{
"PartyName": "Høyre",
"PartyShort": "H",
"Percentage": 20.5,
"PartyColor": "#0072bc",
"IdeologyScore": 0.4
},
{
"PartyName": "Senterpartiet",
"PartyShort": "SP",
"Percentage": 13.5,
"PartyColor": "#5aa13a",
"IdeologyScore": -0.15
}
]
}
Little did I know that this would be my biggest hurdle with this!
So, I got the “JSON Blueprint Utilities” from EPIC enabled in the project, and I have the blueprint to read the file. I can even get the entire thing relatively easy.
I’ve also been looking at tons of different posts here, and tons of videos, AI help (absolutley clueless on this btw), and other pages for this. And they all kinda end up with the same result.
First of all, I thought this one would be pretty much spot on, as it makes total sense to me, and the fact that you should link them backwards to get the correct type of output was news to me and something to learn.
So of to the races I go! Feeling confident I should be able to get through this no problem.
But no…
No matter what I do, where I do it, and how I want to go through with it, as far as I can get, I cannot get more than the first entry in “parties” to show up.
Here’s mye blueprint so far, and I truly hope that someone out there can give me a pointer, cause I’m about to just give up. Reading and parsing a JSON file should NOT be this complicated EPIC. Even with blueprints.
Anyone that feel the call to give me pointers here, please feel free to.
Ohhh and for the UI, color, logo, etc… This is Pixotope. A Virtual production software for AR, VS and XR production. Softtware is base on UE 5.5 and is basically the same with a few extra bits made by them.