C#C
C#2y ago
Zigy

Problem with deserializing JSON file.

Hello there
I am trying to deserialize a JSON like the following:
{"[982367487645900, 504339357638715104]":["id"]}
Into an Dictionary<List<long>, List<string>>
But newtonsoft.json (Which is what I am using for deserializing the JSON file) says that it cannot convert a string into a collection
The string here being "[76561198801345900, 504332241820975104]"
Was this page helpful?