I have a response like this:
I want to display the name of each object inside this HTML:
{subjects.map((item, i) => (
Map over the keys of the object using Object.keys():
Object.keys()
{Object.keys(yourObject).map(function(key) { return Key: {key}, Value: {yourObject[key]}; })}