I'm wonder how to properly access to object of objects.I have JSON API, and I have to get some data from It. FYI I'm using VueJS but I think that's not important thing here.
{
    "name": "Foo Bar",
    "details": {
        "color": "black",
        "slug": "foobar",
        "author": "John",
        "material": "Plastic"
    }
}
How could I access for e.g to the slug ? Those data are stored into parent object called product (VueJS Dev Tools)
 
    