I have an object that contains the value "error" that I need to extract.
[{"name":"Whats up","error":"Your name required!"}]
The inspector displays the object in this format:
[Object]
0: Object
error: "Your name required!"
name: "Whats up"
Is there a way to extract just the error message without knowing the names of the objects? I attempted Object.Object[0].error but it didn't work.