В названии белиберда, но это так.
Я компилирую проект - получаю исключение
Newtonsoft.Json.JsonSerializationException" в Newtonsoft.Json.dll
Исключение типа "Newtonsoft.Json.JsonSerializationException" возникло в Newtonsoft.Json.dll, но не было обработано в коде пользователя
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[vOverlay.Player][]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'user', line 1, position 8
Хорошо, я указал массив заменив List<Player> ply = JsonConvert.DeserializeObject<List<Player>>(json);
на List<Player>[] ply = JsonConvert.DeserializeObject<List<Player>[]>(json);
. Иии... Все тоже исключение...
p.s: В классе Player
есть вложенный класс user
потому что я его использую для двух функций, формат апи изменяется минимально - добавляется только коллекция "user"