{
'0': {
title: 'exampleTitle',
published: { date: 'exampleDate', time: 'exampleTime' }
}
}
// JSON.parse не берёт, поэтому
var your_object = eval(`({
'0': {
title: 'exampleTitle',
published: { date: 'exampleDate', time: 'exampleTime' }
}
})`);
for (k in your_object) {
var title = your_object[k].title;
var published_date = your_object[k].published.date, published_time = your_object[k].published.time;
}