Struggling with a simple question as a beginner...
I am dealing with an object of objects:
monsters {
place1: {
monster1: { ... }
monster2: { ... }
}
place2: {
monster3: { ... }
monster4: { ... }
}
}
I need to access something like this - monsters.place1.monster1.X
However, the issue is that I have to refer to it as this.place1 (Vue.js data in components). So - monsters.this.place1.monster1.X - does not work
Any ideas on how to retrieve this information?
Appreciate your help :)