Skip to content
Advertisement

fetch specifi data from json and store them in array using node js / Javascript

I am trying to fetch all the log details from this json object but the problem is this key always get changed

JavaScript

this is my json Object and I want fetch all the log which are present inside the json object and store them in one array like this

JavaScript

here user_1 user_2 get changed everytime and I wanted to tackle this scenario and fetch all the log in one array

Advertisement

Answer

JavaScript

I got it 🙂

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement