For example, in a game, I want to store a player's progress information.
This user data is stored first:
{ "Worlds": [ { "Id": 1, "Levels": [ { "Id": 1, "Progress": 0 }, { "Id": 2, "Progress": 0 } ] }, { "Id": 2, "Levels": [ { "Id": 1, "Progress": 0 }, { "Id": 2, "Progress": 0 } ] } ] }
When he progresses, I would like to send this information to update only the progress of World 1 - Level 1
{ "Worlds": [ { "Id": 1, "Levels": [ { "Id": 1, "Progress": 500 } ] } ] }
Is it possible to achieve this result without having to get all the data from the server?
{ "Worlds": [ { "Id": 1, "Levels": [ { "Id": 1, "Progress": 500 <-- value updated }, { "Id": 2, "Progress": 0 } ] }, { "Id": 2, "Levels": [ { "Id": 1, "Progress": 0 }, { "Id": 2, "Progress": 0 } ] } ] }