Hello
In the dictionary object can I add subkeys values for a key? for example, a key named 'player' have 3 subkeys each with a different value and another key Enemy have also 3 subkeys for it:
Player
___hp:10
___attack: 5
___defense: 4
Enemy
___hp:5
___attack: 4
___defense: 3
In a json format that would be something like that I guess:
"player":[
{hp:10,
attack:5,
defense:4
}],
"enemy":[
{hp:5,
attack:4,
defense:3
}],
but if that's the correct format for C2 how should I get the hp value for player?
if not there is any way to accomplish that? I have a json file with many keys and subkeys to store into..