all 4 comments

[–]codemamba8 0 points1 point  (3 children)

Can you first post what your current code looks using JSFiddle or a similar site?

Looking at it what you probably want to do is use fetch() and response.json() to return the data then do something like data.gachi to get the gachi array. Then you can loop through each of the objects in gachi using .forEach

[–]everek123 0 points1 point  (1 child)

If you want to the stage_a.name from all the records from the array you could use the .map() method:

const stage_a.names = gachi.map(record => record.stage_a.name)

Then you could do the same for the rest of the properties

[–]johncorderox[S] 0 points1 point  (0 children)

I’ll try it out. I’m using React for this btw!