Let's say I have an object like this:
{
"parametros": {
"carteira": "RG",
"taxaboleto": "0.00",
"multa": "0.00",
"juros": "0.00"
}
}
Is it possible that I can extract the item's name from the object? For example, the item "wallet": "RG", if I print on the screen as {{parametros.carteira}}
(in Vue) I can print the value, but what if I need the name 'carteira'
to be printed? How do I extract it?
Take into account that I do not know which object is coming, it might be that the items that are appearing are dynamic ...