How to deserialize JSON into string Dictionary in ASP.NET/C# Core 1 (vNext)
Now that I’ve been coding in C# Core for a few weeks, I am discovering certain limitations and issues, like all engineers do, thus having to come up with my own solutions. Recently a friend told me he had issues deserializing JSON into string dictionary, which I’ve also had and solved recently.
Here I’d like to share a solution for deserializing JSON strings into single level Dictionary<string, string> and more complex 2-level Dictionary<string, Dictionary<string, string>>.
Here is my solution: