Answers for "JsonSerializer deserialize dictionary"

C#
0

asp.net core 3.1: cast jObject to dictionary<string,string>

string json = @"{""key1"":""value1"",""key2"":""value2""}";

var values = JsonConvert.DeserializeObject<Dictionary<string, string>>(json);
Posted by: Guest on March-24-2020

C# Answers by Framework

Browse Popular Code Answers by Language