Answers for "convert json string to dictionary c#"

C#
0

c# json to dictionary

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

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

c# dictionary to json

return JsonConvert.SerializeObject( myDictionary );
Posted by: Guest on September-01-2021

Code answers related to "convert json string to dictionary c#"

C# Answers by Framework

Browse Popular Code Answers by Language