Here is the sample with my json after JSON.parse().
{
once: {
version: '20.04',
distributor: 'Ubuntu',
cpu_num: 2,
host_name: 'VM-12-3-ubuntu',
user_name: 'root'
},
time: { allsec: 1755353, day: 20},
mem: {
total_mem: 2035212,
used_mem: 572364,
free_mem: 161520,
},
// these [Object] is what i want to parse
cpu: { jiffies: [ [Object], [Object], [Object] ] },
net: [
{ name: 'eth0', rx: [Object], Tx: [Object] }
]
}
How to make these [Object] to be parse ?