So essentially I will be storing previous positions to my leaderboards in players internal player data. I'm curious what would be the better way to store them?
Player Data (Internal Data)
Option 1 (Leaderboard name to previous position map)
Key = Level 1 Completed Previous Position : Value = 131
Key = Level 2 Completed Previous Position : Value = 55
Key = Level 3 Completed Previous Position : Value = 200
Key = Level 4 Completed Previous Position : Value = 50
Key = Level 5 Completed Previous Position : Value = 400
Option 2 (Previous Positions key to json leaderboard name to previous position map)
Key = Previous Positions : Value = {
"Level 1 Completed":131
"Level 2 Completed":55
"Level 3 Completed":200
"Level 4 Completed":50
"Level 5 Completed":400
}
I'm primarily looking for pitfalls with key or value limits as well as best practices here. Also per usual whichever way would be best as far as cost goes would be great too.
Thanks in advance!
P.S. Here is some context for the question!