I would appreciate some assistance in a tricky task I have to complete.
I receive a long long string in a text file which look like this :
{"place":"1","points":"1783","pseudo":"player1"},
{"place":"2","points":"1675","pseudo":"player34"},
{"place":"3","points":"1671","pseudo":"player45"},
So this is a single string with about 3000 times the same pattern stuck together. (there are 3000 players)
I would need to parse this string to fill a simple structure like this
public struct RankedPlayer
{
public string Pseudo;
public int Place;
public int Point;
}
I don't find a easy way to do this. I start to struggle with RegEx but I don't know if it's a right approach.