My JSON file:
[
{
"nome": "Marcos",
"pontos": 12,
"acesso": "2016-04-22T21:10:00.2874904-03:00"
},
{
"nome": "Felipe",
"pontos": 12,
"acesso": "2016-04-22T21:10:00.2904923-03:00"
},
{
"nome": "Augusto",
"pontos": 15,
"acesso": "2016-04-22T21:10:00.2909925-03:00"
},
{
"nome": "Augusto",
"pontos": 12,
"acesso": "2016-04-22T21:10:00.2909925-03:00"
}
]
The "nome" values must all be unique; which scan should I do? Go through the array and compare to see if it already exists? I'm currently using Newtonsoft.Json; is there any helper function for this?