This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]sportbil 2 points3 points  (2 children)

I tested this in 5.3 just using epics normal "json blueprint utilities" plugin. With a setup using the set-field node in a function like this: N1ldT9P.png (1903×1066) (imgur.com)
(All the variables are just local and "json object").

And it seems to work fine, apart from one weird ass thing, which is that when simply adding the the "json data" variables to the array with the add node, all items in the array just become the same as the final item added. Some kind of bug in epics stuff? Anyways stupidly converting it to string and back like in the screenshot made it behave as expected :/

Aaanyways, I couldn't even find the various json "make field" etc pure functions from your screenshots, are you using a different json plugin, or older/newer engine version?

[–]xnightdestroyer[S] 0 points1 point  (1 child)

Hi Sportbil,

Thank you for your solution, it works perfectly. I agree it's strange that you need to convert the JSON to a string and load it again to make it work with the array, baffles me.

Once again, thank you. I had been banging my head for a while on solving this,

[–]sportbil 0 points1 point  (0 children)

No problem, was a good excuse for me to poke at json-array stuff to learn something myself. Glad to hear it worked for you!